annotate extract_bcs.xml @ 3:ceb779d5be5b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a6a6774ae353f915a5ca34af8f281edd91e5c665
author iuc
date Fri, 04 Oct 2024 08:56:36 +0000
parents ce2477cd3d95
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ceb779d5be5b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a6a6774ae353f915a5ca34af8f281edd91e5c665
iuc
parents: 0
diff changeset
1 <tool id="bctools_extract_barcodes" name="Extract barcodes" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
2 <description>according to pattern</description>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
3 <macros>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
4 <import>macros.xml</import>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
5 </macros>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
8 extract_bcs.py
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
9 '$reads'
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
10 #if $barcode_pattern and $barcode_pattern is not None:
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
11 '$barcode_pattern'
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
12 #end if
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
13 --bcs '$extracted_barcodes'
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
14 > '$reads_cleaned'
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
15 ]]></command>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
16 <inputs>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
17 <param name="reads" type="data" format="fastq" label="Barcoded sequences" />
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
18 <param name="barcode_pattern" type="text" label="Pattern for extracting barcode nucleotides" help="Starting at 5'-end. X positions will be moved to a separate file, N positions will be kept.">
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
19 <sanitizer invalid_char="N">
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
20 <valid initial="none">
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
21 <add value="X"/>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
22 <add value="N"/>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
23 </valid>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
24 </sanitizer>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
25 </param>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
26 </inputs>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
27 <outputs>
3
ceb779d5be5b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a6a6774ae353f915a5ca34af8f281edd91e5c665
iuc
parents: 0
diff changeset
28 <data name="reads_cleaned" format="fastq" label="${tool.name} on ${on_string}: Cleaned reads"/>
ceb779d5be5b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a6a6774ae353f915a5ca34af8f281edd91e5c665
iuc
parents: 0
diff changeset
29 <data name="extracted_barcodes" format="fastq" label="${tool.name} on ${on_string}: Barcodes"/>
0
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
30 </outputs>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
31 <tests>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
32 <test>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
33 <param name="reads" value="reads.fastq"/>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
34 <param name="barcode_pattern" value="XXXNNXXX"/>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
35 <output name="reads_cleaned" file="result_original_head.fastq"/>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
36 <output name="extracted_barcodes" file="extracted_bcs.fastq"/>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
37 </test>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
38 </tests>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
39 <help><![CDATA[
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
40
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
41 bctools - Extract barcodes according to pattern
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
42 ===============================================
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
43
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
44 Exract barcodes from a FASTQ file according to a user-specified pattern and write them to a separate FASTQ file.
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
45
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
46 ]]></help>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
47 <expand macro="citations"/>
ce2477cd3d95 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ae3b9baaf7040ed8b165d17466b8b2fe016d3d48
iuc
parents:
diff changeset
48 </tool>