annotate prestor_abseq3.xml @ 6:2fe7327db816 draft default tip

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