Question: Piping samtools merge to samtools calmd
0
gravatar for rubic
2.4 years ago by
rubic180
United States
rubic180 wrote:

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
pipe samtools • 891 views
ADD COMMENTlink written 2.4 years ago by rubic180

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 REPLYlink modified 2.4 years ago • written 2.4 years ago by Carlo Yague4.6k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 440 users visited in the last hour