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
However, when I use the --paired option (on the same data) I receive the following error:
xenomapper --primary_bam "$PRIMARY".merged.dedup.rnsort.test.bam --secondary_bam "$SECONDARY".merged.dedup.rnsort.test.bam --primary_specific >(samtools view -bS - > "$PRIMARY"-specific.bam) --secondary_specific >(samtools view -bS - > "$SECONDARY"-specific.bam) --unassigned >(samtools view -bS - > "$DIR$SAMPLE"-unassigned.bam) --paired
Traceback (most recent call last):
File "/home/561/lo6532/.local/bin/xenomapper", line 8, in <module>
sys.exit(main())
File "/home/561/lo6532/.local/lib/python3.7/site-packages/xenomapper/xenomapper.py", line 729, in main
tag_func=tag_func)
File "/home/561/lo6532/.local/lib/python3.7/site-packages/xenomapper/xenomapper.py", line 398, in main_paired_end
for line1,line2 in readpairs:
File "/home/561/lo6532/.local/lib/python3.7/site-packages/xenomapper/xenomapper.py", line 80, in getBamReadPairs
assert line1[0] == line2[0]
AssertionError
I should also mention, after running xenomapper the primary_specific bam file is returning only single reads which seems strange . Are you able to comment on this?
Any help would be greatly appreciated :) Thanks!
The text was updated successfully, but these errors were encountered:
The error here is indicating the the expected interleaved forward and reverse reads is not occuring in the bam. Most frequently this is due to supplementary alignments. Try filtering to only primary alignments with samtools view -F 256 input.bam and see if that fixes your issue. Another alternative is that you may have reads that do not have a pair in your data. To keep only correctly mapping pairs use samtools view -f 2 input.bam
Hello,
I have successfully ran xenomapper on xenograft PE WGS data aligned using bwa mem hs37d5 (primary) and mm10 (secondary):
However, when I use the --paired option (on the same data) I receive the following error:
I should also mention, after running xenomapper the primary_specific bam file is returning only single reads which seems strange . Are you able to comment on this?
Any help would be greatly appreciated :) Thanks!
The text was updated successfully, but these errors were encountered: