Mercurial > repos > iuc > chira_collapse
annotate chira_collapse.xml @ 15:00187b27f5e5 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
author | iuc |
---|---|
date | Wed, 07 Apr 2021 12:41:46 +0000 |
parents | 872249f5495a |
children | 75342b9ef628 |
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> |
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> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
7 <command><![CDATA[ |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
8 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
|
9 -i |
00187b27f5e5
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents:
0
diff
changeset
|
10 #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
|
11 <(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
|
12 #else |
00187b27f5e5
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents:
0
diff
changeset
|
13 '$in' |
00187b27f5e5
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents:
0
diff
changeset
|
14 #end if |
0
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
15 -u '$umi_len' |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
16 -o '$out' |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
17 ]]></command> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
18 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
19 <inputs> |
15
00187b27f5e5
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 030e4e8e72dc37ccd64702e093e949d18899ad73"
iuc
parents:
0
diff
changeset
|
20 <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
|
21 <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
|
22 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
|
23 </inputs> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
24 <outputs> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
25 <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
|
26 </outputs> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
27 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
28 <tests> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
29 <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
|
30 <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
|
31 <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
|
32 </test> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
33 </tests> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
34 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
35 <help> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
36 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
37 .. class:: infomark |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
38 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
39 **What it does** |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
40 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
41 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
|
42 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
43 **Inputs** |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
44 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
45 * 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
|
46 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
47 **Outputs** |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
48 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
49 * 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
|
50 |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
51 </help> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
52 <expand macro="citations" /> |
872249f5495a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit e4f841daf49048d6c656d50cffb344b53eebeec2"
iuc
parents:
diff
changeset
|
53 </tool> |