How to randomly extract pair reads from bam file?
How to randomly extract pair reads from bam file?
• 703 views
•
link
1 answer
see option -s of samtools view
--subsample FLOAT Keep only FLOAT fraction of templates/read pairs
--subsample-seed INT Influence WHICH reads are kept in subsampling [0]
-s INT.FRAC Same as --subsample 0.FRAC --subsample-seed INT
• 0 views
•
link
Log in to answer this question.