Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTF file preparation for ICRG #1

Open
freekvh opened this issue Sep 4, 2018 · 1 comment
Open

GTF file preparation for ICRG #1

freekvh opened this issue Sep 4, 2018 · 1 comment

Comments

@freekvh
Copy link

freekvh commented Sep 4, 2018

Dear author,

The example code nicely shows how to generate a combined human/mouse reference fasta. In the next step I want to align my reads to this merged file using STAR. STAR prefers to also use a GTF file as input (so that it known where splice juntions are) so I was wondering, are there any examples on how to correctly merge the human and mouse GTF files so that they match the fasta files generated in the example code?

Highest regards.

@maurical
Copy link
Contributor

maurical commented Sep 9, 2018

Hi, thank you for your message!
For the GTF files, what you need to do is:

  • Download the latest GTFs from Ensembl
  • Convert "chr" format in mouse to "m.chr"
  • Combine the two GTFs (e.g. using cat)
  • Use STAR to generate index
    Hope this help

Maurizio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants