diff --git a/lib/galaxy/datatypes/sequence.py b/lib/galaxy/datatypes/sequence.py
index c7c40f1b65e..3e662e7c52c 100644
--- a/lib/galaxy/datatypes/sequence.py
+++ b/lib/galaxy/datatypes/sequence.py
@@ -103,10 +103,14 @@ class Fastq( Sequence ):
def set_peek( self, dataset ):
Sequence.set_peek( self, dataset )
sequences = 0
+ scores = 0
for line in file( dataset.file_name ):
- if line and line.startswith( "@" ):
- sequences += 1
- dataset.blurb = '%d sequences' % sequences
+ if line:
+ if line.startswith( "@" ):
+ sequences += 1
+ elif line.startswith( '+' ):
+ scores += 1
+ dataset.blurb = '%d sequences, %d quality scores' % ( sequences, scores )
try:
import pkg_resources; pkg_resources.require( "bx-python" )
diff --git a/tool_conf.xml.sample b/tool_conf.xml.sample
index 8af983a9618..6f1496f35ac 100644
--- a/tool_conf.xml.sample
+++ b/tool_conf.xml.sample
@@ -59,6 +59,7 @@
+
@@ -117,6 +118,7 @@
+
diff --git a/tools/metag_tools/convert_fastq2fasta.xml b/tools/metag_tools/convert_fastq2fasta.xml
index 5d3d84d269e..0a9185bc886 100644
--- a/tools/metag_tools/convert_fastq2fasta.xml
+++ b/tools/metag_tools/convert_fastq2fasta.xml
@@ -1,8 +1,6 @@
-
-
-
- convert_fastq2fasta.py $input1 $output1 $output2
-
+
+ converts FASTQ file to FASTA format
+ convert_fastq2fasta.py $input1 $output1 $output2
@@ -15,13 +13,13 @@
**What it does**
-This tool converts Solexa fastq files and returns two files: reads and quality scores, both in fasta-like format.
+This tool converts Solexa FASTQ data to FASTA format by generating 2 files, reads and quality scores.
-----
**Example1**
-- Solexa fastq format::
+- Converting the following Solexa fastq data::
@seq1
GACAGCTTGGTTTTTAGTGAGTTGTTCCTTTCTTT
@@ -32,7 +30,7 @@ This tool converts Solexa fastq files and returns two files: reads and quality s
+seq2
hhhhhhhhhhhhhhYhhahhhhWhAhFhSIJGChO
-- Extract the sequences::
+- will extract the following sequences::
>seq1
GACAGCTTGGTTTTTAGTGAGTTGTTCCTTTCTTT
@@ -49,7 +47,7 @@ This tool converts Solexa fastq files and returns two files: reads and quality s
**Example2**
-- Solexa fastq format::
+- Converting the following Solexa fastq data::
@seq1
GAATTGATCAGGACATAGGACAACTGTAGGCACCAT
@@ -60,7 +58,7 @@ This tool converts Solexa fastq files and returns two files: reads and quality s
+seq2
40 15 40 17 6 36 40 40 40 25 40 9 35 33 40 14 14 18 15 17 19 28 31 4 24 18 27 14 15 18 2 8 12 8 11 9
-- Extract the sequences::
+- will extract the following sequences::
>seq1
GAATTGATCAGGACATAGGACAACTGTAGGCACCAT