annotate chira_collapse.xml @ 16:75342b9ef628 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 28963347255f1df6efaa8991ad9fc17f86b30a73"
author iuc
date Fri, 24 Sep 2021 06:50:04 +0000
parents 00187b27f5e5
children 05996586c8b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
00187b27f5e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents: 0
diff changeset
1 <tool id="chira_collapse" name="ChiRA collapse" version="@WRAPPER_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>
16
75342b9ef628 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 28963347255f1df6efaa8991ad9fc17f86b30a73"
iuc
parents: 15
diff changeset
3 <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
4 <macros>
872249f5495a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff changeset
5 <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
6 </macros>
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>