Skip to content

Instantly share code, notes, and snippets.

@pjbriggs
Created January 21, 2013 15:54
Show Gist options
  • Save pjbriggs/4587003 to your computer and use it in GitHub Desktop.
Save pjbriggs/4587003 to your computer and use it in GitHub Desktop.
Example script for generating sequence alignment files (.nib) using faToNib submitted to a Grid Engine cluster
#!/bin/sh
#
# make_nibs.sh
#
chroms=`ls chr*.fa`
for chrom in $chroms; do
echo $chrom
nib=${chrom%.*}.nib
qsub -cwd -V -b y faToNib $chrom $nib
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment