Mercurial > repos > devteam > fastq_to_tabular
annotate fastq_to_tabular.xml @ 3:a63d1aa8e829 draft
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
author | devteam |
---|---|
date | Sat, 30 Sep 2017 13:53:46 -0400 |
parents | 81c9b58760ff |
children | 672ad99bbfe4 |
rev | line source |
---|---|
3
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
1 <tool id="fastq_to_tabular" name="FASTQ to Tabular" version="1.1.1"> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
2 <description>converter</description> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
3 <requirements> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
4 <requirement type="package" version="1.1.1">galaxy_sequence_utils</requirement> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
5 </requirements> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
6 <command><![CDATA[ |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
7 gx-fastq-to-tabular '$input_file' '$output_file' $descr_columns '${input_file.extension[len('fastq'):]}' |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
8 ]]></command> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
9 <inputs> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
10 <param name="input_file" type="data" format="fastqsanger,fastqcssanger,fastqillumina,fastqsolexa,fastqsanger.gz,fastqcssanger.gz,fastqillumina.gz,fastqsolexa.gz,fastqsanger.bz2,fastqcssanger.bz2,fastqillumina.bz2,fastqsolexa.bz2" label="FASTQ file to convert" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
11 <param name="descr_columns" type="integer" min="1" value="1" label="How many columns to divide title string into?" help="Typically 2 to take the ID (first word) and decription (rest) as two columns, or 1 to give a single column" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
12 </inputs> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
13 <outputs> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
14 <data name="output_file" format="tabular" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
15 </outputs> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
16 <tests> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
17 <!-- basic test --> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
18 <test> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
19 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
20 <param name="descr_columns" value="1"/> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
21 <output name="output_file" file="fastq_to_tabular_out_1.tabular" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
22 </test> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
23 <!-- compression test --> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
24 <test> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
25 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger.gz" ftype="fastqsanger.gz" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
26 <param name="descr_columns" value="1"/> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
27 <output name="output_file" file="fastq_to_tabular_out_1.tabular" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
28 </test> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
29 <!-- color space test --> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
30 <test> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
31 <param name="input_file" value="sanger_full_range_as_cssanger.fastqcssanger" ftype="fastqcssanger" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
32 <param name="descr_columns" value="1"/> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
33 <output name="output_file" file="fastq_to_tabular_out_2.tabular" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
34 </test> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
35 <!-- split title into columns --> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
36 <test> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
37 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
38 <param name="descr_columns" value="2"/> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
39 <output name="output_file" file="fastq_to_tabular_out_3.tabular" /> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
40 </test> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
41 </tests> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
42 <help><![CDATA[ |
0 | 43 **What it does** |
44 | |
45 This tool converts FASTQ sequencing reads to a Tabular file. | |
46 | |
47 It is conventional to take the first word of the FASTQ "@" title line as the identifier, and any remaining text to be a free form description. | |
48 It is therefore often useful to split this text into two columns in Galaxy (identifier and any description) by setting **How many columns to divide title string into?** to **2**. | |
49 In some cases the description can be usefully broken up into more columns -- see the examples . | |
50 | |
51 Tab characters, if present in the source FASTQ title, will be converted to spaces. | |
52 | |
3
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
53 ----- |
0 | 54 |
55 **Example** | |
56 | |
57 Consider the following two 454 reads in Sanger FASTQ format (using line wrapping for display, but do note not all tools will accept line wrapped FASTQ files):: | |
58 | |
59 @FSRRS4401BE7HA [length=395] [gc=36.46] [flows=800] [phred_min=0] [phred_max=40] [trimmed_length=95] | |
60 tcagTTAAGATGGGATAATATCCTCAGATTGCGTGATGAACTTTGTTCTGGTGGAGGAGAAGGAAGTGCATTCGACGTAT | |
61 GCCCGTTTGTCGATATTTGtatttaaagtaatccgtcacaaatcagtgacataaatattatttagatttcgggagcaact | |
62 ttatttattccacaagcaggtttaaattttaaatttaaattattgcagaagactttaaattaacctcgttgtcggagtca | |
63 tttgttcggttattggtcgaaagtaaccncgggaagtgccgaaaactaacaaacaaaagaagatagtgaaattttaatta | |
64 aaanaaatagccaaacgtaactaactaaaacggacccgtcgaggaactgccaacggacgacacagggagtagnnn | |
65 +FSRRS4401BE7HA [length=395] [gc=36.46] [flows=800] [phred_min=0] [phred_max=40] [trimmed_length=95] | |
66 FFFDDDDDDDA666?688FFHGGIIIIIIIIIIIIIIIIIIHHHIIIIIIIIIGHGFFFFF====DFFFFFFFFFFFFFF | |
3
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
67 D???:3104/76=:5...4.3,,,366////4<ABBAAA=CCFDDDDDDDD:666CDFFFF=<ABA=;:333111<===9 |
0 | 68 9;B889FFFFFFDDBDBDDD=8844231..,,,-,,,,,,,,1133..---17111,,,,,22555131121.--.,333 |
69 11,.,,3--,,.,,--,3511123..--!,,,,--,----9,,,,8=,,-,,,-,,,,---26:9:5-..1,,,,11//, | |
3
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
70 ,,,!,,1917--,,,,-3.,--,,17,,,,---+11113.030000,,,044400036;96662.//;7><;!!! |
0 | 71 @FSRRS4401BRRTC [length=145] [gc=38.62] [flows=800] [phred_min=0] [phred_max=38] [trimmed_length=74] |
72 tcagCCAGCAATTCCGACTTAATTGTTCTTCTTCCATCATTCATCTCGACTAACAGTTCTACGATTAATGAGTTTGGCtt | |
73 taatttgttgttcattattgtcacaattacactactgagactgccaaggcacncagggataggnn | |
74 +FSRRS4401BRRTC [length=145] [gc=38.62] [flows=800] [phred_min=0] [phred_max=38] [trimmed_length=74] | |
3
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
75 FFFFFFFFFDDDDFFFFGFDDDDBAAAAA=<4444@@B=555:BBBBB@@?8:8<?<89898<84442;==3,,,514,, |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
76 ,11,,,.,,21777555513,..--1115758.//34488><<;;;;9944/!/4,,,57855!! |
0 | 77 |
78 By default this is converted into a 3 column tabular file, with the full FASTQ title used as column 1: | |
79 | |
80 =================================================================================================== ============== ============== | |
81 FSRRS4401BE7HA [length=395] [gc=36.46] [flows=800] [phred_min=0] [phred_max=40] [trimmed_length=95] tcagTTAA...nnn FFFDDDDD...!!! | |
82 FSRRS4401BRRTC [length=145] [gc=38.62] [flows=800] [phred_min=0] [phred_max=38] [trimmed_length=74] tcagCCAG...gnn FFFFFFFF...5!! | |
83 =================================================================================================== ============== ============== | |
84 | |
85 If you specified the title should be turned into 2 columns, you'd get 4 columns in total: | |
86 | |
87 ============== ==================================================================================== ============== ============== | |
88 FSRRS4401BE7HA [length=395] [gc=36.46] [flows=800] [phred_min=0] [phred_max=40] [trimmed_length=95] tcagTTAA...nnn FFFDDDDD...!!! | |
89 FSRRS4401BRRTC [length=145] [gc=38.62] [flows=800] [phred_min=0] [phred_max=38] [trimmed_length=74] tcagCCAG...gnn FFFFFFFF...5!! | |
90 ============== ==================================================================================== ============== ============== | |
91 | |
92 Similarly, for this example treating the title string as 7 columns makes sense: | |
93 | |
94 ============== ============ ========== =========== ============= ============== =================== ============== ============== | |
95 FSRRS4401BE7HA [length=395] [gc=36.46] [flows=800] [phred_min=0] [phred_max=40] [trimmed_length=95] tcagTTAA...nnn FFFDDDDD...!!! | |
96 FSRRS4401BRRTC [length=145] [gc=38.62] [flows=800] [phred_min=0] [phred_max=38] [trimmed_length=74] tcagCCAG...gnn FFFFFFFF...5!! | |
97 ============== ============ ========== =========== ============= ============== =================== ============== ============== | |
98 | |
99 Note the sequences and quality strings have been truncated for display purposes in the above tables. | |
3
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
100 ]]></help> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
101 <citations> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
102 <citation type="doi">10.1093/bioinformatics/btq281</citation> |
a63d1aa8e829
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_to_tabular commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents:
1
diff
changeset
|
103 </citations> |
0 | 104 </tool> |