annotate preclassification-wrapper.sh @ 8:35f9b833e12b draft default tip

planemo upload commit 2774930eebe258ecd56c8f1c5ddabf5092282ab9
author bcclaywell
date Mon, 12 Oct 2015 16:09:02 -0400
parents 5f0648f799a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
1 #!/bin/bash
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
2
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
3 source $(dirname $0)/util.sh
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
4 source $1
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
5
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
6 PLACED_SEQS=$(extify jplace ${PLACED_SEQS})
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
7 NBC_SEQS=$(extify fasta ${NBC_SEQS})
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
8
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
9 guppy redup \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
10 -m \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
11 -d ${DEDUP_INFO} \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
12 -o ${REDUPED_SEQS} \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
13 ${PLACED_SEQS}
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
14
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
15 REDUPED_SEQS=$(extify jplace ${REDUPED_SEQS})
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
16
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
17 rppr prep_db \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
18 -c ${REFPKG} \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
19 --sqlite ${CLASS_DB}
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
20
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
21 guppy classify \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
22 -c ${REFPKG} \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
23 -j ${GALAXY_SLOTS:-4} \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
24 --pp \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
25 --sqlite ${CLASS_DB} \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
26 --classifier hybrid2 \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
27 --nbc-sequences ${NBC_SEQS} \
4
5f0648f799a9 Uploaded
bcclaywell
parents: 0
diff changeset
28 ${PLACED_SEQS}
0
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
29
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
30 multiclass_concat.py --dedup-info ${DEDUP_INFO} ${CLASS_DB}