annotate centrifuge_process.xml @ 3:91a82cbaf263 tip

"planemo upload"
author kkonganti
date Wed, 22 Jun 2022 17:20:27 -0400
parents 5860f4569cda
children
rev   line source
kkonganti@2 1 <tool id="centrifuge_process" name="centrifuge_process" version="0.1.0" python_template_version="3.5">
kkonganti@0 2 <requirements>
kkonganti@0 3 <requirement type="package" version="3.9">python</requirement>
kkonganti@0 4 <requirement type="package">biopython</requirement>
kkonganti@0 5 <requirement type="package">pandas</requirement>
kkonganti@0 6 </requirements>
kkonganti@0 7 <command detect_errors="exit_code"><![CDATA[
kkonganti@2 8 $__tool_directory__/process_centrifuge_output.py -o '$input1' -r '$input2' -b '$input3' -t processed-centrifuge-bug-ids.txt
kkonganti@0 9 ]]></command>
kkonganti@0 10 <inputs>
kkonganti@3 11 <param label="Centrifuge Output" type="data" name="input1" format="txt" />
kkonganti@3 12 <param label="Centrifuge Report (from --report-file)" type="data" name="input2" format="txt" />
kkonganti@3 13 <param label="Bug name to extract read IDs by" type="text" name="input3" format="txt" />
kkonganti@0 14 </inputs>
kkonganti@0 15 <outputs>
kkonganti@2 16 <data name="output" format="txt" from_work_dir="processed-centrifuge-bug-ids.txt" />
kkonganti@0 17 </outputs>
kkonganti@0 18 <tests>
kkonganti@0 19 <test>
kkonganti@0 20 <param name="input1" value="FAL11127.centrifuge.output.txt"/>
kkonganti@0 21 <param name="input2" value="FAL11127.centrifuge.report.txt"/>
kkonganti@0 22 <param name="input3" value="Escherichia coli"/>
kkonganti@2 23 <output name="output" file="processed-centrifuge-bug-ids.txt"/>
kkonganti@0 24 </test>
kkonganti@0 25 </tests>
kkonganti@0 26 <help><![CDATA[
kkonganti@0 27 usage: process_centrifuge_output.py [-h] [-v] [-i INPUT_FASTQ] -t TAXA_FILTERED_FASTQ_FILE -r CENT_REPORT -o
kkonganti@0 28 CENT_OUTPUT -b BUG
kkonganti@0 29
kkonganti@0 30 This script is part of the centriflaken pipeline: It processes centrifuge output and produces either a filtered FASTQ
kkonganti@0 31 or a text file of FASTQ IDs based on the supplied taxa/bug
kkonganti@0 32
kkonganti@0 33 optional arguments:
kkonganti@0 34 -h, --help show this help message and exit
kkonganti@0 35 -v For more verbose output
kkonganti@0 36 -i INPUT_FASTQ Path to input FASTQ file (same as input to centrifuge). If not mentioned, a text file of
kkonganti@0 37 sequence IDs are produced instead of a FASTQ file
kkonganti@0 38 -t TAXA_FILTERED_FASTQ_FILE
kkonganti@0 39 Path to output FASTQ or output text file filtered by the taxa specified
kkonganti@0 40 -r CENT_REPORT Path to centrifuge report
kkonganti@0 41 -o CENT_OUTPUT Path to centrifuge output
kkonganti@0 42 -b BUG Name or fragment of name of the bug by which reads are extracted
kkonganti@0 43 ]]></help>
kkonganti@0 44 <citations>
kkonganti@0 45 <citation type="bibtex">
kkonganti@0 46 @misc{gitlabcpipescentriflaken,
kkonganti@0 47 author = {Konganti, Kranti},
kkonganti@0 48 year = {2022},
kkonganti@0 49 title = {CPIPES},
kkonganti@0 50 publisher = {GitLab},
kkonganti@0 51 journal = {GitLab repository},
kkonganti@0 52 url = {https://cfsan-git.fda.gov/Kranti.Konganti/cpipes},
kkonganti@0 53 }</citation>
kkonganti@0 54 </citations>
kkonganti@0 55 </tool>