annotate fastq_manipulation.xml @ 3:7861f3b10c68 draft

"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
author devteam
date Fri, 01 Nov 2019 13:24:05 -0400
parents 4ac14b275aca
children 5b87038565bb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
1 <tool id="fastq_manipulation" name="Manipulate FASTQ" version="1.1.1">
3
7861f3b10c68 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 2
diff changeset
2 <options sanitize="false" />
7861f3b10c68 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 2
diff changeset
3 <!-- This tool uses a file to rely all parameter information (actually a dynamically generated python module), we can safely not sanitize any parameters -->
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
4 <description>reads on various attributes</description>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
5 <requirements>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
6 <requirement type="package" version="1.1.1">galaxy_sequence_utils</requirement>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
7 </requirements>
3
7861f3b10c68 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 2
diff changeset
8 <edam_topics>
7861f3b10c68 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 2
diff changeset
9 <edam_topic>topic_0622</edam_topic>
7861f3b10c68 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 2
diff changeset
10 </edam_topics>
7861f3b10c68 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 2
diff changeset
11 <edam_operations>
7861f3b10c68 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 2
diff changeset
12 <edam_operation>operation_0233</edam_operation>
7861f3b10c68 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 2
diff changeset
13 </edam_operations>
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
14 <command><![CDATA[
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
15 gx-fastq-manipulation '$input_file' '$fastq_manipulation_file' '$output_file' '$output_file.files_path' '${input_file.extension[len('fastq'):]}'
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
16 ]]></command>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
17 <configfiles>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
18 <configfile name="fastq_manipulation_file"><![CDATA[##create an importable module
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
19 #import binascii
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
20 import binascii
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
21 import re
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
22 import six
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
23
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
24 if six.PY2:
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
25 from string import maketrans
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
26 else:
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
27 maketrans = str.maketrans
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
28
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
29
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
30 ##does read match
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
31 def match_read(fastq_read):
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
32 #for $match_block in $match_blocks:
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
33 #if $match_block['match_type']['match_type_selector'] == 'identifier':
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
34 search_target = fastq_read.identifier[1:] ##don't include @
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
35 #elif $match_block['match_type']['match_type_selector'] == 'sequence':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
36 search_target = fastq_read.sequence
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
37 #elif $match_block['match_type']['match_type_selector'] == 'quality':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
38 search_target = fastq_read.quality
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
39 #else:
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
40 #continue
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
41 #end if
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
42 if not re.search(binascii.unhexlify("${ binascii.hexlify(str(match_block['match_type']['match']['match_by'])) }").decode(), search_target):
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
43 return False
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
44 #end for
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
45 return True
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
46
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
47
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
48 ##modify matched reads
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
49 def manipulate_read(fastq_read):
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
50 new_read = fastq_read.clone()
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
51 #for $manipulate_block in $manipulate_blocks:
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
52 #if $manipulate_block['manipulation_type']['manipulation_type_selector'] == 'identifier':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
53 #if $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'translate':
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
54 new_read.identifier = "@%s" % new_read.identifier[1:].translate(maketrans(binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['from'])) }").decode(), binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['to'])) }").decode()))
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
55 #end if
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
56 #elif $manipulate_block['manipulation_type']['manipulation_type_selector'] == 'sequence':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
57 #if $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'translate':
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
58 new_read.sequence = new_read.sequence.translate(maketrans(binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['from'])) }").decode(), binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['to'])) }").decode()))
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
59 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'rev_comp':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
60 new_read = new_read.reverse_complement()
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
61 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'rev_no_comp':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
62 new_read = new_read.reverse()
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
63 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'no_rev_comp':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
64 new_read = new_read.complement()
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
65 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'trim':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
66 #if $manipulate_block['manipulation_type']['manipulation']['offset_type']['base_offset_type'] == 'offsets_percent':
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
67 left_column_offset = int(round(float(${ manipulate_block['manipulation_type']['manipulation']['offset_type']['left_column_offset'] }) / 100.0 * float(len(new_read))))
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
68 right_column_offset = int(round(float(${ manipulate_block['manipulation_type']['manipulation']['offset_type']['right_column_offset'] }) / 100.0 * float(len(new_read))))
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
69 #else
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
70 left_column_offset = ${ manipulate_block['manipulation_type']['manipulation']['offset_type']['left_column_offset'] }
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
71 right_column_offset = ${ manipulate_block['manipulation_type']['manipulation']['offset_type']['right_column_offset'] }
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
72 #end if
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
73 if right_column_offset != 0:
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
74 right_column_offset = -right_column_offset
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
75 else:
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
76 right_column_offset = None
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
77 new_read = new_read.slice(left_column_offset, right_column_offset)
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
78 if not (${str(manipulate_block['manipulation_type']['manipulation']['keep_zero_length']) == 'keep_zero_length'} or len(new_read)):
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
79 return None
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
80 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'dna_to_rna':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
81 new_read = new_read.sequence_as_DNA()
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
82 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'rna_to_dna':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
83 new_read = new_read.sequence_as_RNA()
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
84 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'change_adapter':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
85 if new_read.sequence_space == 'color':
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
86 new_read = new_read.change_adapter(binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['new_adapter'])) }").decode())
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
87 #end if
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
88 #elif $manipulate_block['manipulation_type']['manipulation_type_selector'] == 'quality':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
89 #if $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'translate':
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
90 new_read.quality = new_read.quality.translate(maketrans(binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['from'])) }").decode(), binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['to'])) }").decode()))
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
91 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'map_score':
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
92 def score_method(score):
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
93 raise Exception("Unimplemented") ##This option is not yet available, need to abstract out e.g. column adding tool action: preventing users from using 'harmful' actions
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
94 new_read.quality_map(score_method)
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
95 #end if
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
96 #elif $manipulate_block['manipulation_type']['manipulation_type_selector'] == 'miscellaneous':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
97 #if $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'remove':
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
98 return None
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
99 #end if
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
100 #else:
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
101 #continue
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
102 #end if
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
103 #end for
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
104 if new_read.description != "+":
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
105 new_read.description = "+%s" % new_read.identifier[1:] ##ensure description is still valid
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
106 return new_read
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
107
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
108
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
109 def match_and_manipulate_read(fastq_read):
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
110 new_read = fastq_read
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
111 if match_read(fastq_read):
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
112 new_read = manipulate_read(fastq_read)
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
113 return new_read
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
114 ]]></configfile>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
115 </configfiles>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
116 <inputs>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
117 <!-- This tool is purposely over-engineered (e.g. Single option conditionals) to allow easy enhancement with workflow/rerun compatibility -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
118 <param name="input_file" type="data" format="fastqsanger,fastqcssanger,fastqsanger.gz,fastqcssanger.gz,fastqsanger.bz2,fastqcssanger.bz2" label="FASTQ File" help="Requires groomed data: if your data does not appear here try using the FASTQ groomer"/>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
119 <!-- Match Reads -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
120 <repeat name="match_blocks" title="Match Reads">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
121 <conditional name="match_type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
122 <param name="match_type_selector" type="select" label="Match Reads by">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
123 <option value="identifier">Name/Identifier</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
124 <option value="sequence">Sequence Content</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
125 <option value="quality">Quality Score Content</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
126 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
127 <when value="identifier">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
128 <conditional name="match">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
129 <param name="match_selector" type="select" label="Identifier Match Type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
130 <option value="regex">Regular Expression</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
131 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
132 <when value="regex">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
133 <param name="match_by" type="text" value=".*" label="Match by" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
134 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
135 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
136 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
137 <when value="sequence">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
138 <conditional name="match">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
139 <param name="match_selector" type="select" label="Sequence Match Type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
140 <option value="regex">Regular Expression</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
141 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
142 <when value="regex">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
143 <param name="match_by" type="text" value=".*" label="Match by" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
144 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
145 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
146 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
147 <when value="quality">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
148 <conditional name="match">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
149 <param name="match_selector" type="select" label="Quality Match Type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
150 <option value="regex">Regular Expression</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
151 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
152 <when value="regex">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
153 <param name="match_by" type="text" value=".*" label="Match by" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
154 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
155 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
156 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
157 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
158 </repeat>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
159 <!-- Manipulate Matched Reads -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
160 <repeat name="manipulate_blocks" title="Manipulate Reads">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
161 <conditional name="manipulation_type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
162 <param name="manipulation_type_selector" type="select" label="Manipulate Reads on">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
163 <option value="identifier">Name/Identifier</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
164 <option value="sequence">Sequence Content</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
165 <option value="quality">Quality Score Content</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
166 <option value="miscellaneous">Miscellaneous Actions</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
167 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
168 <when value="identifier">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
169 <conditional name="manipulation">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
170 <param name="manipulation_selector" type="select" label="Identifier Manipulation Type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
171 <option value="translate">String Translate</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
172 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
173 <when value="translate">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
174 <param name="from" type="text" value="" label="From" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
175 <param name="to" type="text" value="" label="To" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
176 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
177 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
178 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
179 <when value="sequence">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
180 <conditional name="manipulation">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
181 <param name="manipulation_selector" type="select" label="Sequence Manipulation Type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
182 <option value="rev_comp">Reverse Complement</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
183 <option value="rev_no_comp">Reverse, No Complement</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
184 <option value="no_rev_comp">Complement, No Reverse</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
185 <option value="trim">Trim</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
186 <option value="dna_to_rna">DNA to RNA</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
187 <option value="rna_to_dna">RNA to DNA</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
188 <option value="translate">String Translate</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
189 <option value="change_adapter">Change Adapter Base</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
190 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
191 <when value="rev_comp" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
192 <when value="rev_no_comp" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
193 <when value="no_rev_comp" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
194 <when value="trim">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
195 <conditional name="offset_type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
196 <param name="base_offset_type" type="select" label="Define Base Offsets as" help="Use Absolute for fixed length reads (Illumina, SOLiD)&lt;br&gt;Use Percentage for variable length reads (Roche/454)">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
197 <option value="offsets_absolute" selected="true">Absolute Values</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
198 <option value="offsets_percent">Percentage of Read Length</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
199 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
200 <when value="offsets_absolute">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
201 <param name="left_column_offset" type="integer" min="0" value="0" label="Offset from 5' end" help="Values start at 0, increasing from the left" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
202 <param name="right_column_offset" type="integer" value="0" label="Offset from 3' end" help="Values start at 0, increasing from the right; use a negative value to remove everything to the right of the absolute value of the position" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
203 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
204 <when value="offsets_percent">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
205 <param name="left_column_offset" type="float" min="0" max="100" value="0" label="Offset from 5' end" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
206 <param name="right_column_offset" type="float" min="0" max="100" value="0" label="Offset from 3' end" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
207 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
208 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
209 <param name="keep_zero_length" type="boolean" truevalue="keep_zero_length" falsevalue="exclude_zero_length" checked="false" label="Keep reads with zero length" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
210 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
211 <when value="dna_to_rna" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
212 <when value="rna_to_dna" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
213 <when value="translate">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
214 <param name="from" type="text" value="" label="From" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
215 <param name="to" type="text" value="" label="To" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
216 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
217 <when value="change_adapter">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
218 <param name="new_adapter" type="text" value="G" label="New adapter" help="An empty string will remove the adapter base" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
219 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
220 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
221 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
222 <when value="quality">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
223 <conditional name="manipulation">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
224 <param name="manipulation_selector" type="select" label="Quality Manipulation Type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
225 <option value="translate">String Translate</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
226 <!-- <option value="modify_each_score">Apply Transformation to each Score</option> Not enabled yet-->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
227 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
228 <when value="translate">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
229 <param name="from" type="text" value="" label="From" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
230 <param name="to" type="text" value="" label="To" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
231 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
232 <!-- <when value="modify_each_score">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
233 <param name="map_score" type="text" label="Modify Score by" value="$score + 1" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
234 </when> -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
235 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
236 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
237 <when value="miscellaneous">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
238 <conditional name="manipulation">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
239 <param name="manipulation_selector" type="select" label="Miscellaneous Manipulation Type">
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
240 <option value="remove">Remove Read</option>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
241 </param>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
242 <when value="remove" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
243 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
244 </when>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
245 </conditional>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
246 </repeat>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
247 </inputs>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
248 <outputs>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
249 <data name="output_file" format_source="input_file" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
250 </outputs>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
251 <tests>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
252 <!-- match all and do nothing -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
253 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
254 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
255 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
256 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
257 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
258 <param name="manipulation_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
259 <param name="manipulation_selector" value="translate" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
260 <param name="from" value="" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
261 <param name="to" value="" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
262 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
263 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
264 <!-- match None and do nothing -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
265 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
266 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
267 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
268 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
269 <param name="match_by" value="STRINGDOESNOTEXIST" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
270 <param name="manipulation_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
271 <param name="manipulation_selector" value="translate" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
272 <param name="from" value="" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
273 <param name="to" value="" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
274 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
275 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
276 <!-- match all and remove -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
277 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
278 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
279 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
280 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
281 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
282 <param name="manipulation_type_selector" value="miscellaneous" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
283 <param name="manipulation_selector" value="remove" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
284 <output name="output_file" file="empty_file.dat" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
285 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
286 <!-- match None and remove -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
287 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
288 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
289 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
290 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
291 <param name="match_by" value="STRINGDOESNOTEXIST" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
292 <param name="manipulation_type_selector" value="miscellaneous" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
293 <param name="manipulation_selector" value="remove" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
294 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
295 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
296 <!-- match all and trim to 4 inner-most bases -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
297 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
298 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
299 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
300 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
301 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
302 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
303 <param name="manipulation_selector" value="trim" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
304 <param name="base_offset_type" value="offsets_absolute"/>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
305 <param name="left_column_offset" value="45"/>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
306 <param name="right_column_offset" value="45"/>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
307 <param name="keep_zero_length" value="true" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
308 <output name="output_file" file="fastq_trimmer_out1.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
309 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
310 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
311 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
312 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
313 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
314 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
315 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
316 <param name="manipulation_selector" value="trim" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
317 <param name="base_offset_type" value="offsets_percent"/>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
318 <param name="left_column_offset" value="47.87"/>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
319 <param name="right_column_offset" value="47.87"/>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
320 <param name="keep_zero_length" value="true" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
321 <output name="output_file" file="fastq_trimmer_out1.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
322 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
323 <!-- match all and rev comp -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
324 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
325 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
326 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
327 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
328 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
329 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
330 <param name="manipulation_selector" value="rev_comp" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
331 <output name="output_file" file="sanger_full_range_rev_comp.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
332 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
333 <!-- match all and rev comp, with ambiguous DNA -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
334 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
335 <param name="input_file" value="misc_dna_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
336 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
337 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
338 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
339 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
340 <param name="manipulation_selector" value="rev_comp" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
341 <output name="output_file" file="misc_dna_as_sanger_rev_comp_1.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
342 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
343 <!-- match all and rev comp, with ambiguous RNA -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
344 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
345 <param name="input_file" value="misc_rna_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
346 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
347 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
348 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
349 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
350 <param name="manipulation_selector" value="rev_comp" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
351 <output name="output_file" file="misc_rna_as_sanger_rev_comp_1.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
352 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
353 <!-- match first seq and rev comp -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
354 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
355 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
356 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
357 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
358 <param name="match_by" value="FAKE0001" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
359 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
360 <param name="manipulation_selector" value="rev_comp" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
361 <output name="output_file" file="sanger_full_range_rev_comp_1_seq.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
362 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
363 <!-- match first seq and rev comp: i.e. undo above -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
364 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
365 <param name="input_file" value="sanger_full_range_rev_comp_1_seq.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
366 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
367 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
368 <param name="match_by" value="FAKE0001" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
369 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
370 <param name="manipulation_selector" value="rev_comp" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
371 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
372 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
373 <!-- match all and DNA to RNA -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
374 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
375 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
376 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
377 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
378 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
379 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
380 <param name="manipulation_selector" value="dna_to_rna" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
381 <output name="output_file" file="sanger_full_range_as_rna.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
382 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
383 <!-- match all and RNA to DNA-->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
384 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
385 <param name="input_file" value="sanger_full_range_as_rna.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
386 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
387 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
388 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
389 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
390 <param name="manipulation_selector" value="rna_to_dna" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
391 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
392 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
393 <!-- match all and RNA to DNA (gz compressed) -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
394 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
395 <param name="input_file" value="sanger_full_range_as_rna.fastqsanger.gz" ftype="fastqsanger.gz" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
396 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
397 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
398 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
399 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
400 <param name="manipulation_selector" value="rna_to_dna" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
401 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger.gz" decompress="true" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
402 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
403 <!-- match all and RNA to DNA (bz2 compressed) -->
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
404 <test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
405 <param name="input_file" value="sanger_full_range_as_rna.fastqsanger.bz2" ftype="fastqsanger.bz2" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
406 <param name="match_type_selector" value="identifier" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
407 <param name="match_selector" value="regex" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
408 <param name="match_by" value=".*" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
409 <param name="manipulation_type_selector" value="sequence" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
410 <param name="manipulation_selector" value="rna_to_dna" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
411 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger.bz2" decompress="true" />
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
412 </test>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
413 </tests>
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
414 <help><![CDATA[
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
415 This tool allows you to build complex manipulations to be applied to each matching read in a FASTQ file. A read must match all matching directives in order for it to be manipulated; if a read does not match, it is output in a non-modified manner. All reads matching will have each of the specified manipulations performed upon them, in the order specified.
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
416
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
417 Regular Expression Matches are made using re.search, see http://docs.python.org/library/re.html for more information.
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
418 All matching is performed on a single line string, regardless if e.g. the sequence or quality score spans multiple lines in the original file.
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
419
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
420 String translations are performed using string.translate, see http://docs.python.org/library/string.html#string.translate and http://docs.python.org/library/string.html#string.maketrans for more information.
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
421
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
422 .. class:: warningmark
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
423
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
424 Only color space reads can have adapter bases substituted.
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
425
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
426 -----
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
427
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
428 **Example**
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
429
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
430 Suppose you have a color space sanger formatted sequence (fastqcssanger) and you want to double-encode the color space into psuedo-nucleotide space (this is different from converting) to allow these reads to be used in tools which do not natively support it (using specially designed indexes). This tool can handle this manipulation, however, this is generally not recommended as results tend to be poorer than those produced from tools which are specially designed to handle color space data.
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
431
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
432 Steps:
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
433
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
434 1. Click **Add new Match Reads** and leave the matching options set to the default (Matching by sequence name/identifier using the regular expression "\*."; thereby matching all reads).
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
435 2. Click **Add new Manipulate Reads**, change **Manipulate Reads on** to "Sequence Content", set **Sequence Manipulation Type** to "Change Adapter Base" and set **New Adapter** to "" (an empty text field).
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
436 3. Click **Add new Manipulate Reads**, change **Manipulate Reads on** to "Sequence Content", set **Sequence Manipulation Type** to "String Translate" and set **From** to "0123." and **To** to "ACGTN".
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
437 4. Click Execute. The new history item will contained double-encoded psuedo-nucleotide space reads.
2
4ac14b275aca planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 1
diff changeset
438 ]]></help>
1
bb07615a5b6a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
439 <citations>
bb07615a5b6a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
440 <citation type="doi">10.1093/bioinformatics/btq281</citation>
bb07615a5b6a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
441 </citations>
0
5d1e9e13e8db Imported from capsule None
devteam
parents:
diff changeset
442 </tool>