annotate chira_collapse.xml @ 17:05996586c8b3 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 8064fa653fe73c9432c76783d6c635d86548d538"
author iuc
date Sun, 19 Dec 2021 15:47:57 +0000
parents 75342b9ef628
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
05996586c8b3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 8064fa653fe73c9432c76783d6c635d86548d538"
iuc
parents: 16
diff changeset
1 <tool id="chira_collapse" name="ChiRA collapse" version="@TOOL_VERSION@1">
0
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
2 <description>deduplicate fastq reads</description>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
3 <macros>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
5 </macros>
17
05996586c8b3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 8064fa653fe73c9432c76783d6c635d86548d538"
iuc
parents: 16
diff changeset
6 <expand macro="bio_tools"/>
0
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
7 <expand macro="requirements" />
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
8 <command><![CDATA[
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
9 chira_collapse.py
15
00187b27f5e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents: 0
diff changeset
10 -i
00187b27f5e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents: 0
diff changeset
11 #if $in.ext.endswith(".gz")
00187b27f5e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents: 0
diff changeset
12 <(gunzip -c '$in')
00187b27f5e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents: 0
diff changeset
13 #else
00187b27f5e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents: 0
diff changeset
14 '$in'
00187b27f5e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents: 0
diff changeset
15 #end if
0
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
16 -u '$umi_len'
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
17 -o '$out'
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
18 ]]></command>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
19
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
20 <inputs>
15
00187b27f5e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents: 0
diff changeset
21 <param format="fastq,fastq.gz" name="in" type="data" label="Input FASTQ file"/>
0
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
22 <param name="umi_len" type="integer" value="0"
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
23 label="Length of the UMI if present at the 5' end of your reads"/>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
24 </inputs>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
25 <outputs>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
26 <data format="fasta" name="out" label="ChiRA collapse FASTQ on ${on_string}"/>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
27 </outputs>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
28
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
29 <tests>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
30 <test expect_num_outputs="1">
15
00187b27f5e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents: 0
diff changeset
31 <param name="in" value="reads.fastq.gz" ftype="fastq.gz"/>
0
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
32 <output name="out" file="reads.fasta" />
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
33 </test>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
34 </tests>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
35
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
36 <help>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
37
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
38 .. class:: infomark
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
39
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
40 **What it does**
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
41
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
42 This tool deduplicates the reads from the FASTQ file and writes into a fasta each read once with it's read count.
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
43
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
44 **Inputs**
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
45
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
46 * Quality and adapter trimmed FASTQ file
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
47
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
48 **Outputs**
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
49
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
50 * FASTA file with unique sequences. The headers of the sequence are in the following format: >sequence_id|UMI|read_count
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
51
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
52 </help>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
53 <expand macro="citations" />
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
54 </tool>