diff --git a/batchAlignment.pl b/batchAlignment.pl index ac3cf8b..a35b17f 100644 --- a/batchAlignment.pl +++ b/batchAlignment.pl @@ -29,7 +29,7 @@ my $sbatch_partition = "cuttlefish"; my $sbatch_time = "100:00:00"; my $sbatch_ntasks = 1; - my $sbatch_cpus = 32; + my $sbatch_cpus = 16; my $sbatch_name = "braintest"; @@ -117,7 +117,7 @@ ($$$$$) # count command my $file_count = $batch_job->{"path"}{"count"} . "/" . $batch_job->{"file"}{"count"}; - $command = "featureCounts -T $cpus -t exon -g gene_id -Q 255 -a " . $file_genome_annotation . " \$(ls " . $batch_job->{"path"}{"bam"} . "/*.bam) > " . $file_count; + $command = "featureCounts -T $cpus -t exon -g gene_id -Q 255 -a " . $file_genome_annotation . " -o " . $file_count . " \$(ls " . $batch_job->{"path"}{"bam"} . "/*.bam)"; print "echo featureCounts\n"; print $command,"\n"; }