Hi,
I got an error code with ""SAM/BAM file not sorted by queryname (samtools sort -n)", although all my bam files were properly sorted. When i tried stdin as the input file using a pipe (samtools sort -n | Genrich -t - -o ) , I got an error code with "Cannot pipe in gzip-compressed file (use zcat instead)". Thus I used samtools output option to the SAM format (adding '-O SAM' option to the samtools sort command), I finally got the narrowPeak file!
It seems likely to me that the Genrich cannot handle bam files at all in my system. Could you please tell me how can I fix this problem? Thanks in advance!
Hi, I got an error code with ""SAM/BAM file not sorted by queryname (samtools sort -n)", although all my bam files were properly sorted. When i tried stdin as the input file using a pipe (samtools sort -n | Genrich -t - -o ) , I got an error code with "Cannot pipe in gzip-compressed file (use zcat instead)". Thus I used samtools output option to the SAM format (adding '-O SAM' option to the samtools sort command), I finally got the narrowPeak file!
It seems likely to me that the Genrich cannot handle bam files at all in my system. Could you please tell me how can I fix this problem? Thanks in advance!