annotate cactus_cactus.xml @ 0:85f68b344286 draft

"planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
author galaxy-australia
date Mon, 04 Apr 2022 06:27:44 +0000
parents
children 1bc1199f0ff4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
1 <tool id="cactus_cactus" name="Cactus" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
2 <description>whole-genome multiple sequence alignment.</description>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
3 <macros>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
4 <import>macros.xml</import>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
5 </macros>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
6 <expand macro="xrefs"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
7 <expand macro="requirements"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
9 ## Check the FASTA headers
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
10 ## This is only necessary in pangenome mode
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
11 #if $aln_mode.aln_mode_select == 'intraspecies':
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
12 #for $seq in $in_seqs:
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
13 if
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
14 #if $seq.fasta.is_of_type('fasta.gz'):
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
15 zgrep
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
16 #else
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
17 grep
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
18 #end if
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
19 "^>" $seq.fasta | grep -q "[[:space:]]" ; then
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
20 echo "Error parsing input FASTA." ;
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
21 echo "Pangenome mode fails if there are spaces in the header." ;
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
22 echo "Please remove them with the NormalizeFasta tool." ;
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
23 exit 1
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
24 ; fi &&
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
25 #end for
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
26 #end if
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
27
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
28 ## Set up seqfile
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
29
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
30 #if $aln_mode.aln_mode_select == 'interspecies':
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
31 cat $aln_mode.in_tree >> seqfile.txt &&
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
32 #end if
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
33 #set seq_line = ''
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
34 #for $seq in $in_seqs:
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
35 #set seq_fn = str($seq.label) + '.' + $seq.fasta.ext
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
36 ln -s '$seq.fasta' '$seq_fn' &&
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
37 printf '%s %s\n' '$seq.label' '$seq_fn' >> seqfile.txt
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
38 #set seq_line += $seq_fn + ' '
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
39 &&
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
40 #end for
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
41
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
42 ## Run cactus
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
43
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
44 #if $aln_mode.aln_mode_select == 'intraspecies':
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
45 ## If we're doing a pangenome, we need to run the steps manually
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
46 minigraph -xggs
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
47 -t \${GALAXY_SLOTS:-4}
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
48 $seq_line
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
49 > pangenome.gfa
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
50 &&
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
51 cactus-graphmap
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
52 --maxCores \${GALAXY_SLOTS:-4}
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
53 --maxMemory \${GALAXY_MEMORY_MB:-8192}M
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
54 ./jobStore
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
55 ./seqfile.txt
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
56 pangenome.gfa
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
57 pangenome.paf
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
58 --outputFasta pangenome.gfa.fa
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
59 --binariesMode local
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
60 --workDir ./
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
61 &&
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
62 cactus-align
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
63 --maxCores \${GALAXY_SLOTS:-4}
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
64 --maxMemory \${GALAXY_MEMORY_MB:-8192}M
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
65 ./jobStore
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
66 ./seqfile.txt
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
67 pangenome.paf
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
68 alignment.hal
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
69 --pangenome
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
70 --pafInput
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
71 --binariesMode local
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
72 --workDir ./
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
73 #else if $aln_mode.aln_mode_select == 'interspecies':
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
74 ## Run cactus normally
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
75 cactus
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
76 --maxCores \${GALAXY_SLOTS:-4}
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
77 --maxMemory \${GALAXY_MEMORY_MB:-8192}M
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
78 jobStore seqfile.txt alignment.hal
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
79 --binariesMode local
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
80 --workDir ./
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
81 #end if
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
82
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
83 ]]></command>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
84 <inputs>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
85 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
86 <param name="aln_mode_select" type="select" label="Alignment mode" help="The taxonomic relationship between input genomes. If genomes are from multiple individuals of the same species, select 'Within-species'">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
87 <option value="interspecies" selected="true">Between-species</option>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
88 <option value="intraspecies">Within-species</option>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
89 </param>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
90 <when value="interspecies">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
91 <param name="in_tree" type="data" format="nhx" label="Guide tree" help="Phylogenetic tree in Newick format. Required by Cactus to achieve linear scaling with number of input genomes" />
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
92 </when>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
93 <when value="intraspecies">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
94 </when>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
95 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
96 <repeat name="in_seqs" title="Input genome">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
97 <param name="label" type="text" value="" label="Genome Label" help="NO SPACES. Must match a label in the guide tree.">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
98 </param>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
99 <param name="fasta" type="data" format="fasta,fasta.gz" label="Genome Sequence" help="Input genome"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
100 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
101 <!-- add an option for root -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
102 <!-- root mr -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
103 </inputs>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
104 <outputs>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
105 <data name="out_hal" format="h5" from_work_dir="alignment.hal" label="${tool.name} on ${on_string} (HAL file)" />
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
106 </outputs>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
107 <tests>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
108 <!-- test interspecies mode -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
109 <test expect_num_outputs="1">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
110 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
111 <param name="aln_mode_select" value="interspecies"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
112 <param name="in_tree" value="test_tree.nhx"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
113 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
114 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
115 <param name="label" value="simCow_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
116 <param name="fasta" value="simCow_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
117 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
118 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
119 <param name="label" value="simDog_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
120 <param name="fasta" value="simDog_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
121 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
122 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
123 <param name="label" value="simHuman_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
124 <param name="fasta" value="simHuman_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
125 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
126 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
127 <param name="label" value="simMouse_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
128 <param name="fasta" value="simMouse_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
129 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
130 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
131 <param name="label" value="simRat_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
132 <param name="fasta" value="simRat_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
133 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
134 <output name="out_hal">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
135 <assert_contents>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
136 <has_size value="5272354" delta="200000" />
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
137 </assert_contents>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
138 </output>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
139 </test>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
140 <!-- within-species mode -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
141 <test expect_num_outputs="1">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
142 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
143 <param name="aln_mode_select" value="intraspecies"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
144 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
145 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
146 <param name="label" value="simCow_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
147 <param name="fasta" value="simCow_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
148 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
149 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
150 <param name="label" value="simDog_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
151 <param name="fasta" value="simDog_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
152 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
153 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
154 <param name="label" value="simHuman_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
155 <param name="fasta" value="simHuman_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
156 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
157 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
158 <param name="label" value="simMouse_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
159 <param name="fasta" value="simMouse_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
160 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
161 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
162 <param name="label" value="simRat_chr6"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
163 <param name="fasta" value="simRat_chr6.fasta"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
164 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
165 <output name="out_hal">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
166 <assert_contents>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
167 <has_size value="2119332" delta="200000" />
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
168 </assert_contents>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
169 </output>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
170 </test>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
171 <!-- compressed input -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
172 <test expect_num_outputs="1">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
173 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
174 <param name="aln_mode_select" value="intraspecies"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
175 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
176 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
177 <param name="label" value="germ_25"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
178 <param name="fasta" value="germ_25.fasta.gz"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
179 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
180 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
181 <param name="label" value="vulg_25"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
182 <param name="fasta" value="vulg_25.fasta.gz"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
183 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
184 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
185 <param name="label" value="pens_25"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
186 <param name="fasta" value="pens_25.fasta.gz"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
187 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
188 <output name="out_hal">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
189 <assert_contents>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
190 <has_size value="7204260" delta="200000" />
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
191 </assert_contents>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
192 </output>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
193 </test>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
194 <!-- FASTA header -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
195 <test expect_exit_code="1" expect_failure="true">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
196 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
197 <param name="aln_mode_select" value="intraspecies"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
198 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
199 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
200 <param name="label" value="badheader1"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
201 <param name="fasta" value="bh1.fasta.gz"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
202 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
203 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
204 <param name="label" value="badheader2"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
205 <param name="fasta" value="bh2.fasta.gz"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
206 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
207 </test>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
208 </tests>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
209 <help><![CDATA[
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
210 **What it does**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
211
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
212 `Cactus <https://github.com/ComparativeGenomicsToolkit/cactus>`__ is a
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
213 reference-free whole-genome multiple alignment program. It can be used
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
214 to progressively align a large number of genomes.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
215
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
216 **Usage**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
217
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
218 **Between-species mode**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
219
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
220 If you are aligning genomes from **multiple species**, you need to
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
221 provide a guide tree in Newick format. Cactus uses the guide tree to
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
222 progressively align genomes, meaning that it doesn’t need to align all
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
223 possible pairs of genomes.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
224
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
225 A Newick-formatted tree for human, chimp and gorilla genomes looks like
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
226 this:
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
227
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
228 ::
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
229
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
230 (((human:0.006,chimp:0.006667):0.0022,gorilla:0.008825):0.0096,orang:0.01831);
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
231
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
232 The numbers are the branch lengths.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
233
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
234 **Beta: Within-species mode**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
235
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
236 You can also run Cactus in `pangenome
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
237 mode <https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/pangenome.md>`__
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
238 to align genomes of multiple individuals from the **same species**. In
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
239 this mode you will not use a guide tree. Cactus will use
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
240 `minigraph <https://github.com/lh3/minigraph>`__ to generate a graph of
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
241 the input genomes and then use the graph to order the alignments. To use
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
242 pangenome mode, select ‘Within-species’ in the ‘Alignment mode’
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
243 dropdown.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
244
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
245 ⚠️ To use pangenome mode, you will have to remove spaces from the headers in your FASTA file.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
246 You can do this with the NormalizeFasta tool.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
247
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
248 **Input**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
249
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
250 The developers recommend soft-masking your genomes with RepeatMasker
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
251 before running Cactus. RepeatMasker is available on Galaxy.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
252
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
253 If you’re using Between-species mode, you need to provide labels for the
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
254 fasta files that match the leaves on the guide tree. In the example
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
255 above, you would use the label ‘human’ for the human fasta file.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
256
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
257 **Output**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
258
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
259 The main output of Cactus is in `HAL
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
260 format <https://github.com/ComparativeGenomicsToolkit/cactus#using-the-output>`__.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
261 You can use the `Cactus: export <root?tool_id=cactus_export>`__ tool to
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
262 convert the Cactus output to a VG or Multiple Alignment Format (MAF)
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
263 file.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
264
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
265
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
266 ]]></help>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
267 <expand macro="citations"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
268 </tool>