annotate SNP_density/calculateSlidingWindowsSNPdensitiesFromVCF.sh @ 12:88748d846a20 draft

planemo upload commit 11382afe87364aaafb19973470d5066229a6e34f
author dereeper
date Tue, 14 Aug 2018 08:21:55 -0400
parents ebb0ac9b6fa9
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