Created
August 13, 2014 03:53
-
-
Save lancelothk/7ff6ad8ac5e3d237330f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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