Mercurial > repos > trinity_ctat > ctat_metagenomics
annotate ctat_metagenomics.xml @ 2:e5182440ba17 draft
Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
author | trinity_ctat |
---|---|
date | Fri, 13 Apr 2018 14:57:51 -0400 |
parents | 1c8d5eb15ed1 |
children | 983f4f1c7f73 |
rev | line source |
---|---|
2
e5182440ba17
Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents:
1
diff
changeset
|
1 <tool id="ctat_metagenomics" name="ctat_metagenomics" version="1.0.0" profile="17.05"> |
0
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
2 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
3 <description>Centrifuge - Classifier for metagenomic sequences (RNA-Seq)</description> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
4 <requirements> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
5 <requirement type="package" version="1.0.1">ctat-metagenomics</requirement> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
6 </requirements> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
7 <command detect_errors="default"> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
8 <![CDATA[ |
1 | 9 metagenomics.py |
0
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
10 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
11 --index "${index.fields.path}" |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
12 --out_dir "centrifuge" |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
13 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
14 #if $format_type.format == "fasta" |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
15 --format fasta --unpaired_reads $format_type.fasta_file |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
16 #end if |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
17 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
18 #if $format_type.format == "fastq" |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
19 --format fastq |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
20 #if $format_type.read_type.type == "single" |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
21 --read_type "single" --unpaired_reads $format_type.read_type.left_fq_single |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
22 #end if |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
23 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
24 #if $format_type.read_type.type == "paired" |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
25 --read_type "paired" --left_fq $format_type.read_type.left_fq --right_fq $format_type.read_type.right_fq |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
26 #end if |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
27 #end if |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
28 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
29 --threads 4 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
30 ]]> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
31 </command> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
32 <stdio> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
33 <exit_code range="1:" level="fatal" description="Error running centrifuge" /> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
34 </stdio> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
35 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
36 <inputs> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
37 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
38 <conditional name="format_type"> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
39 <param name= "format" type="select" label="Choose input format" help="Choose fasta for Trinity assembled reads"> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
40 <option value="fasta" selected="true">FASTA</option> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
41 <option value="fastq" selected="false">FASTQ</option> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
42 </param> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
43 <when value="fasta"> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
44 <param name="fasta_file" type="data" format="fasta" label="Fasta file:" help="Trinity assembled reads in fasta format"/> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
45 </when> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
46 <when value="fastq"> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
47 <conditional name="read_type"> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
48 <param name= "type" type="select" label="Choose read type" help="Choose read type"> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
49 <option value="single" selected="true">SINGLE END DATA</option> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
50 <option value="paired" selected="false">PAIRED END DATA</option> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
51 </param> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
52 <when value="single"> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
53 <param name="left_fq_single" type="data" format="fastq" label="Left_fq:" help="Left fastq"/> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
54 </when> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
55 <when value="paired"> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
56 <param name="left_fq" type="data" format="fastq" label="Left_fq:" help="Left fastq"/> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
57 <param name="right_fq" type="data" format="fastq" label="Right_fq:" help="Right fastq"/> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
58 </when> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
59 </conditional> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
60 </when> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
61 </conditional> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
62 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
63 <param name="index" type="select" label="Choose reference genome index :" help="Select genome index"> |
2
e5182440ba17
Trying to fix problems with ctat_star_fusion and ctat_metagenomics.
trinity_ctat
parents:
1
diff
changeset
|
64 <options from_data_table="ctat_centrifuge_indexes" /> |
0
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
65 </param> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
66 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
67 </inputs> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
68 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
69 <outputs> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
70 <data format="txt" name="classification_results" label="Centrifuge classification output" from_work_dir="centrifuge/classification.results.txt"/> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
71 <data format="txt" name="classification_report" label="Centrifuge summary output" from_work_dir="centrifuge/classification.report.txt"/> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
72 <data format="txt" name="kraken_style_report" label="Kraken-style report" from_work_dir="centrifuge/kraken_style_report.txt"/> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
73 </outputs> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
74 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
75 <tests> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
76 <test> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
77 <!-- The following test uses one file that is unpaired reads. |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
78 --> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
79 <param name="format" value="fastq" /> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
80 <param name="type" value="single" /> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
81 <param name="left_fq_single" value="centrifuge/SRR2219890_1.adj.fastq" /> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
82 <param name="index" value="/N/dc2/projects/galaxyshared/trinity/dev/Trinity_CTAT/metagenomics/phv" /> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
83 <output name="classification_results" > |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
84 <assert_contents> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
85 <has_line_matching expression=".+" /> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
86 <has_line line="readID	seqID	taxID	score	2ndBestScore	hitLength	queryLength	numMatches" /> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
87 </assert_contents> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
88 </output> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
89 <output name="classification_report" file="centrifuge/SRR2219890_1.classification.report.txt" /> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
90 <output name="kraken_style_report" file="centrifuge/SRR2219890_1.kraken_style_report.txt" /> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
91 </test> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
92 </tests> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
93 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
94 <help> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
95 .. class:: infomark |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
96 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
97 **Centrifuge is a novel microbial classification engine that enables rapid, accurate, and sensitive labeling of reads and quantification of species** |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
98 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
99 For more information: |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
100 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
101 https://ccb.jhu.edu/software/centrifuge/manual.shtml#what-is-centrifuge |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
102 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
103 The publication documenting Centrifuge can be found here: |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
104 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
105 http://genome.cshlp.org/content/early/2016/11/16/gr.210641.116.abstract |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
106 |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
107 </help> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
108 </tool> |
cfb4fc1e820d
Revamp and renaming of previous tools. Many of tools are new versions. Adding ctat_metagenomics tool.
trinity_ctat
parents:
diff
changeset
|
109 |