annotate yac.xml @ 7:396bc2c718a1 draft default tip

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit a30e10dfaf7ba8a1b6e38075f058b11186790c74
author artbio
date Tue, 29 Nov 2022 08:58:44 +0000
parents acbf910cd2ae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
396bc2c718a1 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit a30e10dfaf7ba8a1b6e38075f058b11186790c74
artbio
parents: 6
diff changeset
1 <tool id="yac" name="Clip adapter" version="2.5.1">
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
2 <description />
5
6bfb7e333280 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 9c5f0b8e89dfe4347c610f42923f0acad2ecc81b"
artbio
parents: 4
diff changeset
3 <requirements>
6bfb7e333280 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 9c5f0b8e89dfe4347c610f42923f0acad2ecc81b"
artbio
parents: 4
diff changeset
4 <requirement type="package" version="3.7.6">python</requirement>
6bfb7e333280 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 9c5f0b8e89dfe4347c610f42923f0acad2ecc81b"
artbio
parents: 4
diff changeset
5 </requirements>
2
da08e89abd18 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 4767dcb09e8bb26a38ea458b2cf4f9d98a4afb95
artbio
parents: 1
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
da08e89abd18 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 4767dcb09e8bb26a38ea458b2cf4f9d98a4afb95
artbio
parents: 1
diff changeset
7 python $__tool_directory__/yac.py
da08e89abd18 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 4767dcb09e8bb26a38ea458b2cf4f9d98a4afb95
artbio
parents: 1
diff changeset
8 --input $input
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
9 --output 'clip.tmp'
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
10 --output_format
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
11 #if $out_format == 'fasta' or $out_format == 'fastagz':
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
12 'fasta'
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
13 #else
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
14 'fastq'
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
15 #end if
2
da08e89abd18 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 4767dcb09e8bb26a38ea458b2cf4f9d98a4afb95
artbio
parents: 1
diff changeset
16 --adapter_to_clip $clip_source.clip_sequence
da08e89abd18 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 4767dcb09e8bb26a38ea458b2cf4f9d98a4afb95
artbio
parents: 1
diff changeset
17 --min $min
da08e89abd18 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 4767dcb09e8bb26a38ea458b2cf4f9d98a4afb95
artbio
parents: 1
diff changeset
18 --max $max
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
19 --Nmode $Nmode &&
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
20 #if ($out_format == 'fastagz') or ($out_format == 'fastqgz'):
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
21 gzip -c 'clip.tmp' > $output
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
22 #else
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
23 mv clip.tmp $output
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
24 #end if
2
da08e89abd18 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 4767dcb09e8bb26a38ea458b2cf4f9d98a4afb95
artbio
parents: 1
diff changeset
25 ]]></command>
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
26 <inputs>
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
27 <param format="fasta,fastq" label="Source file" name="input" type="data" />
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
28 <param label="min size" name="min" size="4" type="integer" value="15" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
29 <param label="max size" name="max" size="4" type="integer" value="36" />
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
30 <param label="Select output format" name="out_format" type="select"
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
31 help="be careful not to select a fastq format for your output if your input has a fasta format">
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
32 <option value="fasta">Fasta</option>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
33 <option value="fastq" selected="true" >Fastq (Sanger)</option>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
34 <option value="fastagz">gzipped Fasta</option>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
35 <option value="fastqgz">gzipped Fastq (Sanger)</option>
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
36 </param>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
37 <param label="Accept reads containing N?" name="Nmode" type="select">
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
38 <option selected="True" value="accept">accept</option>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
39 <option value="reject">reject</option>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
40 </param>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
41 <conditional name="clip_source">
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
42 <param help="Built-in adapters or User-provided" label="Source" name="clip_source_list" type="select">
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
43 <option selected="True" value="prebuilt">Use a built-in adapter (select from the list below)</option>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
44 <option value="user">Use custom sequence</option>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
45 </param>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
46 <when value="prebuilt">
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
47 <param help="if your adapter is not listed, input your own sequence" label="Select Adapter to clip" name="clip_sequence" type="select">
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
48 <option value="TCGTATGCCGTCTTCTGCTTG">Solexa TCGTATGCCGTCTTCTGCTTG</option>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
49 <option value="ATCTCGTATGCCGTCTTCTGCTT">Illumina ATCTCGTATGCCGTCTTCTGCTT</option>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
50 <option selected="True" value="TGGAATTCTCGGGTGCCAAG">Illumina TruSeq TGGAATTCTCGGGTGCCAAG</option>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
51 <option value="CTGTAGGCACCATCAATCGT">IdT CTGTAGGCACCATCAATCGT</option>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
52 </param>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
53 </when>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
54 <when value="user">
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
55 <param label="Enter your Sequence" name="clip_sequence" size="35" type="text" value="GAATCC" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
56 </when>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
57 </conditional>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
58 </inputs>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
59 <outputs>
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
60 <data format_source="input" metadata_source="input" name="output" label="Clipped ${input.name}-then-${out_format}">
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
61 <change_format>
1
7c913274e22a planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 7edb6f8c9744ec9bccee42aecf80207f0984330c
artbio
parents: 0
diff changeset
62 <when input="out_format" value="fasta" format="fasta" />
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
63 <when input="out_format" value="fastq" format="fastqsanger" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
64 <when input="out_format" value="fastagz" format="fasta.gz" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
65 <when input="out_format" value="fastqgz" format="fastqsanger.gz" />
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
66 </change_format>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
67 </data>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
68 </outputs>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
69 <tests>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
70 <test>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
71 <param ftype="fastqsanger" name="input" value="yac.fastq" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
72 <param name="min" value="18" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
73 <param name="max" value="29" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
74 <param name="clip_source_list" value="prebuilt" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
75 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
76 <param name="Nmode" value="accept" />
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
77 <param name="out_format" value="fastq" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
78 <output file="out.fastqsanger" name="output" />
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
79 </test>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
80 <test>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
81 <param ftype="fastqsanger" name="input" value="yac.fastq" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
82 <param name="min" value="18" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
83 <param name="max" value="29" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
84 <param name="clip_source_list" value="prebuilt" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
85 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" />
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
86 <param name="Nmode" value="accept" />
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
87 <param name="out_format" value="fasta" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
88 <output file="out.fasta" name="output" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
89 </test>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
90 <test>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
91 <param ftype="fastqsanger.gz" name="input" value="yac.fastqsanger.gz" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
92 <param name="min" value="18" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
93 <param name="max" value="29" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
94 <param name="clip_source_list" value="prebuilt" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
95 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
96 <param name="Nmode" value="accept" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
97 <param name="out_format" value="fastqgz" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
98 <output file="out.fastqsanger.gz" name="output" decompress="True" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
99 </test>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
100 <test>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
101 <param ftype="fastqsanger.gz" name="input" value="yac.fastqsanger.gz" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
102 <param name="min" value="18" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
103 <param name="max" value="29" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
104 <param name="clip_source_list" value="prebuilt" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
105 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
106 <param name="Nmode" value="accept" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
107 <param name="out_format" value="fastagz" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
108 <output file="out.fasta.gz" name="output" decompress="True" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
109 </test>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
110 <test>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
111 <param ftype="fasta.gz" name="input" value="yac.fasta.gz" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
112 <param name="min" value="18" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
113 <param name="max" value="29" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
114 <param name="clip_source_list" value="prebuilt" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
115 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
116 <param name="out_format" value="fasta" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
117 <param name="Nmode" value="accept" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
118 <output file="out.fasta" name="output" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
119 </test>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
120 <test>
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
121 <param ftype="fasta.gz" name="input" value="yac.fasta.gz" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
122 <param name="min" value="18" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
123 <param name="max" value="29" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
124 <param name="clip_source_list" value="prebuilt" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
125 <param name="clip_sequence" value="ATCTCGTATGCCGTCTTCTGCTT" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
126 <param name="Nmode" value="accept" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
127 <param name="out_format" value="fastagz" />
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
128 <output file="out.fasta.gz" name="output" decompress="True" />
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
129 </test>
4
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
130 <test>
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
131 <param ftype="fastqsanger.gz" name="input" value="yac_with_empty_reads.fastqsanger.gz" />
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
132 <param name="min" value="18" />
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
133 <param name="max" value="30" />
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
134 <param name="clip_source_list" value="prebuilt" />
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
135 <param name="clip_sequence" value="TGGAATTCTCGGGTGCCAAG" />
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
136 <param name="Nmode" value="accept" />
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
137 <param name="out_format" value="fastagz" />
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
138 <output file="out_with_empty_reads.fasta.gz" name="output" decompress="True" />
f7947c5a18b8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 48768de9d682fb80c4981cd52ef724fdf8f6961e
artbio
parents: 3
diff changeset
139 </test>
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
140 </tests>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
141 <help>
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
142
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
143 **What it does**
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
144
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
145 + Clips adapter sequences
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
146 + Renumbers sequence headers
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
147 + Filters sequences on their size
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
148 + Filters sequences containing unknown nucleotides (optional)
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
149
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
150 -------
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
151
7
396bc2c718a1 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit a30e10dfaf7ba8a1b6e38075f058b11186790c74
artbio
parents: 6
diff changeset
152 yac_clipper clips 7nt long motives in 5' of adapter sequences. *It is accepting 1 mismatch in the searched 7nt motif.*
6
acbf910cd2ae planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit a3e2a5c2c8d914a574ef35b0f1864ddbde70611b
artbio
parents: 5
diff changeset
153
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
154 **Inputs**
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
155
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
156 1. A fastq or fasta file of reads to be clipped
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
157 2. Select the size of the reads to be kept
3
94d67b195acd planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 6884c90d521932ae0981532929db9f5f44c8b4a2
artbio
parents: 2
diff changeset
158 3. Select an output format. When input is a fastq file, this may be fastq or fasta, whereas
7
396bc2c718a1 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit a30e10dfaf7ba8a1b6e38075f058b11186790c74
artbio
parents: 6
diff changeset
159 when input is a fasta file, this only may be a fasta.
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
160 4. Select whether you wish or do not wish to keep clipped sequences with unknown nucleotides (N)
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
161 5. Select a pre-built adapter sequence or enter your own sequence (at least 7 nucleotides long)
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
162
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
163 -------
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
164
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
165 **Output**
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
166
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
167 A fastq or fasta file containing clipped sequences satisfying the selected criteria.
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
168
2
da08e89abd18 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 4767dcb09e8bb26a38ea458b2cf4f9d98a4afb95
artbio
parents: 1
diff changeset
169 </help>
da08e89abd18 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit 4767dcb09e8bb26a38ea458b2cf4f9d98a4afb95
artbio
parents: 1
diff changeset
170 <citations />
0
ad6b978daa2e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/yac_clipper commit e9cf2978954c546bb90eb11931f9cfd6562156f3
artbio
parents:
diff changeset
171 </tool>