annotate SNP_density/calculateSlidingWindowsSNPdensitiesFromVCF.sh @ 15:31c23d943c29 draft default tip

Uploaded
author dereeper
date Tue, 08 Jan 2019 08:47:56 -0500
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