Mercurial > repos > johnlees > poppunk
annotate tools/PopPUNK/poppunk_cluster.xml @ 3:a3613553c65f draft default tip
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846-dirty
author | johnlees |
---|---|
date | Thu, 16 May 2019 15:35:29 -0400 |
parents | 1d7ba8646dd1 |
children |
rev | line source |
---|---|
2
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
1 <tool id="poppunk_cluster" name="PopPUNK (cluster)" version="1.1.6"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
2 <description>Cluster bacterial genomes</description> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
3 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
4 <requirements> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
5 <requirement type="package" version="1.1.6">poppunk</requirement> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
6 </requirements> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
7 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
8 <version_command><![CDATA[ |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
9 poppunk --version |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
10 ]]></version_command> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
11 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
12 <command detect_errors="exit_code"><![CDATA[ |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
13 ##Set up input files |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
14 ##echo "$input_assemblies" | tr ',' '\n' > r_files.txt |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
15 #for $input in $input_assemblies |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
16 ln -s $input $input.element_identifier && echo $input.element_identifier >> r_files.txt; |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
17 #end for |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
18 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
19 ## command line 1 (create db) |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
20 echo " |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
21 poppunk |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
22 --create-db |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
23 --r-files r_files.txt |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
24 --output poppunk_db |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
25 --threads \${GALAXY_SLOTS:-1} |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
26 --min-k $min_k |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
27 --max-k $max_k |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
28 --k-step $k_step |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
29 --sketch-size $sketch_size |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
30 --max-a-dist $max_a_dist |
3
a3613553c65f
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846-dirty
johnlees
parents:
2
diff
changeset
|
31 #if $ignore_length |
a3613553c65f
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846-dirty
johnlees
parents:
2
diff
changeset
|
32 --ignore-length |
2
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
33 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
34 --no-stream |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
35 " > poppunk_1.sh |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
36 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
37 && sh poppunk_1.sh |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
38 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
39 ## command line 2 (fit model) |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
40 && echo " |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
41 poppunk |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
42 --fit-model |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
43 --distances poppunk_db/poppunk_db.dists |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
44 --ref-db poppunk_db |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
45 --output poppunk_db |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
46 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
47 ## mode |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
48 #if str( $model.model_mode ) == "gmm": |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
49 --K ${model.K} |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
50 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
51 #if str( $model.model_mode ) == "dbscan": |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
52 --dbscan |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
53 --D $model.D |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
54 --min-cluster-prop $model.min_cluster_prop |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
55 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
56 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
57 #if not $no_full_db or $refine.refine_model |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
58 --full-db |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
59 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
60 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
61 #if not $refine.refine_model: |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
62 #if $external_clusters |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
63 --external-clustering $external_clusters |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
64 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
65 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
66 ## viz |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
67 #if $cytoscape: |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
68 --cytoscape |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
69 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
70 #if $viz.microreact: |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
71 --microreact |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
72 --rapidnj rapidnj |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
73 --perplexity $viz.perplexity |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
74 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
75 #if ($cytoscape or $viz.microreact) and $info_csv: |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
76 --info-csv $info_csv |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
77 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
78 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
79 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
80 " > poppunk_2.sh |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
81 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
82 && sh poppunk_2.sh |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
83 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
84 ## command line 3 (refine) |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
85 #if $refine.refine_model: |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
86 && echo " |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
87 poppunk |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
88 --refine-model |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
89 --distances poppunk_db/poppunk_db.dists |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
90 --ref-db poppunk_db |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
91 --output poppunk_db |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
92 --threads \${GALAXY_SLOTS:-1} |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
93 --pos-shift $refine.pos_shift |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
94 --neg-shift $refine.neg_shift |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
95 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
96 #if not $no_full_db |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
97 --full-db |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
98 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
99 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
100 #if $external_clusters |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
101 --external-clustering $external_clusters |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
102 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
103 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
104 ## viz |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
105 #if $cytoscape: |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
106 --cytoscape |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
107 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
108 #if $viz.microreact: |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
109 --microreact |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
110 --rapidnj rapidnj |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
111 --perplexity $viz.perplexity |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
112 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
113 #if ($cytoscape or $viz.microreact) and $info_csv: |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
114 --info-csv $info_csv |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
115 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
116 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
117 " > poppunk_3.sh |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
118 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
119 && sh poppunk_3.sh; |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
120 #end if |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
121 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
122 ]]></command> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
123 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
124 <inputs> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
125 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
126 <!-- input files --> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
127 <param name="input_assemblies" type="data" format="fasta" multiple="true" label="FASTA datasets (assemblies)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
128 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
129 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
130 <!-- model type --> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
131 <conditional name="model"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
132 <param name="model_mode" type="select" label="Choose a model to use" help="See documentation or description below for advice, if default does not work." display="radio"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
133 <option value="gmm" selected="true">GMM</option> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
134 <option value="dbscan">DBSCAN</option> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
135 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
136 <!-- model options --> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
137 <when value="gmm"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
138 <param name="K" type="integer" value="3" min="2" max="10" label="Number of mixture components"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
139 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
140 </when> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
141 <when value="dbscan"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
142 <param name="D" type="integer" value="100" min="2" max="500" label="Maximum number of spatial clusters"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
143 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
144 <param name="min_cluster_prop" type="float" value="0.0001" min="0.00001" max="0.1" label="Minimum proportion of points in a cluster"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
145 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
146 </when> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
147 </conditional> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
148 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
149 <!-- refine model options --> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
150 <conditional name="refine"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
151 <param name="refine_model" type="boolean" checked="false" label="Run model refinement after model fit"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
152 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
153 <when value="true"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
154 <param name="pos_shift" type="float" value="0.2" min="0.0" max="1.0" label="Maximum amount to move the boundary away from origin"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
155 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
156 <param name="neg_shift" type="float" value="0.4" min="0.0" max="1.0" label="Minimum amount to move the boundary away from origin"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
157 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
158 </when> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
159 <when value='false' /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
160 </conditional> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
161 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
162 <!-- further analysis options --> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
163 <conditional name="viz"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
164 <param name="microreact" type="boolean" checked="true" label="Make visualisations for microreact (recommended)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
165 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
166 <when value="true"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
167 <param name="perplexity" type="float" value="20.0" min="5.0" max="100.0" label="Perplexity parameter for accessory plot t-SNE"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
168 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
169 </when> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
170 <when value='false' /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
171 </conditional> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
172 <param name="cytoscape" type="boolean" checked="false" label="Make visualisations for cytoscape"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
173 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
174 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
175 <!-- output options --> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
176 <param name="no_full_db" type="boolean" checked="true" label="Select representative references"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
177 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
178 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
179 <param name="external_clusters" type="data" format="csv" optional="true" label="External cluster labels to add (e.g. MLST/serotype)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
180 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
181 <param name="info_csv" type="data" format="csv" optional="true" label="Epidemiological information CSV formatted for microreact"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
182 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
183 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
184 <!-- kmer comparison options --> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
185 <param name="min_k" type="integer" value="13" min="7" max="31" label="Minimum k-mer length"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
186 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
187 <param name="max_k" type="integer" value="29" min="7" max="31" label="Maximum k-mer length"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
188 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
189 <param name="k_step" type="integer" value="3" min="2" max="5" label="Step size between k-mer lengths"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
190 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
191 <param name="sketch_size" type="integer" value="10000" min="1000" max="2000000" label="Sketch size"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
192 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
193 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
194 <!-- quality control options --> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
195 <param name="max_a_dist" type="float" value="0.5" min="0.0" max="1.0" label="Maximum accessory distance to permit"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
196 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
197 <param name="ignore_length" type="boolean" checked="false" label="Ignore assembly length outliers"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
198 </param> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
199 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
200 </inputs> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
201 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
202 <outputs> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
203 <data name="clusters" format="csv" from_work_dir="poppunk_db/poppunk_db_clusters.csv" label="${tool.name} on ${on_string} (cluster assignment)" /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
204 <data name="distances" format="png" from_work_dir="poppunk_db/poppunk_db_distanceDistribution.png" label="${tool.name} on ${on_string} (distance plot)" /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
205 <data name="references" format="txt" from_work_dir="poppunk_db/poppunk_db.refs" label="${tool.name} on ${on_string} (selected references)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
206 <filter>no_full_db == True</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
207 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
208 <data name="gmm_plot" format="png" from_work_dir="poppunk_db/poppunk_db_DPGMM_fit.png" label="${tool.name} on ${on_string} (GMM cluster plot)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
209 <filter>model['model_mode'] == 'gmm'</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
210 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
211 <data name="gmm_contours" format="pdf" from_work_dir="poppunk_db/poppunk_db_DPGMM_fit_contours.pdf" label="${tool.name} on ${on_string} (GMM contour plot)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
212 <filter>model['model_mode'] == 'gmm'</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
213 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
214 <data name="dbscan_plot" format="png" from_work_dir="poppunk_db/poppunk_db_dbscan.png" label="${tool.name} on ${on_string} (DBSCAN cluster plot)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
215 <filter>model['model_mode'] == 'dbscan'</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
216 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
217 <data name="refine_plot" format="png" from_work_dir="poppunk_db/poppunk_db_refined_fit.png" label="${tool.name} on ${on_string} (refine model plot)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
218 <filter>refine['refine_model'] == True</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
219 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
220 <data name="cytoscape_network" format="data" from_work_dir="poppunk_db/poppunk_db_cytoscape.graphml" label="${tool.name} on ${on_string} (cytoscape network)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
221 <filter>cytoscape == True</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
222 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
223 <data name="cytoscape_clusters" format="csv" from_work_dir="poppunk_db/poppunk_db_cytoscape.csv" label="${tool.name} on ${on_string} (cytoscape csv)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
224 <filter>cytoscape == True</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
225 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
226 <data name="microreact_clusters" format="csv" from_work_dir="poppunk_db/poppunk_db_microreact_clusters.csv" label="${tool.name} on ${on_string} (microreact csv)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
227 <filter>viz['microreact'] == True</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
228 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
229 <data name="microreact_tree" format="newick" from_work_dir="poppunk_db/poppunk_db_core_NJ.nwk" label="${tool.name} on ${on_string} (microreact tree)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
230 <filter>viz['microreact'] == True</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
231 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
232 <data name="microreact_dot" format="graph_dot" from_work_dir="poppunk_db/poppunk_db_perplexity${perplexity}_accessory_tsne.dot" label="${tool.name} on ${on_string} (microreact dot)"> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
233 <filter>viz['microreact'] == True</filter> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
234 </data> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
235 </outputs> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
236 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
237 <tests> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
238 <test> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
239 <param name='input_assemblies' value='12673_8_24.contigs_velvet.fa,12673_8_34.contigs_velvet.fa,12673_8_43.contigs_velvet.fa,12754_4_71.contigs_velvet.fa,12754_4_77.contigs_velvet.fa' /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
240 <param name='model_mode' value='gmm' /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
241 <param name='K' value='4' /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
242 <param name='microreact' value='false' /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
243 <param name='no_full_db' value='false' /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
244 <output name="clusters" ftype='csv' file="clusters.csv" /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
245 <output name="distances" ftype='png' file="distances.png" /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
246 <output name="references" file="refs.txt" /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
247 <output name="gmm_plot" ftype='png' file="gmm_fit.png" /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
248 <output name="gmm_contours" ftype='pdf' file="gmm_contours.pdf" /> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
249 </test> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
250 </tests> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
251 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
252 <help><![CDATA[ |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
253 **What it does** |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
254 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
255 PopPUNK will calculate core and accessory distance between input assemblies using variable length k-mers. A model will be fitted to all of these distances to determine genetic clusters for all inpits. |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
256 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
257 ------ |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
258 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
259 **Description** |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
260 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
261 The most important thing to check is that in the output plot the component (blob) closest to the origin has been correctly identified - this should be checked in the cluster/model plot output. If it has not, you may wish to try another model. Some broad advice: |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
262 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
263 * DBSCAN is a good default, but may lead to unclassified points (black). If there are a large number of these consider another model. |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
264 * GMM will work well with well-separated components and an appropriate choice of K (consider increasing it based on the number of components that can be seen). |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
265 * The refine mode should be added in recombining species, which can be seen from the output plots if the coloured components are overlapping, or if there is a blur of points rather than discrete blobs of points.. |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
266 ]]></help> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
267 |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
268 <citations> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
269 <citation type='bibtex'> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
270 @article{Lees01022019, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
271 author = {Lees, John A. and Harris, Simon R. and Tonkin-Hill, Gerry and Gladstone, Rebecca A. and Lo, Stephanie W. and Weiser, Jeffrey N. and Corander, Jukka and Bentley, Stephen D. and Croucher, Nicholas J.}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
272 title = {Fast and flexible bacterial genomic epidemiology with PopPUNK}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
273 volume = {29}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
274 number = {2}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
275 pages = {304-316}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
276 year = {2019}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
277 doi = {10.1101/gr.241455.118}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
278 abstract ={The routine use of genomics for disease surveillance provides the opportunity for high-resolution bacterial epidemiology. Current whole-genome clustering and multilocus typing approaches do not fully exploit core and accessory genomic variation, and they cannot both automatically identify, and subsequently expand, clusters of significantly similar isolates in large data sets spanning entire species. Here, we describe PopPUNK (Population Partitioning Using Nucleotide K-mers), a software implementing scalable and expandable annotation- and alignment-free methods for population analysis and clustering. Variable-length k-mer comparisons are used to distinguish isolates’ divergence in shared sequence and gene content, which we demonstrate to be accurate over multiple orders of magnitude using data from both simulations and genomic collections representing 10 taxonomically widespread species. Connections between closely related isolates of the same strain are robustly identified, despite interspecies variation in the pairwise distance distributions that reflects species’ diverse evolutionary patterns. PopPUNK can process 103–104 genomes in a single batch, with minimal memory use and runtimes up to 200-fold faster than existing model-based methods. Clusters of strains remain consistent as new batches of genomes are added, which is achieved without needing to reanalyze all genomes de novo. This facilitates real-time surveillance with consistent cluster naming between studies and allows for outbreak detection using hundreds of genomes in minutes. Interactive visualization and online publication is streamlined through the automatic output of results to multiple platforms. PopPUNK has been designed as a flexible platform that addresses important issues with currently used whole-genome clustering and typing methods, and has potential uses across bacterial genetics and public health research.}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
279 URL = {http://genome.cshlp.org/content/29/2/304.abstract}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
280 eprint = {http://genome.cshlp.org/content/29/2/304.full.pdf+html}, |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
281 journal = {Genome Research} |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
282 }</citation> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
283 </citations> |
1d7ba8646dd1
planemo upload for repository https://github.com/johnlees/PopPUNK_galaxy/tree/master/PopPUNK commit a543b2e4a4e95808997d2d5423f9232d1c517846
johnlees
parents:
diff
changeset
|
284 </tool> |