www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - bio parser

reply bioinfornatics <bioinfornatics fedoraproject.org> writes:
Dear,
I wrote a fasta format parser and fastq format parser. These parser used
MmFile and do not load all file these will save memory.

Fastq http://dpaste.dzfl.pl/9b23574d
Fasta http://dpaste.dzfl.pl/228dba11

The way to iterate over it is really close and i search a way to have
one struct bySection one template doIndex for both file format.

If you have any suggestion to improve this, please tell to me.

thanks
Dec 16 2012
parent "Simen Kjaeraas" <simen.kjaras gmail.com> writes:
On 2012-09-16 17:12, bioinfornatics <bioinfornatics fedoraproject.org>  
wrote:

 Dear,
 I wrote a fasta format parser and fastq format parser. These parser used
 MmFile and do not load all file these will save memory.

 Fastq http://dpaste.dzfl.pl/9b23574d
 Fasta http://dpaste.dzfl.pl/228dba11

 The way to iterate over it is really close and i search a way to have
 one struct bySection one template doIndex for both file format.

 If you have any suggestion to improve this, please tell to me.
As this is something that might be useful to others, you should probably post it to digitalmars.D.announce. I'd also advice setting up a github rep for it and placing a link on wiki.dlang.org. -- Simen
Dec 16 2012