annotate sinto_barcode.xml @ 3:fb61eb03e313 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit 4a156b17a386e1ecf13dfb2b232a1fc7d8344adc
author iuc
date Tue, 05 Nov 2024 11:51:48 +0000
parents d1b34ac42b8f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
1 <tool id="sinto_barcode" name="Sinto barcode" profile="20.01" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
2 <description>add cell barcodes to FASTQ read names</description>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
3 <macros>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
4 <import>macros.xml</import>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
5 </macros>
3
fb61eb03e313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit 4a156b17a386e1ecf13dfb2b232a1fc7d8344adc
iuc
parents: 1
diff changeset
6 <expand macro="bio_tools"/>
0
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
7 <requirements>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">sinto</requirement>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
9 </requirements>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
10 <version_command>sinto --version</version_command>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
11 <command><![CDATA[
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
12 ln -s '$barcode_fastq' barcodes.fastq.gz &&
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
13 ln -s '${fastq_input.read1_fastq}' read1.fastq.gz &&
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
14 #if str( $fastq_input.fastq_input_selector ) == "paired":
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
15 ln -s '${fastq_input.read2_fastq}' read2.fastq.gz &&
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
16 #end if
3
fb61eb03e313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit 4a156b17a386e1ecf13dfb2b232a1fc7d8344adc
iuc
parents: 1
diff changeset
17 sinto barcode
fb61eb03e313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit 4a156b17a386e1ecf13dfb2b232a1fc7d8344adc
iuc
parents: 1
diff changeset
18 --barcode_fastq barcodes.fastq.gz
0
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
19 --read1 read1.fastq.gz
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
20 #if str( $fastq_input.fastq_input_selector ) == "paired":
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
21 --read2 read2.fastq.gz
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
22 #end if
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
23 --bases $bases
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
24 ]]> </command>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
25 <inputs>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
26 <param type="data" name="barcode_fastq" format="fastqsanger.gz" label="FASTQ file containing cell barcode sequences" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
27 <conditional name="fastq_input">
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
28 <param name="fastq_input_selector" type="select" label="Single or Paired-end data">
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
29 <option value="paired">Paired</option>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
30 <option value="single">Single</option>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
31 </param>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
32 <when value="paired">
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
33 <param name="read1_fastq" type="data" format="fastqsanger.gz" label="Forward reads FASTQ file" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
34 <param name="read2_fastq" type="data" format="fastqsanger.gz" label="Reverse reads FASTQ file" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
35 </when>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
36 <when value="single">
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
37 <param name="read1_fastq" type="data" format="fastqsanger.gz" label="Select FASTQ file" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
38 </when>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
39 </conditional>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
40 <param type="integer" name="bases" value="16" min="0" label="Number of bases to extract from barcode-containing FASTQ" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
41 </inputs>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
42 <outputs>
1
d1b34ac42b8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit e61735c77351c0e1886b16f04687f384b8f4d2c8
iuc
parents: 0
diff changeset
43 <data name='read1_out' format='fastqsanger.gz' label="${tool.name} on ${on_string}: barcoded read 1" from_work_dir="read1.barcoded.fastq.gz" />
d1b34ac42b8f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit e61735c77351c0e1886b16f04687f384b8f4d2c8
iuc
parents: 0
diff changeset
44 <data name='read2_out' format='fastqsanger.gz' label="${tool.name} on ${on_string}: barcoded read 2" from_work_dir="read2.barcoded.fastq.gz" >
0
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
45 <filter>fastq_input['fastq_input_selector'] == 'paired'</filter>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
46 </data>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
47 </outputs>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
48 <tests>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
49 <test expect_num_outputs="1">
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
50 <param name="barcode_fastq" value="barcodes.fastq.gz" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
51 <param name="fastq_input_selector" value="single"/>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
52 <param name="read1_fastq" value="read1.fastq.gz" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
53 <output name="read1_out" file="read1.barcoded.fastq.gz" ftype="fastqsanger.gz" decompress="true" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
54 </test>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
55 <test expect_num_outputs="2">
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
56 <param name="barcode_fastq" value="barcodes.fastq.gz" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
57 <param name="fastq_input_selector" value="paired"/>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
58 <param name="read1_fastq" value="read1.fastq.gz" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
59 <param name="read2_fastq" value="read2.fastq.gz" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
60 <output name="read1_out" file="read1.barcoded.fastq.gz" ftype="fastqsanger.gz" decompress="true"/>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
61 <output name="read2_out" file="read2.barcoded.fastq.gz" ftype="fastqsanger.gz" decompress="true"/>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
62 </test>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
63 </tests>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
64 <help><![CDATA[
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
65
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
66 Sinto is a toolkit for processing aligned single-cell data.
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
67 --------------------------------------------------------------------------------------------------------------
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
68 Cell barcodes from one FASTQ file added to the read names of another, or the same, FASTQ file. This is useful when processing raw single-cell sequencing data, as the cell barcode information can easily be propagated to the aligned BAM file by encoding the cell barcode in the read name.
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
69
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
70 **Inputs**
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
71 FASTQ files containing barcodes and forward reads. An optional reverse reads FASTQ file can be provided for paired-end experiments. Note that all the FASTQs must contain the same number of reads and the reads must appear in the same order.
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
72
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
73 **Outputs**
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
74 FASTQ files with the read names modified to contain the cell barcode sequence at the beginning of the read name, separated from the original read name by a : character.
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
75
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
76 ]]> </help>
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
77 <expand macro="citations" />
3780db0073f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
78 </tool>