annotate intersect_and_adjacent.xml @ 1:f7d19040fafa draft

planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
author cpt
date Sun, 11 Aug 2024 22:22:44 +0000
parents 923d2528480d
children 0dbc7fbad0ab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
1 <tool id="edu.tamu.cpt.gff3.intersect_and_adjacent" name="Intersect and Adjacent" version="21.0.0">
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
2 <description>Outputs nearby top-level GFF features from two GFF3 files</description>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
3 <macros>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
4 <import>macros.xml</import>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
5 </macros>
1
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
6 <expand macro="requirements"/>
0
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
7 <requirements>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
8 <requirement type="package" version="3.0.2">intervaltree</requirement>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
9 </requirements>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
10 <command detect_errors="aggressive"><![CDATA[
1
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
11 python '$__tool_directory__/intersect_and_adjacent.py'
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
12 '$gff3_data_a'
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
13 '$gff3_data_b'
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
14 '$window'
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
15 '$stranding'
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
16 --oa '$oa'
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
17 --ob '$ob'
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
18 ]]>
f7d19040fafa planemo upload commit 79bba3858aa6c0b5cc271fe69c485830acd428e2
cpt
parents: 0
diff changeset
19 </command>
0
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
20 <inputs>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
21 <param label="GFF3 Annotations A" name="gff3_data_a" type="data" format="gff3"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
22 <param label="GFF3 Annotations B" name="gff3_data_b" type="data" format="gff3"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
23 <param label="Adjacency Window Size" name="window" type="integer" value="0"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
24 <param label="Only allow adjacencies for features on the same strand" name="stranding" type="boolean" checked="false" truevalue="-stranding" falsevalue=""/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
25 </inputs>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
26 <outputs>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
27 <data format="gff3" name="oa" label="GFF3 Annotations from ${gff3_data_a.name} in ${gff3_data_b.name}"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
28 <data format="gff3" name="ob" label="GFF3 Annotations from ${gff3_data_b.name} in ${gff3_data_a.name}"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
29 </outputs>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
30 <tests>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
31 <test>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
32 <param name="gff3_data_a" value="T7_IntersectAIn.gff3"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
33 <param name="gff3_data_b" value="T7_IntersectBIn.gff3"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
34 <param name="window" value="50"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
35 <param name="stranding" value="-stranding"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
36 <output name="oa" file="T7_IntersectAOut.gff3"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
37 <output name="ob" file="T7_IntersectBOut.gff3"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
38 </test>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
39 </tests>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
40 <help><![CDATA[
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
41 **What it does**
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
42
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
43 Given two input files, this tool computes the members of A that are within
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
44 "Window" nucleotides of a member of B, and vice versa. It then produces
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
45 two gff3 outputs, one being the features of GFF A that pass this check,
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
46 and the other being the features of GFF B that pass.
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
47 ]]></help>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
48 <expand macro="citations-2020"/>
923d2528480d planemo upload commit 8500f316f8325380aa5d0000fbd13dd96012b1bb
cpt
parents:
diff changeset
49 </tool>