annotate btyper-2.0.3/btyper.xml @ 3:ccf77a06a46e draft

Changed python code to put assembly name in the output file
author jpetteng
date Fri, 08 Dec 2017 09:51:02 -0500
parents 46ebe89f01ea
children 56713cdcff48
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
1 <tool id="btyper" name="BTyper" version="2.0.3">
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
2 <requirements>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
3 <requirement type="package" version="2.7">python</requirement>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
4 <requirement type="package">biopython</requirement>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
5 <requirement type="package">blast</requirement>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
6 </requirements>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
8
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
9 $__tool_directory__/btyper
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
10 -t seq
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
11 #if $jobtype.select == "seq"
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
12 -i $jobtype.asm
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
13 #else if $jobtype.select == "draft"
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
14 -i $jobtype.draft --draft_genome
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
15 #end if
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
16
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
17 -o "./"; cat btyper_final_results/*.txt > results.txt;
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
18
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
19 ]]></command>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
20 <inputs>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
21 <conditional name="jobtype">
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
22 <param name="select" type="select" label="Assembly or FASTQ Reads?">
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
23 <option value="draft">Draft Genome</option>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
24 <option value="seq">Complete Genome</option>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
25 </param>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
26 <when value="seq">
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
27 <param name="asm" type="data" format="fasta" label="FASTA" />
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
28 </when>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
29 <when value="draft">
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
30 <param name="draft" type="data" format="fasta" label="FASTA" />
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
31 </when>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
32 </conditional>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
33
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
34 </inputs>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
35 <outputs>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
36 <data format="tabular" label="BTyper Results" name="results" from_work_dir="*.txt"/>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
37 </outputs>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
38 <help><![CDATA[
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
39 BTyper is a that employs a combination of (i) virulence gene-based typing, (ii) multi-locus sequence typing (MLST), (iii) panC clade typing, and (iv) rpoB allelic typing to rapidly classify B. cereus group isolates using nucleotide sequencing data.
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
40
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
41 The Draft Genome option concatenates contigs in a single fasta file and produces a single report. The Complete Genome option assumes a single chromosome, and plasmids if present, and the report contains a section for each fasta header in the input file.
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
42
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
43 ]]></help>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
44 <citations>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
45 <citation type="bibtex">
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
46 @misc{carrol_kovac_miller_wiedman_2017,
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
47 title={Rapid, high-throughput identification of anthrax-causing and emetic Bacillus cereus group genome assemblies using BTyper, a computational tool for virulence-based classification of Bacillus cereus group isolates using nucleotide sequencing data.},
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
48 url={http://aem.asm.org/content/early/2017/06/12/AEM.01096-17},
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
49 journal={Applied and Environmental Microbiology}, publisher={ASM},
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
50 author={Carroll, Laura M., Jasna Kovac, Rachel A. Miller, Martin Wiedmann},
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
51 year={2017}, month={Jun}} ,
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
52 }</citation>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
53 </citations>
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
54
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
55
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
56
46ebe89f01ea Uploaded
estrain
parents:
diff changeset
57 </tool>