Mercurial > repos > iuc > phyloseq_from_biom
comparison phyloseq_from_biom.xml @ 0:c0101c72b8af draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/phyloseq commit 5ec9f9e81bb9a42dec5c331dd23215ca0b027b2b
author | iuc |
---|---|
date | Sat, 16 Mar 2024 07:56:17 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c0101c72b8af |
---|---|
1 <tool id="phyloseq_from_biom" name="Create phyloseq object" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
2 <description>from a BIOM file</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="bio_tools"/> | |
7 <expand macro="requirements"/> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 Rscript '${__tool_directory__}/phyloseq_from_biom.R' | |
10 --BIOMfilename '$BIOMfilename' | |
11 #if $treefilename | |
12 --treefilename '$treefilename' | |
13 --parseFunction $parseFunction | |
14 #end if | |
15 #if $refseqfilename | |
16 --refseqfilename '$refseqfilename' | |
17 #end if | |
18 --output '$output' | |
19 ]]></command> | |
20 <inputs> | |
21 <param argument="BIOMfilename" type="data" format="biom1,biom2" label="BIOM file" help=""/> | |
22 <param argument="treefilename" type="data" format="nex,newick" optional="true" label="Phylogeny" help=""/> | |
23 <param name="parseFunction" type="select" label="Tree label parser" help=""> | |
24 <option value="parse_taxonomy_default">Default</option> | |
25 <option value="parse_taxonomy_greengenes">Greengenes</option> | |
26 <option value="parse_taxonomy_qiime">Qiime</option> | |
27 </param> | |
28 <param argument="refseqfilename" type="data" format="fasta" optional="true" label="Sequences" help=""/> | |
29 </inputs> | |
30 <outputs> | |
31 <data name="output" format="phyloseq"/> | |
32 </outputs> | |
33 <tests> | |
34 <test> | |
35 <param name="BIOMfilename" value="rich_dense_otu_table.biom" ftype="biom1"/> | |
36 <output name="output"> | |
37 <assert_contents> | |
38 <has_size value="880" delta="100"/> | |
39 </assert_contents> | |
40 </output> | |
41 <assert_stdout> | |
42 <has_line line="phyloseq-class experiment-level object"/> | |
43 <has_line line="otu_table() OTU Table: [ 5 taxa and 6 samples ]"/> | |
44 <has_line line="sample_data() Sample Data: [ 6 samples by 4 sample variables ]"/> | |
45 <has_line line="tax_table() Taxonomy Table: [ 5 taxa by 7 taxonomic ranks ]"/> | |
46 <has_n_lines n="4"/> | |
47 </assert_stdout> | |
48 </test> | |
49 <test> | |
50 <param name="BIOMfilename" value="rich_dense_otu_table.biom2" ftype="biom2"/> | |
51 <output name="output"> | |
52 <assert_contents> | |
53 <has_size value="880" delta="100"/> | |
54 </assert_contents> | |
55 </output> | |
56 <assert_stdout> | |
57 <has_line line="phyloseq-class experiment-level object"/> | |
58 <has_line line="otu_table() OTU Table: [ 5 taxa and 6 samples ]"/> | |
59 <has_line line="sample_data() Sample Data: [ 6 samples by 4 sample variables ]"/> | |
60 <has_line line="tax_table() Taxonomy Table: [ 5 taxa by 7 taxonomic ranks ]"/> | |
61 <has_n_lines n="4"/> | |
62 </assert_stdout> | |
63 </test> | |
64 <test> | |
65 <param name="BIOMfilename" value="rich_dense_otu_table.biom" ftype="biom1"/> | |
66 <param name="treefilename" value="biom-tree.phy"/> | |
67 <param name="parseFunction" value="parse_taxonomy_greengenes"/> | |
68 <param name="refseqfilename" value="biom-refseq.fasta"/> | |
69 <output name="output"> | |
70 <assert_contents> | |
71 <has_size value="1880" delta="200"/> | |
72 </assert_contents> | |
73 </output> | |
74 <assert_stdout> | |
75 <has_line line="phyloseq-class experiment-level object"/> | |
76 <has_line line="otu_table() OTU Table: [ 5 taxa and 6 samples ]"/> | |
77 <has_line line="sample_data() Sample Data: [ 6 samples by 4 sample variables ]"/> | |
78 <has_line line="tax_table() Taxonomy Table: [ 5 taxa by 7 taxonomic ranks ]"/> | |
79 <has_line line="phy_tree() Phylogenetic Tree: [ 5 tips and 4 internal nodes ]"/> | |
80 <has_line line="refseq() DNAStringSet: [ 5 reference sequences ]"/> | |
81 <has_n_lines n="6"/> | |
82 </assert_stdout> | |
83 </test> | |
84 </tests> | |
85 <help> | |
86 **What it does** | |
87 | |
88 Read a BIOM file (and optionally sequences and a phylogeny) and store them in a phyloseq object. | |
89 </help> | |
90 <expand macro="citations"/> | |
91 </tool> | |
92 |