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/sh | |
# | |
CHROMSIZE_FILE=$1 | |
if [ -z "$CHROMSIZE_FILE" ] ; then | |
echo "Usage: $0 CHROMSIZE_FILE [ DATA_DIR ]" | |
exit | |
fi | |
if [ -z "$2" ] ; then | |
DATA_DIR=`pwd` | |
else |
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/sh | |
# | |
# Report disk usage | |
# | |
# Usage: usage.sh DIR | |
# | |
if [ $# -eq 0 ] ; then | |
echo "Usage: $0 DIR" | |
exit | |
fi |
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/env python | |
# | |
# Count and report the barcode tags in a fastq file from Illumina | |
# sequencing platform | |
# | |
import sys | |
import FASTQFile | |
fastq_file = sys.argv[1] | |
tags = {} | |
for read in FASTQFile.FastqIterator(fastq_file): |
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/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 |
NewerOlder