annotate presto_pairseq.xml @ 3:49e7407445c3 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
author iuc
date Sat, 25 Sep 2021 18:34:52 +0000
parents 7bdff30820bf
children eed465eb14a3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
1 <tool id="presto_pairseq" name="pRESTO PairSeq" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
2 <description>Sorts and matches sequence records with matching coordinates across files</description>
3
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
3 <expand macro="bio_tools"/>
0
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
4 <macros>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
5 <import>presto_macros.xml</import>
3
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
6 </macros>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
7
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
8 <expand macro="requirements"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
9
0
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
10 <version_command>PairSeq.py --version</version_command>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
12 ln -s '$r1_in' r1.fastq &&
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
13 ln -s '$r2_in' r2.fastq &&
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
14 PairSeq.py
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
15 -1 r1.fastq
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
16 -2 r2.fastq
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
17 --coord $coord
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
18 #if $r1_annotations
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
19 --1f $r1_annotations
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
20 #end if
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
21 #if $r2_annotations
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
22 --2f $r2_annotations
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
23 #end if
3
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
24 $failed
0
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
25 --outdir=.
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
26 --outname=tmp
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
27 ]]></command>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
28 <inputs>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
29 <param argument="-1" name="r1_in" type="data" format="fastq" label="Read 1 FASTQ/FASTA file."/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
30 <param argument="-2" name="r2_in" type="data" format="fastq" label="Read 2 FASTQ/FASTA file."/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
31 <param argument="--1f" name="r1_annotations" type="text" optional="true" label="Annotation(s) to copy from R1 to R2." help="Multiple annotation must be space-separated.">
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
32 <expand macro="text-regex-validator"/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
33 </param>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
34 <param argument="--2f" name="r2_annotations" type="text" optional="true" label="Annotation(s) to copy from R2 to R1." help="Multiple annotation must be space-separated.">
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
35 <expand macro="text-regex-validator"/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
36 </param>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
37 <expand macro="presto-coord-param"/>
3
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
38 <param argument="--failed" type="boolean" checked="false" truevalue="--failed" falsevalue="" label="Failed reads fastq output" />
0
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
39 </inputs>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
40 <outputs>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
41 <data name="r1_out" format="fastq" from_work_dir="tmp-1_pair-pass.fastq"/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
42 <data name="r2_out" format="fastq" from_work_dir="tmp-2_pair-pass.fastq"/>
3
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
43 <!-- only give these 2 outputs if input failed_fastq=True-->
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
44 <data name="r1_fail_out" format="fastq" from_work_dir="tmp-1_pair-fail.fastq">
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
45 <filter>failed</filter>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
46 </data>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
47 <data name="r2_fail_out" format="fastq" from_work_dir="tmp-2_pair-fail.fastq">
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
48 <filter>failed</filter>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
49 </data>
0
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
50 </outputs>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
51 <tests>
3
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
52 <test expect_num_outputs="2">
0
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
53 <param name="r1_in" value="presto_pairseq_test1_r1_in.fastq"/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
54 <param name="r2_in" value="presto_pairseq_test1_r2_in.fastq"/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
55 <param name="r2_annotations" value="BARCODE"/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
56 <param name="coord" value="illumina"/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
57 <output name="r1_out" file="presto_pairseq_test1_r1_out.fastq" sort="true"/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
58 <output name="r2_out" file="presto_pairseq_test1_r2_out.fastq" sort="true"/>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
59 </test>
3
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
60 <test expect_num_outputs="4">
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
61 <param name="r1_in" value="presto_pairseq_test1_r1_in.fastq"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
62 <param name="r2_in" value="presto_pairseq_test1_r2_in.fastq"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
63 <param name="r2_annotations" value="BARCODE"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
64 <param name="coord" value="illumina"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
65 <param name="failed" value="true"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
66 <output name="r1_out" file="presto_pairseq_test1_r1_out.fastq" sort="true"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
67 <output name="r2_out" file="presto_pairseq_test1_r2_out.fastq" sort="true"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
68 <output name="r1_fail_out">
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
69 <assert_contents>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
70 <has_text text="@"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
71 </assert_contents>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
72 </output>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
73 <output name="r2_fail_out">
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
74 <assert_contents>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
75 <has_text text="@"/>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
76 </assert_contents>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
77 </output>
49e7407445c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit d52e3c9c53dd358e14e65a3a083e7d5c102f8697"
iuc
parents: 2
diff changeset
78 </test>
0
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
79 </tests>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
80 <help><![CDATA[
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
81 Sorts and matches sequence records with matching coordinates across files.
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
82
1
cb342df438dd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit a42c43c1528ae7b7efe2c5ef848681d574df0405"
iuc
parents: 0
diff changeset
83 See the `pRESTO online help <@PRESTO_BASE_URL@/en/stable>`_ for more information.
0
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
84
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
85 @HELP_NOTE@
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
86 ]]></help>
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
87 <expand macro="citations" />
f47efbc66fad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
88 </tool>