This package computes informative enrichment and quality measures for ChIP-seq/DNase-seq/FAIRE-seq/MNase-seq data. It can also be used to obtain robust estimates of the predominant fragment length or characteristic tag shift values in these assays.
Hello,
The conversion from BAM to tagAlign is not working for me. It gives me the following error: awk: line 2: function and never defined. Any ideas? I'm sure I'm just forgetting something in the command line...
Hello, The conversion from BAM to tagAlign is not working for me. It gives me the following error:
awk: line 2: function and never defined
. Any ideas? I'm sure I'm just forgetting something in the command line...samtools view -F 0x0204 -o - CNVR192.R1.filtered01.bam | awk 'BEGIN{OFS="\t"}{if (and($2,16) > 0) {print $3,($4-1),($4-1+length($10)),"N","1000","-"} else {print $3,($4-1),($4-1+length($10)),"N","1000","+"} }' | gzip -c > CNVR192.tagAlign.gz
Thanks. Rita