annotate cactus_cactus.xml @ 2:8b67dd48fec1 draft

planemo upload for repository https://github.com/usegalaxy-au/tools-au commit b2235e7e7970f74e5d55ce150e3380d93fcdd70f
author galaxy-australia
date Tue, 13 Sep 2022 00:17:17 +0000
parents 1bc1199f0ff4
children 9422c5a87ee2
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 --binariesMode local
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
71 --workDir ./
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
72 #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
73 ## Run cactus normally
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
74 cactus
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
75 --maxCores \${GALAXY_SLOTS:-4}
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
76 --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
77 jobStore seqfile.txt alignment.hal
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
78 --binariesMode local
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
79 --workDir ./
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
80 #end if
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
81
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
82 ]]></command>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
83 <inputs>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
84 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
85 <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
86 <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
87 <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
88 </param>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
89 <when value="interspecies">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
90 <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
91 </when>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
92 <when value="intraspecies">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
93 </when>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
94 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
95 <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
96 <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
97 </param>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
98 <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
99 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
100 <!-- add an option for root -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
101 <!-- root mr -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
102 </inputs>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
103 <outputs>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
104 <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
105 </outputs>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
106 <tests>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
107 <!-- test interspecies mode -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
108 <test expect_num_outputs="1">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
109 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
110 <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
111 <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
112 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
113 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
114 <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
115 <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
116 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
117 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
118 <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
119 <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
120 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
121 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
122 <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
123 <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
124 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
125 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
126 <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
127 <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
128 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
129 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
130 <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
131 <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
132 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
133 <output name="out_hal">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
134 <assert_contents>
2
8b67dd48fec1 planemo upload for repository https://github.com/usegalaxy-au/tools-au commit b2235e7e7970f74e5d55ce150e3380d93fcdd70f
galaxy-australia
parents: 1
diff changeset
135 <has_size value="4783905" delta="200000" />
0
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
136 </assert_contents>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
137 </output>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
138 </test>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
139 <!-- within-species mode -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
140 <test expect_num_outputs="1">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
141 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
142 <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
143 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
144 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
145 <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
146 <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
147 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
148 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
149 <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
150 <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
151 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
152 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
153 <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
154 <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
155 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
156 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
157 <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
158 <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
159 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
160 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
161 <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
162 <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
163 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
164 <output name="out_hal">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
165 <assert_contents>
2
8b67dd48fec1 planemo upload for repository https://github.com/usegalaxy-au/tools-au commit b2235e7e7970f74e5d55ce150e3380d93fcdd70f
galaxy-australia
parents: 1
diff changeset
166 <has_size value="1349620" delta="200000" />
0
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
167 </assert_contents>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
168 </output>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
169 </test>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
170 <!-- compressed input -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
171 <test expect_num_outputs="1">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
172 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
173 <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
174 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
175 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
176 <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
177 <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
178 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
179 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
180 <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
181 <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
182 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
183 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
184 <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
185 <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
186 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
187 <output name="out_hal">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
188 <assert_contents>
2
8b67dd48fec1 planemo upload for repository https://github.com/usegalaxy-au/tools-au commit b2235e7e7970f74e5d55ce150e3380d93fcdd70f
galaxy-australia
parents: 1
diff changeset
189 <has_size value="7420424" delta="200000" />
0
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
190 </assert_contents>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
191 </output>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
192 </test>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
193 <!-- FASTA header -->
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
194 <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
195 <conditional name="aln_mode">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
196 <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
197 </conditional>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
198 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
199 <param name="label" value="badheader1"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
200 <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
201 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
202 <repeat name="in_seqs">
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
203 <param name="label" value="badheader2"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
204 <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
205 </repeat>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
206 </test>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
207 </tests>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
208 <help><![CDATA[
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
209 **What it does**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
210
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
211 `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
212 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
213 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
214
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
215 **Usage**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
216
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
217 **Between-species mode**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
218
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
219 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
220 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
221 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
222 possible pairs of genomes.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
223
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
224 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
225 this:
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
226
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 (((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
230
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
231 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
232
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
233 **Beta: Within-species mode**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
234
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
235 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
236 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
237 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
238 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
239 `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
240 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
241 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
242 dropdown.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
243
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
244 ⚠️ 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
245 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
246
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
247 **Input**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
248
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
249 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
250 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
251
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
252 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
253 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
254 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
255
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
256 **Output**
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
257
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
258 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
259 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
260 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
261 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
262 file.
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
263
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 ]]></help>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
266 <expand macro="citations"/>
85f68b344286 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
267 </tool>