fix kraken to use fastq or fastq.gz files

better coding style
Merge pull request #654 from lpantano/upstream

some fixes for kraken tool