Skip to content

GregorySchwartz/fasta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fasta

Gregory W. Schwartz

Defines the Fasta type and some parsing and translation associated with it. The motivation for this library was to make a general use fasta library making no assumptions about the data comprised of many language types as possible for String, Text, ByteString, and all laziness inbetween, as there was a lack of choice in this regard. Futhermore, the streaming capabilities of pipes allows for much needed efficiency improvements.

While you can use the parseFasta function, it is highly recommended to instead use pipes with pipesFasta as the former function is slower and uses up much more memory due to lookaheads. An example of the pipesFasta usage can be seen in the diversity executable package located at https://github.com/GregorySchwartz/diversity/blob/master/src/src-exec/Main.hs in the pipesPositionMap function.

To install:

stack install fasta

About

The Fasta type as used by my programs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published