comparison qc3c_kmer.xml @ 0:64d1f6186527 draft default tip

planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/qc3c commit bd5512047445d9a39a198b7cffeba78fe7b9d140-dirty
author thanhlv
date Mon, 07 Oct 2019 04:37:02 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:64d1f6186527
1 <tool id="qc3c_kmer" name="qc3c_kmer" version="@VERSION@">
2 <description>qc3C Kmer-based analysis</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <expand macro="version_command" />
8 <command detect_errors="exit_code"><![CDATA[
9 jellyfish count -m $kmer_size -s 2G -C -o kmers.jf $fastq &&
10
11 qc3C kmer
12 #if str($sample_rate) != "0":
13 -p $sample_rate
14 #end if
15 -s $seed
16 --write_report
17 $verbose
18 -t \${GALAXY_SLOTS:-1}
19 --output-path './out'
20 -m $mean_insert
21 --output-table table.tsv
22 -x $max_coverage
23 -l kmers.jf
24 #if str($neb_name) != "":
25 #for $enzyme in str($neb_name).split(',')
26 -e $enzyme
27 #end for
28 #end if
29 -r $fastq
30 ]]></command>
31
32 <inputs>
33 <param name="fastq" type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz" label="FastQ format reads" />
34 <param name="sample_rate" type="float" min="0" value="0" label="Sample only a proportion of all read-pairs"/>
35 <param name="seed" type="integer" min="1" value="20191902" label="Minimum cluster extent used in output"/>
36 <param name="min_insert" type="integer" min="0" value="0" label="Mean fragment length to use in estimating the unobserved junction rate" />
37 <param name="max_coverage" type="integer" min="0" value="500" label="Ignore regions with more than this coverage" />
38 <param name="kmer_size" type="integer" min="0" value="24" label="Kmer size" />
39 <param name="neb_name" type="text" value="" label="Case-sensitive NEB enzyme name. Use multiple times for
40 multiple enzymes" />
41 <param name="output_table" type="boolean" truevalue="true" falsevalue="" checked="false" label="Save the collected per-read statistics table to a file" />
42 <param name="verbose" type="boolean" truevalue="--verbose" falsevalue="" checked="false" label="Verbose output" />
43 </inputs>
44
45 <outputs>
46 <data name="report" format="json" label="{tool.name} on ${on_string} Report" from_work_dir="out/report.jsonl"/>
47 <data name="table" format="tabular" label="{tool.name} on ${on_string} Table" from_work_dir="out/table.tsv"/>
48 <data name="log" format="text" label="{tool.name} on ${on_string} Log" from_work_dir="out/qc3C.log"/>
49 </outputs>
50
51 <tests>
52 <test>
53 </test>
54 </tests>
55 <help><![CDATA[
56
57 Documentation can be found at `<https://github.com/cerebis/bin3C>`_.
58
59 ]]></help>
60 </tool>