Mercurial > repos > iuc > qiime_multiple_split_libraries_fastq
comparison multiple_split_libraries_fastq.xml @ 0:0a7b6f4036dd draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit c9bf747b23b4a9d6adc20c7740b9247c22654862
author | iuc |
---|---|
date | Thu, 18 May 2017 09:28:16 -0400 |
parents | |
children | a8bff14347ec |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0a7b6f4036dd |
---|---|
1 <tool id="qiime_multiple_split_libraries_fastq" name="Split multiple FastQ librairies" version="@WRAPPER_VERSION@.0"> | |
2 <description>to performs demultiplexing</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <version_command>multiple_split_libraries_fastq.py -v</version_command> | |
8 <command detect_errors="aggressive"><![CDATA[ | |
9 mkdir input | |
10 && | |
11 #for $i, $s in enumerate( $input_files ) | |
12 ln -s '$s.reads' input/reads_${i}.fastq | |
13 && | |
14 ln -s '$s.barcodes' input/barcodes_${i}.fastq | |
15 && | |
16 ln -s '$s.mapping' input/mapping_${i}.txt | |
17 && | |
18 #end for | |
19 multiple_split_libraries_fastq.py | |
20 --input_dir 'input' | |
21 --output_dir 'output' | |
22 --demultiplexing_method 'mapping_barcode_files' | |
23 #if $parameter_fp | |
24 --parameter_fp '$parameter_fp' | |
25 #end if | |
26 --read_indicator 'reads_' | |
27 --barcode_indicator 'barcodes_' | |
28 --mapping_indicator 'mapping_' | |
29 --mapping_extensions 'txt' | |
30 --leading_text '$leading_text' | |
31 --trailing_text '$trailing_text' | |
32 --sampleid_indicator '.' | |
33 ]]></command> | |
34 <inputs> | |
35 <repeat name="input_files" title="Input files"> | |
36 <param name="reads" type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz,fastq.bz2,fastqsanger.bz2" label="Read file"/> | |
37 <param name="barcodes" type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz,fastq.bz2,fastqsanger.bz2" label="Barcode file"/> | |
38 <param name="mapping" type="data" format="txt,tsv,tabular" label="Mapping file"/> | |
39 </repeat> | |
40 <param argument="--demultiplexing_method" type="select" label="Method for demultiplexing"> | |
41 <!--<option value="sampleid_by_file" selected="true">Each read file will be used to generate the –sample_ids value passed to split_libraries_fastq.py</option>--> | |
42 <option value="mapping_barcode_file">Search for barcodes and mapping files that match the input read files</option> | |
43 </param> | |
44 <param argument="--parameter_fp" type="data" format="txt" label="Parameter file" help="It specifies changes to the default behavior of join_paired_ends.py" optional="true"/> | |
45 <param argument="--leading_text" type="text" value="" label="Leading text to add to each join_paired_ends.py command"/> | |
46 <param argument="--trailing_text" type="text" value="" label="Trailing text to add to each join_paired_ends.py command"/> | |
47 </inputs> | |
48 <outputs> | |
49 <data name="seq" format="fastq" label="${tool.name} on ${on_string}: Sequences" from_work_dir="output/seqs.fna" /> | |
50 <data name="histogram" format="txt" from_work_dir="output/histograms.txt" label="${tool.name} on ${on_string}: Histograms"/> | |
51 <data name="log" format="txt" from_work_dir="output/log_*" label="${tool.name} on ${on_string}: Log"/> | |
52 </outputs> | |
53 <tests> | |
54 <test> | |
55 <repeat name="input_files"> | |
56 <param name="reads" value="multiple_split_libraries_fastq/input/reads_1.fastq"/> | |
57 <param name="barcodes" value="multiple_split_libraries_fastq/input/barcodes_1.fastq"/> | |
58 <param name="mapping" value="multiple_split_libraries_fastq/input/mapping_1.txt"/> | |
59 </repeat> | |
60 <repeat name="input_files"> | |
61 <param name="reads" value="multiple_split_libraries_fastq/input/reads_2.fastq"/> | |
62 <param name="barcodes" value="multiple_split_libraries_fastq/input/barcodes_2.fastq"/> | |
63 <param name="mapping" value="multiple_split_libraries_fastq/input/mapping_2.txt"/> | |
64 </repeat> | |
65 <param name="leading_text" value=""/> | |
66 <param name="trailing_text" value=""/> | |
67 <output name="seq" md5="c146828efa459ec7227fcbcd6e5d4cdc"/> | |
68 <output name="histogram" md5="5f1f73dded81cbed9f1892aabdc2cbb3"/> | |
69 </test> | |
70 <test> | |
71 <repeat name="input_files"> | |
72 <param name="reads" value="multiple_split_libraries_fastq/input/reads_1.fastq"/> | |
73 <param name="barcodes" value="multiple_split_libraries_fastq/input/barcodes_1.fastq"/> | |
74 <param name="mapping" value="multiple_split_libraries_fastq/input/mapping_1.txt"/> | |
75 </repeat> | |
76 <repeat name="input_files"> | |
77 <param name="reads" value="multiple_split_libraries_fastq/input/reads_2.fastq"/> | |
78 <param name="barcodes" value="multiple_split_libraries_fastq/input/barcodes_2.fastq"/> | |
79 <param name="mapping" value="multiple_split_libraries_fastq/input/mapping_2.txt"/> | |
80 </repeat> | |
81 <param name="parameter_fp" value="multiple_split_libraries_fastq/qiime_parameters.txt" /> | |
82 <param name="leading_text" value=""/> | |
83 <param name="trailing_text" value=""/> | |
84 <output name="seq" md5="c146828efa459ec7227fcbcd6e5d4cdc"/> | |
85 <output name="histogram" md5="5f1f73dded81cbed9f1892aabdc2cbb3"/> | |
86 </test> | |
87 </tests> | |
88 <help><![CDATA[ | |
89 **What it does** | |
90 | |
91 In addition to using PCoA, it can be useful to cluster samples using UPGMA (Unweighted Pair Group Method with Arithmetic mean, also known as average linkage). As with PCoA, the input to this step is a distance matrix (i.e. resulting file from beta_diversity.py). | |
92 The output is a newick formatted tree compatible with most standard tree viewing programs. Batch processing is also available, allowing the analysis of an entire directory of distance matrices. | |
93 ]]></help> | |
94 <citations> | |
95 <expand macro="citations"/> | |
96 </citations> | |
97 </tool> |