When using the following command:
samtools calmd -b <mybam>.bam hs37d5.fa | samtools view -h - | pmdtools --deamination --range 10 --UDGhalf -n 10000 > <mybam>.cpg.range.txt
The following error occurs
samtools view: writing to standard output failed: Broken pipe
samtools view: error closing standard output: -1
[E::bgzf_flush] File write failed (wrong size)
samtools calmd: failed to write to output file: Broken pipe
[E::bgzf_close] File write failed
However the txt file is still created.
When removing -n parameter, the command completes correctly.
Versions: samtools 1.9
PMDtools version 0.60 (installed via bioconda)
[Note than pmdtools --version for this install still reports 0.5]
When using the following command:
The following error occurs
However the txt file is still created.
When removing
-nparameter, the command completes correctly.Versions: samtools 1.9
PMDtools version 0.60 (installed via bioconda)
[Note than
pmdtools --versionfor this install still reports 0.5]