view sort_bam.sh @ 27:91f05fd5f5f2

toolshed perl, older 091 commit, two occure
author biomonika <biomonika@psu.edu>
date Fri, 12 Sep 2014 00:34:58 -0400
parents 0c7f60054ee3
children
line wrap: on
line source

#!/bin/bash
results=$1;
bam_file=$2;

hash samtools 2>/dev/null || { echo "I require samtools in path but it's not installed.  Aborting."; exit 1; }
echo "LINKYX_PATH:" $LINKYX_PATH
echo "SAMTOOLS:" $SAMTOOLS
echo "PATH:" $PATH
samtools sort $bam_file $results 2>log.txt