Output unmapped reads to a file when using tophat2
1
0
Entering edit mode
9.8 years ago
biolab ★ 1.4k

Hi, everyone,

I am using tophat2 for reads mapping. I know there is a--un option in bowtie2 to write unmapped reads to a file. However, I don't know if tophat2 has similar option (at least I did not find this option in the manual). Could anyone who has expertise on mapping give me a solution?

Another question I want to raise is: can I set large intron size? The default --max-segment-intron option is set to 500,000, if I increase it to 10,000,000, will this decrease speed a lot?

Thank you very much for any of your suggestions!

tophat2 • 3.0k views
ADD COMMENT
1
Entering edit mode
9.8 years ago
iraun 6.2k
  • Question 1. Tophat2 output has a file named unmapped.bam which contains unmapped reads, is this what you are looking for?
  • Question 2: I guess that the speed should not be affected very much, but I've never try a value such high as 10,000,000. I think that the only solution is to try and see. Sorry if this is not the answer you would like to have :).
ADD COMMENT
1
Entering edit mode

Hi airan,

Thanks a lot for your answer. For Question1, actually I did not mean unmapped.bam. I want to get a fastq file. Anyway, I can retrieve the reads ids, and then get sequences. For Question2, I agree to try it. Thanks.

ADD REPLY

Login before adding your answer.

Traffic: 2469 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6