Mercurial > repos > brinkmanlab > feature_merge
annotate feature_merge.xml @ 4:fefd7cb5d9aa draft
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 750b3ad6a19e1bcc7b77b46ad8e2ae6874ab72a4"
author | brinkmanlab |
---|---|
date | Fri, 22 Jan 2021 20:35:30 +0000 |
parents | fa51a1231daf |
children | cc4bffe1d9b5 |
rev | line source |
---|---|
3
fa51a1231daf
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 1a4a12b842525e3eeeadba09ef682e17efd65f2c"
brinkmanlab
parents:
2
diff
changeset
|
1 <tool id="feature-merge" name="GFF/GTF Feature Merge" version="1.3" profile="16.04"> |
0
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
2 <description>Merge GFF features based on a variety of criteria</description> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
3 <requirements> |
4
fefd7cb5d9aa
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 750b3ad6a19e1bcc7b77b46ad8e2ae6874ab72a4"
brinkmanlab
parents:
3
diff
changeset
|
4 <requirement type="package" version="1.3.0">feature_merge</requirement> |
0
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
5 </requirements> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
6 <version_command><![CDATA[ feature_merge -v ]]></version_command> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
7 <command detect_errors="aggressive"><![CDATA[ |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
8 feature_merge $ignore_strand $exclude_components $exact_only -m $merge_strategy |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
9 #if $threshold != 0 |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
10 -t $threshold |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
11 #end if |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
12 #for set in $features |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
13 -f '${str($set.csv).replace(" ", "")}' |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
14 #end for |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
15 #for $input in $inputs |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
16 $input |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
17 #end for |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
18 > $output |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
19 ]]></command> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
20 <inputs> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
21 <param name="inputs" type="data" format="gff,gff3,gtf" multiple="true" label="Input" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
22 <param name="ignore_strand" type="boolean" checked="false" truevalue="-i" falsevalue="" label="Ignore feature strand when merging" argument="-i"/> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
23 <param name="exclude_components" type="boolean" checked="false" truevalue="" falsevalue="-e" label="Include original feature records in output" argument="-e"/> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
24 <param name="exact_only" type="boolean" checked="false" truevalue="-x" falsevalue="" label="Only merge features with identical coordinates" argument="-x"/> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
25 <param name="threshold" type="integer" value="0" label="Merge features within a threshold distance from their ends" argument="-t"/> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
26 <param name="merge_strategy" type="select" label="ID conflict resolution strategy" argument="-m"> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
27 <option value="merge">merge: attributes of all features with the same primary key will be merged</option> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
28 <option value="append" selected="true">append: entry will have a unique, autoincremented primary key assigned to it</option> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
29 <option value="error">error: exception will be raised. This means you will have to edit the file yourself to fix the duplicated IDs</option> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
30 <option value="skip">skip: ignore duplicates, emitting a warning</option> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
31 <option value="replace">replace: keep last duplicate</option> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
32 </param> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
33 <repeat name="features" title="Specify features to merge" help="Can be provided more than once to specify multiple merge groups. If not provided, all features will be merged."> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
34 <param name="csv" type="text" label="Feature set to merge" help="Comma seperated types of features to merge. Must be terms or accessions from the SOFA sequence ontology, ALL, or NONE" argument="-f"/> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
35 </repeat> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
36 </inputs> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
37 <outputs> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
38 <data name="output" format="gff" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
39 </outputs> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
40 <tests> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
41 <test expect_num_outputs="1"> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
42 <param name="inputs" > |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
43 <collection type="list"> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
44 <element name="test1" value="feature_merge/test-data/615598_genome.gbk_2.gff3" ftype="gff3" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
45 <element name="test2" value="feature_merge/test-data/915596_genome.gbk_2.gff3" ftype="gff3" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
46 <element name="test3" value="feature_merge/test-data/615598_genome.gbk_1.gff3" ftype="gff3" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
47 <element name="test4" value="feature_merge/test-data/1015597_genome.gbk_2.gff3" ftype="gff3" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
48 <element name="test5" value="feature_merge/test-data/915596_genome.gbk_1.gff3" ftype="gff3" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
49 <element name="test6" value="feature_merge/test-data/1015597_genome.gbk_1.gff3" ftype="gff3" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
50 </collection> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
51 </param> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
52 <param name="ignore_strand" value="-i" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
53 <output name="output" file="test-data/output.gff3" ftype="gff3" /> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
54 </test> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
55 </tests> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
56 <help><![CDATA[ |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
57 GFF/GTF Feature Merge |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
58 Merge GFF features based on a variety of criteria. |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
59 |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
60 https://github.com/brinkmanlab/feature_merge |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
61 ]]></help> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
62 <citations> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
63 <citation type="doi">10.5281/zenodo.3364784</citation> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
64 <citation type="doi">10.5281/zenodo.3364789</citation> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
65 </citations> |
61c4522b2cfe
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/feature_merge commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e"
brinkmanlab
parents:
diff
changeset
|
66 </tool> |