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

second mapping pass #7

Open
GoogleCodeExporter opened this issue Jan 26, 2016 · 1 comment
Open

second mapping pass #7

GoogleCodeExporter opened this issue Jan 26, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi,

I'm trying to figure out how to run a second mapping pass, as described in the 
paper

"It is also possible to run a second mapping pass, supplying it with splice 
junction loci found in the first mapping pass. In this case, STAR will not 
discover any new junctions but will align spliced reads with short overhangs 
across the previously detected junctions." (Dobin et al., 2012)

I didt found any examples so I don't understand how to run it...

thanks in advance


M.





Original issue reported on code.google.com by [email protected] on 25 Jun 2013 at 9:15

@GoogleCodeExporter
Copy link
Author

Hi Mauro,

for a quicker response, please post your questions at the STAR google group 
(https://groups.google.com/forum/?fromgroups=#!forum/rna-star).

The 2-pass scheme is not automated at the moment. I have attached a simple 
script with an example of a 2-pass run.
You would need to run the 1st pass with usual parameters, than use the 
SJ.out.tab as a splice junction database file to generate a new genome index 
for STAR, and then run the 2nd pass of STAR with the new genome index. You can 
also add annotated junctions to the 1st and 2nd passes.

If you have many samples, you can collect all the novel junctions from all the 
samples (SJ.out.tab files), possibly filter them for reliability, and create 
one common set of novel junctions for all samples by merging them. Then you 
generate a new genome using annotated junctions and the common set of novel 
junctions, and re-run all the samples with this new genome - this would be the 
2-nd pass. 

Original comment by [email protected] on 6 Jul 2013 at 3:14

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Attachments:

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

No branches or pull requests

1 participant