Created
November 27, 2016 22:05
-
-
Save terrymun/db98b4e869d82948bfa383cdcf01ac43 to your computer and use it in GitHub Desktop.
Create job scripts iteratively for each FASTA file for InterProScan
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 | |
shopt -s nullglob | |
for fasta in $(find `pwd` -type f -name "*.fa" | sort) | |
do | |
# Create your jobscript here. | |
# And the command you should run in your jobscript: | |
# /path/to/interproscan.sh -i $fasta -dp -iprlookup --goterms --pathways | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment