X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=examples%2FMakefile;h=ec976aedecf120c62a997580832e39c40d9748ac;hb=0993e913dc402cbb11783bf5d3f96eed1c437e06;hp=2733a573ffbecc5a33599bb9e7425b7f9d3be994;hpb=8a994c1783c189bcf23777ca911c4b0eeeb66d1e;p=samtools.git diff --git a/examples/Makefile b/examples/Makefile index 2733a57..ec976ae 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -45,4 +45,6 @@ calDepth:../libbam.a calDepth.c clean: rm -fr *.bam *.bai *.glf* *.fai *.pileup* *~ calDepth *.dSYM ex1*.rg ex1.bcf -# ../samtools pileup ex1.bam|perl -ape '$_=$F[4];s/(\d+)(??{".{$1}"})|\^.//g;@_=(tr/A-Z//,tr/a-z//);$_=join("\t",@F[0,1],@_)."\n"' \ No newline at end of file +# ../samtools pileup ex1.bam|perl -ape '$_=$F[4];s/(\d+)(??{".{$1}"})|\^.//g;@_=(tr/A-Z//,tr/a-z//);$_=join("\t",@F[0,1],@_)."\n"' + +# ../samtools pileup -cf ex1.fa ex1.bam|perl -ape '$_=$F[8];s/\^.//g;s/(\d+)(??{".{$1}"})|\^.//g;@_=(tr/A-Za-z//,tr/,.//);$_=join("\t",@F[0,1],@_)."\n"' \ No newline at end of file