How to randomly extract pair reads from bam file?
1
0
Entering edit mode
2.7 years ago
Tao ▴ 40

How to randomly extract pair reads from bam file?

sam bam • 465 views
ADD COMMENT
0
Entering edit mode
2.7 years ago

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
ADD COMMENT

Login before adding your answer.

Traffic: 2736 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6