Piping samtools merge to samtools calmd
0
1
Entering edit mode
7.1 years ago
rubic ▴ 270

Hi,

Suppose I have 2 bam files: left.bam and right.bam that I want to merge and then pipe the outputed merged file to samtools calmd with a ref.fasta file. Will the appropriate command be:

samtools -n - left.bam right.bam | samtools calmd -b - ref.fasta
samtools pipe • 3.0k views
ADD COMMENT
1
Entering edit mode

You forgot the "merge" but other than that, I don't see anything wrong in that cmd. Does it work ?

samtools merge -n - left.bam right.bam | samtools calmd -b - ref.fasta
ADD REPLY

Login before adding your answer.

Traffic: 1511 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