Skip to content

Instantly share code, notes, and snippets.

@terrymun
Created November 27, 2016 22:05
Show Gist options
  • Save terrymun/db98b4e869d82948bfa383cdcf01ac43 to your computer and use it in GitHub Desktop.
Save terrymun/db98b4e869d82948bfa383cdcf01ac43 to your computer and use it in GitHub Desktop.
Create job scripts iteratively for each FASTA file for InterProScan
#!/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