Skip to content

Instantly share code, notes, and snippets.

@lancelothk
Created August 13, 2014 03:53
Show Gist options
  • Save lancelothk/7ff6ad8ac5e3d237330f to your computer and use it in GitHub Desktop.
Save lancelothk/7ff6ad8ac5e3d237330f to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ ! -d "$3" ]; then
mkdir $3
fi
for file in $2/*
do
outputFile=${file/$2/$3}
#echo "perl $1/fastq2fasta_out.pl $file ${outputFile/fastq/fasta}"
perl $1/fastq2fasta_out.pl $file ${outputFile}.fasta
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment