annotate SNP_density/calculateSlidingWindowsSNPdensitiesFromVCF.sh @ 6:ebb0ac9b6fa9 draft

planemo upload
author gandres
date Mon, 23 May 2016 17:49:17 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
1 #!/bin/bash
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
2
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
3 tool_path=$(dirname $0)
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
4 input=$1
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
5 fileout=$2
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
6 fileout_bysample=$3
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
7 step=$4
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
8
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
9 perl $tool_path/CalculateSlidingWindowsSNPdensitiesFromVCF.pl -i $input -o $fileout -s $step
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
10
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
11 cp $fileout.by_sample $fileout_bysample
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
12 rm $fileout.by_sample
ebb0ac9b6fa9 planemo upload
gandres
parents:
diff changeset
13