changeset 10:42bc59c7db3a draft

Uploaded
author romaingred
date Fri, 13 Oct 2017 04:20:17 -0400
parents 0ee4dadfdca3
children ee6b4b2072a9
files bin/align.pm
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/align.pm	Fri Oct 13 03:17:10 2017 -0400
+++ b/bin/align.pm	Fri Oct 13 04:20:17 2017 -0400
@@ -310,8 +310,8 @@
 		$bedgraphM = $1.'_minus.bedgraph';
 	}	
 	`samtools view -Shb   --threads $number_of_cpus $sam | samtools sort  -O BAM --threads $number_of_cpus  /dev/stdin  > $bam_sorted`;
-	`bedtools genomecov -scale $scale -strand + -bg -ibam $bam_sorted > $bedgraphP`;	
-	`bedtools genomecov -scale $scale -strand - -bg -ibam $bam_sorted > $bedgraphM`;
+	`bedtools genomecov -scale $scale -strand + -bga -ibam $bam_sorted > $bedgraphP`;	
+	`bedtools genomecov -scale $scale -strand - -bga -ibam $bam_sorted > $bedgraphM`;
 }
 
 sub sam_sorted_bam