annotate SNP_density/calculateSlidingWindowsSNPdensitiesFromHapmap.sh @ 1:420b57c3c185 draft

Uploaded
author dereeper
date Fri, 10 Jul 2015 04:39:30 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
1 #!/bin/bash
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
2
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
3 tool_path=$(dirname $0)
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
4 hapmap=$1
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
5 fileout=$2
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
6 fileout_bysample=$3
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
7 step=$4
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
8
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
9 perl $tool_path/CalculateSlidingWindowsSNPdensitiesFromHapmap.pl -i $hapmap -o $fileout -s $step
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
10
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
11 cp $fileout.by_sample $fileout_bysample
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
12 rm $fileout.by_sample
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
13