Entering edit mode
2.7 years ago
Tao
▴
40
How to randomly extract pair reads from bam file?
How to randomly extract pair reads from bam file?
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
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.