https://github.com/soccin/S1Seq
Tip revision: d20bd0842b704a575239c45f4df717293501b888 authored by Nicholas D. Socci on 16 October 2016, 18:16:31 UTC
Added MEMSIZE for mouse mapping removed -We
Added MEMSIZE for mouse mapping removed -We
Tip revision: d20bd08
processMapFile.sh
#!/bin/bash
SDIR="$( cd "$( dirname "$0" )" && pwd )"
if [ "$#" -ne 2 ]; then
echo "usage processMapFile.sh GENOME MAPPING_FILE"
exit
fi
GENOME=$1
MAPPING=$2
for sample in $(cat $MAPPING | cut -f2 | sort | uniq); do
echo $sample;
cat $MAPPING | awk -v S=$sample '$2==S{print $4}' \
| xargs bsub -o LSF.CONTROL/ -J S1Seq__${sample}__$(basename $MAPPING | sed 's/_sample_map.*//') \
-R "rusage[iounits=0,mem=1]" \
$SDIR/pipe.sh $GENOME $sample
done