Mercurial > repos > bgruening > hicup_digester
annotate hicup_digester.xml @ 7:e79c38f1752c draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 398a2e3e845ada656b3a7e0a6542e1668a8bcf17
author | bgruening |
---|---|
date | Thu, 23 Feb 2023 18:01:57 +0000 |
parents | 2edfb71706b3 |
children |
rev | line source |
---|---|
5
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
1 <tool id="hicup_digester" name="Hicup Digester" version="@VERSION@+galaxy0"> |
0
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
2 <description>cuts throughout a selected genome at one or two specified restriction sites.</description> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
3 <macros> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
4 <import>hicup_macros.xml</import> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
5 </macros> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
6 <expand macro="requirements_hicup" /> |
4
a2f3a4129052
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
0
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
8 hicup_digester --re1 '$re1' --genome '$genome' |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
9 #if $advanced_options.re2: |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
10 --re2 '$advanced_options.re2' |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
11 #end if |
5
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
12 #if str($input_files_digest.source) == "history": |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
13 #for $file in $input_files_digest.own_file: |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
14 '$file' |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
15 #end for |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
16 #else: |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
17 '$reference_genome.index.fields.path'.fa |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
18 #end if |
0
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
19 ]]></command> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
20 <inputs> |
5
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
21 <conditional name="input_files_digest"> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
22 <param name="source" type="select" label="Will you select a reference genome from your history or use a genome which has a built-in index?" help="Built-ins were indexed using default options. See `Indexes` section of help below"> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
23 <option value="indexed">Use a genome with a built-in index</option> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
24 <option value="history">Use a genome from the history</option> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
25 </param> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
26 <when value="indexed"> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
27 <param name="index" type="select" label="Select reference genome" help="If your genome of interest is not listed, contact the Galaxy team"> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
28 <options from_data_table="bowtie2_indexes"> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
29 <filter type="sort_by" column="2"/> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
30 <validator type="no_options" message="No indexes are available for the selected input dataset"/> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
31 </options> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
32 </param> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
33 </when> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
34 <when value="history"> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
35 <param name="own_file" type="data" format="fasta" multiple="true" label="Select reference genome" /> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
36 <!--<param name="own_file" type="data" format="fasta" metadata_name="dbkey" label="Select reference genome" />--> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
37 </when> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
38 </conditional> |
4
a2f3a4129052
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
39 <param argument="--genome" type="text" label="Genome name" |
a2f3a4129052
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
40 help="Name of the genome to be digested."/> |
a2f3a4129052
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
41 <expand macro="re1" /> |
0
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
42 <section name="advanced_options" title="Advanced options"> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
43 <expand macro="re2" /> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
44 </section> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
45 </inputs> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
46 <outputs> |
5
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
47 <data name="digest_file" format="tabular" from_work_dir="Digest_*" label="Digester File.txt"/> |
0
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
48 </outputs> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
49 <tests> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
50 <test> |
5
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
51 <param name="source" value="history"/> |
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
52 <param name="own_file" value="chr21And22FromHg38.fasta"/> |
0
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
53 <param name="re1" value="A^AGCTT"/> |
4
a2f3a4129052
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
bgruening
parents:
2
diff
changeset
|
54 <param name="genome" value="chr21And22FromHg38"/> |
7
e79c38f1752c
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 398a2e3e845ada656b3a7e0a6542e1668a8bcf17
bgruening
parents:
5
diff
changeset
|
55 <output name="digest_file" file="digest_file.txt" lines_diff="0"/> |
0
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
56 </test> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
57 </tests> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
58 <help><![CDATA[ |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
59 |
5
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
60 For help please consult the documentation of HiCUP: https://www.bioinformatics.babraham.ac.uk/projects/hicup/read_the_docs/html/index.html |
0
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
61 |
5
2edfb71706b3
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hicup commit 5466e3345d762ed53686d80568929c2e15652eef
bgruening
parents:
4
diff
changeset
|
62 To get more information about the digister visit:https://www.bioinformatics.babraham.ac.uk/projects/hicup/read_the_docs/html/index.html#hicup-digester |
0
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
63 ]]></help> |
a47a96d2721a
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit b77cbc104261f8aa1524922f41c2a9a23052f5da
bgruening
parents:
diff
changeset
|
64 <expand macro="citation_hicup" /> |
2
f220157fbd22
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit c546c919808a853d3e1556cb28bb4a5f7e1f9932
bgruening
parents:
0
diff
changeset
|
65 </tool> |