A package with basic parsing utilities for several Bioinformatic data formats.
|Version on this page:||184.108.40.206|
|LTS Haskell 20.16:||220.127.116.11|
|Stackage Nightly 2022-11-17:||18.104.22.168|
|Latest on Hackage:||1.7.0|
Sequence-Formats is a Haskell package to provide file parsers and writers for some commonly, and less commonly used file formats in Bioinformatics, speficially population genetics.
The library makes heavy use of the pipes library to provide Producers and Consumers for reading and writing files.
V 22.214.171.124: Added a minimal Bed parser and a bed-filter V 126.96.36.199: Long chromosome names are now parsed correctly V 1.6.4: Fixed a bug in Fasta parsing which would skip the first line if the header was minimal. V 1.6.3: Pileup reference-base is read as upper case, even if it’s not in the file. V 1.6.2: Made compatible with GHC 9 (thanks to github user sjakobi)
V 1.6.0: Plink Output now supported.
V 188.8.131.52: Plink BIM parsing now automatically converts from Numbers (0,1,2,3,4) to Letters (N,A,C,T,G).
V 184.108.40.206: added possibility to parse allele names 01234 in bim files.
V 220.127.116.11: added readPlink to export list of Plink module.
V 1.5.1: minor updates for hackage
V 1.5.0: Added Plink support.
- Added optional genetic position to FreqSumformat,
- changed various internal strings toByteStrings and vice versa.
V 18.104.22.168: Added test file example.pileup to cabal extra-source-files to make tests work.
V 1.4.0: Added three features:
- Chromosomes now include
chrMT), in that order after
- SNP rsId information is now internallyincluded as an option in the FreqSum data format.
- Pileup Format now also records strandorientation
V 1.3.3: Added Pileup as new format. Changed all tests to Hspec.
V 22.214.171.124: Fixed a hard-coded absolute path in the test-suite.
V 1.3.2: Added testDat to Cabal file to make tests work off the tarball.
V 1.3.1: Moved test suite outside of the main library into the test source directory. Cleaner setup.
V 1.3.0: Removed pipes-text, text and turtle dependencies and some more. Restructured all datatypes to use Bytestring instead of text.
V 1.2.0: Added tests for VCF, and several bugfixes. Now runs on LTS-14.1 with pipes-text as legacy dependency.
V 126.96.36.199: Added tests for Fasta import. Succeed.
V 188.8.131.52: Added Eq and Show classes to various FreqSum entities. Fixed writing function, added tests. V 184.108.40.206: Added Eq class to EigenstratInd and Sex V 1.1.8: Added more consumers for Bim and Eigenstrat Snp files V 1.1.7: Added option to parse Bim file (slightly different layout to Eigenstrat Snp Format), and added genetic position and snpId to the EigenstratSnpEntry datastructure. This will cause breaking changes in code linking against this library. V 1.1.6: VCF parser now allows for truncated VCF files with no Format and Genotypes (sites-only VCF files) V 1.1.5: Fixed VCF parser: Now breaks if lines end prematurely V 220.127.116.11: Exporting readVCFfromProd V 18.104.22.168: First entry in the Changelog. Added Haddock documentation to all modules and prepare for releasing on Hackage.