Open tseemann opened 5 years ago
FYI, the samtools view is not needed since version 1.3 (or earlier possibly)
java -jar build/libs/bazam.jar -bam my.bam | \ bwa mem -p ref.fa - | \ samtools view -bSu - | \ samtools sort -o out.bam
Can be done as:
java -jar build/libs/bazam.jar -bam my.bam | \ bwa mem -p ref.fa - | \ samtools sort > out.bam
Much speed can be gained by using sort --threads X and --memory Xm too.
sort --threads X and --memory Xm
Thanks - will update docs!
FYI, the samtools view is not needed since version 1.3 (or earlier possibly)
Can be done as:
Much speed can be gained by using
sort --threads X and --memory Xm
too.