Mercurial > repos > iuc > cactus_export
annotate cactus_export.xml @ 0:a82a0acf4eb6 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
author | iuc |
---|---|
date | Tue, 06 Feb 2024 00:30:57 +0000 |
parents | |
children |
rev | line source |
---|---|
0
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
1 <tool id="cactus_export" name="Cactus: export" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
2 <description>whole-genome multiple sequence alignment to other formats</description> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
3 <macros> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
5 </macros> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
6 <expand macro="xrefs"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
9 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
10 ## check if the reference level was specified |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
11 #if $export_select.format in ['maf_selector', 'vg_selector']: |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
12 #if $export_select.ref_level == '': |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
13 echo "You must provide a reference level" && |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
14 exit 1 ; |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
15 #end if |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
16 #end if |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
17 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
18 ln -s '$hal_file' alignment.hal |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
19 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
20 ## make a MAF |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
21 #if $export_select.format == 'maf_selector': |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
22 && |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
23 hal2maf |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
24 --refGenome $export_select.ref_level |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
25 alignment.hal |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
26 alignment.maf |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
27 #end if |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
28 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
29 ## make an assemblyHub |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
30 #if $export_select.format == 'ah_selector': |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
31 && |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
32 hal2assemblyHub.py |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
33 --maxCores \${GALAXY_SLOTS:-4} |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
34 --maxMemory \${GALAXY_MEMORY_MB:-8196}M |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
35 ./jobStore |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
36 alignment.hal |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
37 assemblyhub |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
38 && |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
39 tar -cv assemblyhub > assemblyhub.tar |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
40 #end if |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
41 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
42 ## make a VG |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
43 #if $export_select.format == 'vg_selector': |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
44 && |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
45 hal2vg alignment.hal |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
46 --progress |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
47 > alignment.pg |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
48 #end if |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
49 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
50 ]]></command> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
51 <inputs> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
52 <param name="hal_file" type="data" format="h5" label="HAL file" help="Multiple-genome alignment generated by Cactus"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
53 <conditional name="export_select"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
54 <param name="format" type="select" label="Output format" help="The type of output you want to export. Run this tool once for each output format."> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
55 <option value="maf_selector" selected="true">MAF file</option> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
56 <option value="ah_selector">Assembly Hub</option> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
57 <option value="vg_selector">VG file</option> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
58 </param> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
59 <when value="maf_selector"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
60 <param name="ref_level" type="text" value="" label="Reference genome" help="Specify one of the Input Genomes as the reference level. This must match the label used in 'Genome Label'."/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
61 </when> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
62 <when value="ah_selector"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
63 </when> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
64 <when value="vg_selector"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
65 <param name="ref_level" type="text" value="" label="Reference genome" help="Specify one of the Input Genomes as the reference level. This must match the label used in 'Genome Label'."/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
66 </when> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
67 </conditional> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
68 </inputs> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
69 <outputs> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
70 <data name="out_maf" format="maf" from_work_dir="alignment.maf" label="${tool.name} on ${on_string} (MAF file)"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
71 <filter>export_select['format'] == 'maf_selector'</filter> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
72 </data> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
73 <data name="out_vg" format="vg" from_work_dir="alignment.pg" label="${tool.name} on ${on_string} (VG file)"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
74 <filter>export_select['format'] == 'vg_selector'</filter> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
75 </data> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
76 <data name="out_ah" format="tar" from_work_dir="assemblyhub.tar" label="${tool.name} on ${on_string} (Assembly Hub)"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
77 <filter>export_select['format'] == 'ah_selector'</filter> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
78 </data> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
79 </outputs> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
80 <tests> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
81 <!-- this fails because no reference level is set --> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
82 <test expect_failure="true"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
83 <conditional name="export_select"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
84 <param name="format" value="maf_selector"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
85 </conditional> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
86 <param name="hal_file" ftype="h5" location="https://zenodo.org/record/8336793/files/evolverMammals.hal"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
87 </test> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
88 <!-- within-species mode --> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
89 <test expect_num_outputs="1"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
90 <conditional name="export_select"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
91 <param name="ref_level" value="simMouse_chr6"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
92 <param name="format" value="maf_selector"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
93 </conditional> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
94 <param name="hal_file" ftype="h5" location="https://zenodo.org/record/8336793/files/within.hal"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
95 <output name="out_maf" location="https://zenodo.org/record/8336793/files/set_reference.maf"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
96 </test> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
97 <!-- between-species --> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
98 <test expect_num_outputs="1"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
99 <conditional name="export_select"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
100 <param name="ref_level" value="simMouse_chr6"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
101 <param name="format" value="maf_selector"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
102 </conditional> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
103 <param name="hal_file" ftype="h5" location="https://zenodo.org/record/8336793/files/evolverMammals_noroot.hal"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
104 <output name="out_maf" location="https://zenodo.org/record/8336793/files/evolverMammals_noroot.maf"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
105 </test> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
106 <!-- assembly hub format --> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
107 <test expect_num_outputs="1"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
108 <conditional name="export_select"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
109 <param name="format" value="ah_selector"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
110 </conditional> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
111 <param name="hal_file" ftype="h5" location="https://zenodo.org/record/8336793/files/within.hal"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
112 <output name="out_ah"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
113 <assert_contents> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
114 <has_archive_member path="assemblyhub/hub.txt"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
115 </assert_contents> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
116 </output> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
117 </test> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
118 <!-- vg format --> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
119 <test expect_num_outputs="1"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
120 <conditional name="export_select"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
121 <param name="format" value="vg_selector"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
122 <param name="ref_level" value="simMouse_chr6"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
123 </conditional> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
124 <param name="hal_file" ftype="h5" location="https://zenodo.org/record/8336793/files/within.hal"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
125 <output name="out_vg"> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
126 <assert_contents> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
127 <has_size value="860452" delta="200000"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
128 </assert_contents> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
129 </output> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
130 </test> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
131 <!-- gfa format (gfa2): not implemented --> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
132 </tests> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
133 <help><![CDATA[ |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
134 **What it does** |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
135 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
136 Converts the HAL output from `Cactus whole-genome multiple sequence |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
137 aligner <root?tool_id=cactus_cactus>`__ into other formats. |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
138 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
139 **Input** |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
140 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
141 A `HAL |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
142 file <https://github.com/ComparativeGenomicsToolkit/cactus#using-the-output>`__ |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
143 from `Cactus <root?tool_id=cactus_cactus>`__. |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
144 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
145 **Output** |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
146 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
147 Currently, you can export a pangenome in VG format, for use with |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
148 `vg <https://github.com/vgteam/vg>`__, or Multiple Alignment Format |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
149 (MAF). Note that these files are **reference-based**, so it will contain |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
150 alignments to a single reference from your list of inputs (i.e. not a |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
151 graph). You have to provide this with the ‘reference genome’ option. |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
152 |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
153 You can also export an Assembly Hub for use with the UCSC Genome Browser. |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
154 ]]></help> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
155 <expand macro="citations"/> |
a82a0acf4eb6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/cactus commit 827619d22d2931d8fb34ed6844cfa91433e1ac2c
iuc
parents:
diff
changeset
|
156 </tool> |