annotate porechop.xml @ 3:543cbeef3949 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 6ea6e816d7c92599628ab3c0a0826fb7476270b0"
author iuc
date Thu, 24 Feb 2022 20:08:33 +0000
parents 5f76b20953e5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
543cbeef3949 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 6ea6e816d7c92599628ab3c0a0826fb7476270b0"
iuc
parents: 2
diff changeset
1 <tool id="porechop" name="Porechop" version="@WRAPPER_VERSION@+galaxy0" profile="20.01">
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
2 <description>adapter trimmer for Oxford Nanopore reads</description>
2
5f76b20953e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit e68e5869f08e66fbe2787f23b58c1d66e61d9df2"
iuc
parents: 1
diff changeset
3 <macros>
5f76b20953e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit e68e5869f08e66fbe2787f23b58c1d66e61d9df2"
iuc
parents: 1
diff changeset
4 <token name="@WRAPPER_VERSION@">0.2.4</token>
5f76b20953e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit e68e5869f08e66fbe2787f23b58c1d66e61d9df2"
iuc
parents: 1
diff changeset
5 </macros>
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
6 <requirements>
2
5f76b20953e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit e68e5869f08e66fbe2787f23b58c1d66e61d9df2"
iuc
parents: 1
diff changeset
7 <requirement type="package" version="@WRAPPER_VERSION@">porechop</requirement>
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
8 </requirements>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
9 <version_command>porechop --version</version_command>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
11 porechop
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
12 -i '$input_file'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
13 --format '$format'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
14 --barcode_threshold '$barcode_binning_settings.barcode_threshold'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
15 --barcode_diff '$barcode_binning_settings.barcode_diff'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
16 $barcode_binning_settings.require_two_barcodes
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
17 $barcode_binning_settings.discard_unassigned
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
18 --adapter_threshold '$adapter_search_settings.adapter_threshold'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
19 --check_reads '$adapter_search_settings.check_reads'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
20 --scoring_scheme '$adapter_search_settings.scoring_scheme'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
21 --end_size '$end_adapter_settings.end_size'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
22 --min_trim_size '$end_adapter_settings.min_trim_size'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
23 --extra_end_trim '$end_adapter_settings.extra_end_trim'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
24 --end_threshold '$end_adapter_settings.end_threshold'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
25 $middle_adapter_settings.no_split
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
26 $middle_adapter_settings.discard_middle
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
27 --middle_threshold '$middle_adapter_settings.middle_threshold'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
28 --extra_middle_trim_good_side '$middle_adapter_settings.extra_middle_trim_good_side'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
29 --extra_middle_trim_bad_side '$middle_adapter_settings.extra_middle_trim_bad_side'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
30 --min_split_read_size '$middle_adapter_settings.min_split_read_size'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
31 -o 'out.$format'
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
32
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
33 ]]></command>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
34 <inputs>
3
543cbeef3949 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 6ea6e816d7c92599628ab3c0a0826fb7476270b0"
iuc
parents: 2
diff changeset
35 <param name="input_file" type="data" format="fasta,fasta.gz,fastqsanger,fastqsanger.gz,fastq,fastq.gz" label="Input FASTA/FASTQ" help="FASTA/FASTQ of input reads" />
1
93d623d9979c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 4155cc1e26dd6e647d882a550b5278141ab39314
iuc
parents: 0
diff changeset
36 <param name="format" type="select" label="Output format for the reads" help="Output format for the reads">
93d623d9979c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 4155cc1e26dd6e647d882a550b5278141ab39314
iuc
parents: 0
diff changeset
37 <option selected="True" value="fasta">fasta</option>
93d623d9979c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 4155cc1e26dd6e647d882a550b5278141ab39314
iuc
parents: 0
diff changeset
38 <option value="fastq">fastq</option>
93d623d9979c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 4155cc1e26dd6e647d882a550b5278141ab39314
iuc
parents: 0
diff changeset
39 <option value="fasta.gz">fasta.gz</option>
93d623d9979c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 4155cc1e26dd6e647d882a550b5278141ab39314
iuc
parents: 0
diff changeset
40 <option value="fastq.gz">fastq.gz</option>
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
41 </param>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
42 <section name="barcode_binning_settings" title="Barcode binning settings">
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
43 <param argument="--barcode_threshold" type="float" min="0" max="100" value="75.0" optional="True" label="Percent identity for binning"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
44 help="A read must have at least this percent identity to a barcode to be binned (default: 75.0)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
45 <param argument="--barcode_diff" type="float" min="0" max="100" value="5.0" optional="True" label="Minimum difference in identity"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
46 help="If the difference between a read's best barcode identity and its second-best barcode identity is less than this value, it will not be put in a barcode bin (to exclude cases which are too close to call) (default: 5.0)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
47 <param argument="--require_two_barcodes" type="boolean" checked="false" truevalue="--require_two_barcodes" falsevalue="" label="Require two matches for binning"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
48 help="Reads will only be put in barcode bins if they have a strong match for the barcode on both their start and end (default: a read can be binned with a match at its start or end)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
49 <param argument="--discard_unassigned" type="boolean" checked="false" truevalue="--discard_unassigned" falsevalue="" label="Discard unassigned reads"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
50 help="Discard unassigned reads (instead of creating a 'none' bin) (default: False)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
51 </section>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
52 <section name="adapter_search_settings" title="Adapter search settings">
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
53 <param argument="--adapter_threshold" type="float" min="0" max="100" value="90.0" optional="True" label="Minimum identity"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
54 help="An adapter set has to have at least this percent identity to be labelled as present and trimmed off (0 to 100) (default: 90.0)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
55 <param argument="--check_reads" type="integer" min="0" value="10000" optional="True" label="Number of alligned reads"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
56 help="This many reads will be aligned to all possible adapters to determine which adapter sets are present (default: 10000)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
57 <param argument="--scoring_scheme" type="text" value="3,-6,-5,-2" label="Scoring scheme"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
58 help="Comma-delimited string of alignment scores: match, mismatch, gap open, gap extend">
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
59 <validator type="regex" message="Scoring scheme must be comma-separated string of four positive/negative integers">^((-?\d+[,]){3})-?\d+$</validator>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
60 </param>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
61 </section>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
62 <section name="end_adapter_settings" title="End adapter settings">
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
63 <param argument="--end_size" type="integer" min="0" value="150" optional="True" label="Number of bases"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
64 help="The number of base pairs at each end of the read which will be searched for adapter sequences (default: 150)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
65 <param argument="--min_trim_size" type="integer" min="0" value="4" optional="True" label="Minimum trim length"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
66 help="Adapter alignments smaller than this will be ignored (default: 4)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
67 <param argument="--extra_end_trim" type="integer" min="0" value="2" optional="True" label="Extra bases trimmed"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
68 help="This many additional bases will be removed next to adapters found at the ends of reads (default: 2)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
69 <param argument="--end_threshold" type="float" min="0" max="100" value="75.0" optional="True" label="Minimum percent identity"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
70 help="Adapters at the ends of reads must have at least this percent identity to be removed (0 to 100) (default: 75.0)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
71 </section>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
72 <section name="middle_adapter_settings" title="Middle adapter settings">
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
73 <param argument="--no_split" type="boolean" checked="false" truevalue="--no_split" falsevalue="" label="Skip splitting"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
74 help="Skip splitting reads based on middle adapters (default: split reads when an adapter is found in the middle)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
75 <param argument="--discard_middle" type="boolean" checked="false" truevalue="--discard_middle" falsevalue="" label="Discard reads with middle adapter"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
76 help="Reads with middle adapters will be discarded (default: reads with middle adapters are split) (required for reads to be used with Nanopolish, this option is on by default when outputting reads into barcode bins)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
77 <param argument="--middle_threshold" type="float" min="0" max="100" value="85.0" optional="True" label="Minimum percent identity"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
78 help="Adapters in the middle of reads must have at least this percent identity to be found (0 to 100) (default: 85.0)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
79 <param argument="--extra_middle_trim_good_side" type="integer" min="0" value="10" optional="True" label="Extra trimming good side"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
80 help="This many additional bases will be removed next to middle adapters on their 'good' side (default: 10)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
81 <param argument="--extra_middle_trim_bad_side" type="integer" min="0" value="100" optional="True" label="Extra trimming bad side"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
82 help="This many additional bases will be removed next to middle adapters on their 'bad' side (default: 100)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
83 <param argument="--min_split_read_size" type="integer" min="0" value="1000" optional="True" label="Minimum length reads post-split"
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
84 help="Post-split read pieces smaller than this many base pairs will not be outputted (default: 1000)"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
85 </section>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
86 </inputs>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
87 <outputs>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
88 <data name="outfile" format="fasta" from_work_dir="out.*" label="${tool.name} on ${on_string}: Trimmed">
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
89 <change_format>
1
93d623d9979c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 4155cc1e26dd6e647d882a550b5278141ab39314
iuc
parents: 0
diff changeset
90 <when input="format" value="fastq" format="fastqsanger"/>
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
91 <when input="format" value="fasta.gz" format="fasta.gz"/>
1
93d623d9979c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 4155cc1e26dd6e647d882a550b5278141ab39314
iuc
parents: 0
diff changeset
92 <when input="format" value="fastq.gz" format="fastqsanger.gz"/>
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
93 </change_format>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
94 </data>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
95 </outputs>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
96 <tests>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
97 <test>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
98 <param name="input_file" ftype="fasta" value="test_format.fasta"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
99 <param name="format" value="fasta"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
100 <output name="outfile" ftype="fasta" file="out.fasta"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
101 </test>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
102 <test>
2
5f76b20953e5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit e68e5869f08e66fbe2787f23b58c1d66e61d9df2"
iuc
parents: 1
diff changeset
103 <param name="input_file" ftype="fastqsanger.gz" value="test_format.fastq.gz"/>
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
104 <param name="format" value="fastq"/>
1
93d623d9979c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 4155cc1e26dd6e647d882a550b5278141ab39314
iuc
parents: 0
diff changeset
105 <output name="outfile" ftype="fastqsanger" file="out.fastq"/>
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
106 </test>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
107 <test>
3
543cbeef3949 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 6ea6e816d7c92599628ab3c0a0826fb7476270b0"
iuc
parents: 2
diff changeset
108 <param name="input_file" ftype="fastq.gz" value="test_format.fastq.gz"/>
543cbeef3949 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 6ea6e816d7c92599628ab3c0a0826fb7476270b0"
iuc
parents: 2
diff changeset
109 <param name="format" value="fastq"/>
543cbeef3949 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 6ea6e816d7c92599628ab3c0a0826fb7476270b0"
iuc
parents: 2
diff changeset
110 <output name="outfile" ftype="fastqsanger" file="out.fastq"/>
543cbeef3949 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 6ea6e816d7c92599628ab3c0a0826fb7476270b0"
iuc
parents: 2
diff changeset
111 </test>
543cbeef3949 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 6ea6e816d7c92599628ab3c0a0826fb7476270b0"
iuc
parents: 2
diff changeset
112 <test>
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
113 <param name="input_file" ftype="fasta" value="test_format.fasta"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
114 <param name="format" value="fasta.gz"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
115 <output name="outfile" ftype="fasta.gz" file="out.fasta.gz" compare="sim_size"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
116 </test>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
117 <test>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
118 <param name="input_file" ftype="fasta" value="test_format.fasta"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
119 <param name="format" value="fastq.gz"/>
1
93d623d9979c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit 4155cc1e26dd6e647d882a550b5278141ab39314
iuc
parents: 0
diff changeset
120 <output name="outfile" ftype="fastqsanger.gz" file="out.fastq.gz" compare="sim_size"/>
0
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
121 </test>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
122 <test>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
123 <param name="input_file" ftype="fasta" value="test_format.fasta"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
124 <param name="format" value="fasta"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
125 <param name="barcode_threshold" value="70"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
126 <param name="barcode_diff" value="4"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
127 <param name="require_two_barcodes" value="True"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
128 <param name="discard_unassigned" value="True"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
129 <param name="end_size" value="100"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
130 <param name="min_trim_size" value="2"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
131 <param name="extra_end_trim" value="1"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
132 <param name="end_threshold" value="80"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
133 <param name="discard_middle" value="True"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
134 <param name="middle_threshold" value="90"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
135 <param name="extra_middle_trim_good_size" value="3"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
136 <param name="extra_middle_trim_bad_size" value="30"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
137 <param name="min_split_read_size" value="1500"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
138 <output name="outfile" ftype="fasta" file="out_advanced.fasta"/>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
139 </test>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
140 </tests>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
141 <help><![CDATA[
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
142 Porechop is a tool for finding and removing adapters from Oxford Nanopore reads.
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
143 Adapters on the ends of reads are trimmed off, and when a read has an adapter in
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
144 its middle, it is treated as chimeric and chopped into separate reads. Porechop
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
145 performs thorough alignments to effectively find adapters, even at low sequence identity.
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
146
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
147 Porechop also supports demultiplexing of Nanopore reads that were barcoded with
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
148 the Native Barcoding Kit, PCR Barcoding Kit or Rapid Barcoding Kit.
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
149 ]]></help>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
150 <citations>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
151 <citation type="bibtex">
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
152 @misc{rrwick2017,
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
153 author = {Wick, Ryan},
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
154 year = {2017},
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
155 title = {Porechop},
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
156 publisher = {GitHub},
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
157 journal = {GitHub repository},
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
158 url = {https://github.com/rrwick/Porechop},
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
159 }
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
160 </citation>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
161 </citations>
24822689acf8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/porechop commit b8cc84454aedcdbe22d385c1d7067fab599b9090
iuc
parents:
diff changeset
162 </tool>