view sort_bam.sh @ 4:0979980b5bdc

edited README file
author biomonika <biomonika@psu.edu>
date Fri, 20 Feb 2015 14:50:31 -0500
parents 0d8315be76b7
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