annotate prestor_abseq3.xml @ 3:967b96c6005a draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 19e832988729a92be5426131fc6114e1f7237982"
author iuc
date Fri, 02 Jul 2021 15:29:29 +0000
parents dfd01596503e
children faba8f53524e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
967b96c6005a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 19e832988729a92be5426131fc6114e1f7237982"
iuc
parents: 2
diff changeset
1 <tool id="prestor_abseq3" name="pRESTOr AbSeq3 Report" version="@TOOL_VERSION@+galaxy1">
0
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
2 <description>Create HTML QC report from pRESTO outputs</description>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
3
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
4 <macros>
ef917c03493c 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>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
6 </macros>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
7
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
8 <requirements>
1
097b44ff88db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit c93d2fe3a1ffb49f30098940f67ff5d8dc0a366c"
iuc
parents: 0
diff changeset
9 <requirement type="package" version="0.0.5">r-prestor</requirement>
0
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
10 </requirements>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
11
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
13 ln -s '$qual1' ./quality-1_table.tab &&
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
14 ln -s '$qual2' ./quality-2_table.tab &&
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
15 ln -s '$primer1' ./primers-1_table.tab &&
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
16 ln -s '$primer2' ./primers-2_table.tab &&
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
17 ln -s '$cons1' ./consensus-1_table.tab &&
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
18 ln -s '$cons2' ./consensus-2_table.tab &&
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
19 ln -s '$assemble' ./assemble_table.tab &&
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
20 ln -s '$maskqual' ./maskqual_table.tab &&
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
21 ln -s '$cregion' ./cregion_table.tab &&
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
22 Rscript '${prestor_script}'
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
23 ]]></command>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
24
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
25 <configfiles>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
26 <configfile name="prestor_script"><![CDATA[
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
27 library(prestor)
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
28 report_abseq3('.', sample='${sample}', output_dir='.', output_file='report.html', format='html')
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
29 ]]>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
30 </configfile>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
31 </configfiles>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
32
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
33 <inputs>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
34 <param name="sample" type="text" label="Sample Name" help="Sample Name. Must not contain spaces.">
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
35 <validator type="regex" message="Value may include alphanumeric characters, underscores and spaces.">[^\s]+</validator>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
36 </param>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
37 <param name="qual1" type="data" format="txt" label="ParseLog of FilterSeq(R1)" help="Output of running ParseLog on the log file from FilterSeq on Read 1."/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
38 <param name="qual2" type="data" format="txt" label="ParseLog of FilterSeq(R2)" help="Output of running ParseLog on the log file from FilterSeq on Read 2."/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
39 <param name="primer1" type="data" format="txt" label="ParseLog of MaskPrimers(R1)" help="Output of running ParseLog on the log file from MaskPrimers on Read 1."/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
40 <param name="primer2" type="data" format="txt" label="ParseLog of MaskPrimers(R2)" help="Output of running ParseLog on the log file from MaskPrimers on Read 2."/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
41 <param name="cons1" type="data" format="txt" label="ParseLog of BuildConsensus(R1)" help="Output of running ParseLog on the log file from BuildConsensus on Read 1."/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
42 <param name="cons2" type="data" format="txt" label="ParseLog of BuildConsensus(R2)" help="Output of running ParseLog on the log file from BuildConsensus on Read 2."/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
43 <param name="assemble" type="data" format="txt" label="ParseLog of AssemblePairs" help="Output of running ParseLog on the log file from AssemblePairs."/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
44 <param name="maskqual" type="data" format="txt" label="ParseLog of FilterSeq(pairs)" help="Output of running ParseLog on the log file from FilterSeq on the consensus reads."/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
45 <param name="cregion" type="data" format="txt" label="ParseLog of MaskPrimers(pairs)" help="Output of running ParseLog on the log file from MaskPrimers for the C Region."/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
46 </inputs>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
47
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
48 <outputs>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
49 <data name="output" format="html" from_work_dir="report.html"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
50 </outputs>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
51
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
52 <tests>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
53 <test>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
54 <param name="sample" value="TestSample"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
55 <param name="qual1" value="prestor_logs/quality-1_table.tab"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
56 <param name="qual2" value="prestor_logs/quality-2_table.tab"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
57 <param name="primer1" value="prestor_logs/primers-1_table.tab"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
58 <param name="primer2" value="prestor_logs/primers-2_table.tab"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
59 <param name="cons1" value="prestor_logs/consensus-1_table.tab"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
60 <param name="cons2" value="prestor_logs/consensus-2_table.tab"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
61 <param name="assemble" value="prestor_logs/assemble_table.tab"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
62 <param name="maskqual" value="prestor_logs/maskqual_table.tab"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
63 <param name="cregion" value="prestor_logs/cregion_table.tab"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
64 <output name="output">
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
65 <assert_contents>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
66 <has_text text="pRESTO Report"/>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
67 </assert_contents>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
68 </output>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
69 </test>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
70 </tests>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
71
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
72 <help><![CDATA[
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
73 Creates an HTML QC report from the log files generated when running pRESTO.
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
74
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
75 ]]></help>
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
76
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
77 <expand macro="citations" />
ef917c03493c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/presto commit 5d4da3eb59439ce5b1eea211b4ad1d47807d7acb
iuc
parents:
diff changeset
78 </tool>