Skip to content

Instantly share code, notes, and snippets.

@alexharkess
Created January 5, 2015 23:02
Show Gist options
  • Save alexharkess/e885dc6f05f3649eec25 to your computer and use it in GitHub Desktop.
Save alexharkess/e885dc6f05f3649eec25 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use strict;
use warnings;
my @fastqs = <*fastq.gz>;
my $files = join (" ", @fastqs);
open OUT, '>', "all_fastqc.sh";
print OUT "#!/bin/bash\n";
print OUT "/usr/local/fastqc/latest/fastqc -f fastq -t 3 $files\n";
close OUT;
system "qsub -q rcc-30d -cwd -pe thread 3 -l mem_total=20G ./all_fastqc.sh";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment