annotate SNP_density/calculateSlidingWindowsSNPdensitiesFromVCF.sh @ 10:c6640c49fd01 draft

planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
author dereeper
date Mon, 16 Apr 2018 09:00:24 -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