You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, really appreciate your work and the available teaching material.
I have been getting this strange problem when trying to work with SAM files for downstream steps. Samtools view errors out saying there are duplicated entries in the SAM header.
Here are the diagnostics I ran:
I double checked my reference to make sure all the headers were unique.
I built the index and ran the alignment three times.
I checked to see if I had reference entries with different headers, but the same sequence. I did find a few, but these were not the headers showing up as duplicates.
In the SAM file, it appears that all my reads are also being mapped twice to these duplicated headers.
These are the commands I ran to build the index and do the alignment:
The text was updated successfully, but these errors were encountered:
DeadlineWasYesterday
changed the title
Reference entries having separate headers show up as duplicates
Some reference entries show up as duplicates
Jul 13, 2022
Hmm. I think I have traced the source of the problem. I ran multiple (too many) instances of bowtie using different combinations of flags to see if it was any of the flags that was causing the problem. Then I was wondering whether the memory buffer on the HPC was generating the same results in spite of me changing the files (The m7b.fa file did previously have duplicate headers). So I switched to a different computer node and ran bowtie again, but the problem was still there.
Then I tried changing the computer node and building the index again, and that apparently solved the problem.
TL;DR: I believe it was the memory buffer. The program is fine.
Hi Ben,
First off, really appreciate your work and the available teaching material.
I have been getting this strange problem when trying to work with SAM files for downstream steps. Samtools view errors out saying there are duplicated entries in the SAM header.
Here are the diagnostics I ran:
These are the commands I ran to build the index and do the alignment:
Surely, this is not normal?
The text was updated successfully, but these errors were encountered: