annotate sinto_fragments.xml @ 0:b6009d0098d7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
author iuc
date Thu, 13 Apr 2023 11:03:34 +0000
parents
children 02f96be6c3c9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
1 <tool id="sinto_fragments" name="Sinto fragments" profile="20.01" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
2 <description>Create an ATAC-seq fragment file from a BAM file</description>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
3 <macros>
b6009d0098d7 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>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
5 </macros>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
6 <requirements>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">sinto</requirement>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
8 </requirements>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
9 <version_command>sinto --version</version_command>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
10 <command><![CDATA[
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
11 ln -s '$bam' 'input.bam' &&
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
12 ln -s '$bam.metadata.bam_index' 'input.bam.bai' &&
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
13 sinto fragments
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
14 --bam 'input.bam'
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
15 --min_mapq $min_mapq
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
16 --barcodetag '$barcodetag'
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
17 --barcode_regex '${ str( $barcode_regex ) }'
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
18 --max_distance $max_distance
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
19 --min_distance $min_distance
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
20 --shift_plus $shift_plus
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
21 --shift_minus $shift_minus
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
22 $collapse_within
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
23 --fragments $fragments
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
24 --nproc "\${GALAXY_SLOTS:-1}"
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
25 ]]> </command>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
26 <inputs>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
27 <param argument="--bam" type="data" format="bam" label="Input BAM file" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
28 <param argument="--min_mapq" type="integer" value="30" min="0" label="Minimum MAPQ required to retain fragment" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
29 <param argument="--barcodetag" type="text" value="CB" label="Read tag storing cell barcode information" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
30 <param argument="--barcode_regex" type="text" value="[^:]*" label="Read tag storing cell barcode information"
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
31 help="[^:]* matches all characters up to the first colon" >
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
32 <sanitizer>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
33 <valid initial="string.printable">
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
34 <remove value="&apos;" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
35 </valid>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
36 </sanitizer>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
37 </param>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
38 <param argument="--max_distance" type="integer" value="5000" min="0" label="Maximum distance between integration sites for the fragment to be retained"
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
39 help="Allows filtering of implausible fragments that likely result from incorrect mapping positions. Default is 5000 bp."/>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
40 <param argument="--min_distance" type="integer" value="10" min="0" label="Minimum distance between integration sites for the fragment to be retained"
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
41 help="Allows filtering of implausible fragments that likely result from incorrect mapping positions. Default is 5000 bp."/>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
42 <param argument="--shift_plus" type="integer" value="4" label="Minimum MAPQ required to retain fragment" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
43 <param argument="--shift_minus" type="integer" value="-5" label="Minimum MAPQ required to retain fragment" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
44 <param argument="--collapse_within" type="boolean" truevalue="--collapse_within" falsevalue="" label="Take cell barcode into account
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
45 when collapsing duplicate fragments" help="Setting this flag means that fragments with the same coordinates can be identified
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
46 provided they originate from a different cell barcode." />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
47 </inputs>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
48 <outputs>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
49 <data name='fragments' format='bed' label="${tool.name} on ${on_string}: fragments" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
50 </outputs>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
51 <tests>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
52 <test expect_num_outputs="1">
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
53 <param name="bam" ftype="bam" value="aligned.bam" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
54 <output name="fragments">
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
55 <assert_contents>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
56 <has_text_matching expression="chrY\t2790323\t2790683\tAACTGGTAGCTCCGGT\t2" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
57 <has_text_matching expression="chrY\t3680091\t3680228\tGACCGACGTACGGTTT\t2" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
58 </assert_contents>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
59 </output>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
60 </test>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
61 <test expect_num_outputs="1">
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
62 <param name="bam" ftype="bam" value="aligned.bam" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
63 <param name="shift_plus" value="4" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
64 <param name="shift_minus" value="5" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
65 <output name="fragments">
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
66 <assert_contents>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
67 <has_text_matching expression="chrY\t2790323\t2790693\tAACTGGTAGCTCCGGT\t2" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
68 <has_text_matching expression="chrY\t3680091\t3680238\tGACCGACGTACGGTTT\t2" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
69 </assert_contents>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
70 </output>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
71 </test>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
72 </tests>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
73 <help><![CDATA[
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
74
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
75 Sinto: single-cell analysis tools
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
76 --------------------------------------------------------------------------------------------------------------
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
77 An ATAC-seq fragment file can be created from a BAM file using the fragments command. The fragment file contains the position of each
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
78 Tn5 integration site, the cell barcode associated with the fragment, and the number of times the fragment was sequenced. PCR duplicates are collapsed.
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
79
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
80 **Input**
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
81 A BAM file. Alignments in the input BAM file must contain cell barcodes either as a part of read names or in a tag (typically, in CB tag).
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
82
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
83 **Output**
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
84 The fragment file. It contains the positions of Tn5 integration sites, the cell barcode that the DNA fragment originated from, and the number of times
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
85 the fragment was sequenced.
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
86
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
87 ]]> </help>
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
88 <expand macro="citations" />
b6009d0098d7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sinto commit a836e4e010093207186d4d7839bbba702a15c18f
iuc
parents:
diff changeset
89 </tool>