Skip to content

Commit

Permalink
Update marcie.sh
Browse files Browse the repository at this point in the history
fixed mapping quality filtering according to provided option
  • Loading branch information
alexvasilikop authored Aug 3, 2023
1 parent 62c280f commit a174f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marcie.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ cat list_of_SeqIDs.txt| while read SeqID;do

#filter reads with mapping quality <10
echo -e "\n### Filtering reads with mapping quality < 10\nmappingID:\t$mappingID\nMinimal Mapping Quality:\t$MQ"
sambamba view -t $threads -f bam -h -F "mapping_quality >= 10" $mappingID.sorted.bam -o $mappingID.sorted.MQ$MQ.bam
sambamba view -t $threads -f bam -h -F "mapping_quality >= $MQ" $mappingID.sorted.bam -o $mappingID.sorted.MQ$MQ.bam

#mark duplicates (necessary for variant calling)
echo -e "\n### Mark duplicates with Picard\nmappingID:\t$mappingID\n"
Expand Down

0 comments on commit a174f1b

Please sign in to comment.