comparison intersect_and_adjacent.xml @ 0:923d2528480d draft

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