Samtools Rmdup, file output empty
Hello,
I am trying to output a file that removed PCR duplicates by using rmdup command. My file is single-ends.
I put this into my terminal: samtools rdup [-s] input_path_file_directory > output_path_file_and_file_name.bam
It makes the file, the only thing is that the file is empty. Any ideas why?
Thanks
• 4,346 views
•
link
1 answer
samtools rmdup -s input.bam out.bam
input.bam must be sorted (samtools sort).
• 0 views
•
link
Log in to answer this question.
Are you using this command?
You don't need '
>' symbol to get the output bam.>explains empty output.Exactly :-)
Thank you! I overlooked that, and got the results I needed!