LibStatGen Download

From Genome Analysis Wiki
Jump to: navigation, search

General libStatGen Information

See C++ Library: libStatGen.

Latest Development Versions

For information about obtaining the latest Development Versions, see Where to Find libStatGen

Official Releases

If you prefer to run the last official release rather than the latest development version, you can download that here.

To install an official release, unpack the downloaded file (tar xvf), cd into the libStatGen directory and type make all.


LibStatGen.1.0.13 Release Notes

  • Version 1.0.13 - Released 2/20/2015
    • https://github.com/statgen/libStatGen/archive/v1.0.13.tar.gz
    • Contains classes for general processing (string, reference file, parameters), bam, glf, fastq, and vcf
      • General Updates:
        • Added knetfile support to InputFile (only for bgzf files if KNET_ON=1 is set on compile line
        • GzipHeader - fix signed/unsigned comparison compile issue
        • Upgrade bgzf (also allow append mode)
      • Makefiles Updates:
        • Update dependencies to fix/improve some compiling issues
      • PhoneHome Updates:
        • Allow PhoneHome to be a legacy parameter
        • Update new version available message to stand out more
        • Fix bugs in checks for new version since it wasn't finding it.
      • BAM Updates:
        • SamReferenceInfo operator== - fix to not check hash, since hash could be different for same info
        • Pileup - improve error message for buffer overrun
      • VCF Updates:
        • Add option to update GT field
        • Add subset samples parameter to ReadRecord
        • Improve handling of adding CO header

Older Releases

  • LibStatGen.1.0.12.tgz‎ - Released 5/14/2014
    • Contains classes for general processing (string, reference file, parameters), bam, glf, fastq, and vcf
      • General Updates:
        • Improve Makefiles for adding additional libraries/creating external libraries
        • Cleanup compiling for mingw
        • Cleanup Copyrights
      • BAM Updates:
        • Update rmTags & getTagsString to accept ',' delimiter rather than just ';'
  • LibStatGen.1.0.11.tar.gz‎ - Released 2/28/2014
    • Contains classes for general processing (string, reference file, parameters), bam, glf, fastq, and vcf
      • General Updates:
        • Cleanup compile warnings - should improve compatibility with Windows, RedHat, and older and newer compilers
        • StringBasics: Improve off-by-one overflow handling (from github user wavexx)
      • BAM Updates:
        • Fix it to properly handle 'B' & 'f' tags
        • Fix handling of duplicate tags
      • PhoneHome Updates:
        • Add parameters names (not values) to PhoneHome URL
      • VCF Updates:
        • Move allele count logic from VcfFileReader into VcfRecord.
  • LibStatGen.1.0.10.tar.gz‎ - Released 1/2/2014
    • Contains classes for general processing (string, reference file, parameters), bam, glf, fastq, and vcf
      • Updates:
        • Add PhoneHome/version checking logic
      • General Updates:
        • fix use of strncpy to fix compile problem for some users
        • Fix compile problem on gcc 4.8.1 by adding -Wno-strict-overflow in general/Makefile after -Werror
        • Reduce the default IFILE read buffer size from 1MB to 64KB.
        • Fix ifclose to take a IFILE reference so it can make the pointer 0 after closing
        • StringBasics::AsInteger now returns false if the string is empty.
        • GzipFileType - update to accept -.gz as stdin/stdout
        • Remove unnecssary line from Parameters Status call
        • Fix memory leak on Tabix destructor
      • Vcf Updates:
        • VCF - add class/methods to discard records based on ID
      • Bam Updates:
        • SamFlag - add isSecondary check
        • Fix SamFile so it only allows '-', '-.sam', '-.bam', or '-.ubam' to indicate reading from stdin rather than anything that starts with '-' in order to protect it from misinterpreting another parameter as the stdin filename
        • SamRecord: Add warnings about Duplicate Tags being overwritten
        • SamFile - improve sort order validation error messages and compare using both String::Compare and strcmp to handle various sort mechanisms since neither matches samtools exactly (if either is successful, the sort order is OK)
      • Glf Updates:
        • GlfFile cleanup bugs/handle missind endMarkers & update "get" methods to be const
  • LibStatGen.1.0.9.tgz‎ - Released 7/7/2013
    • Contains classes for general processing (string, reference file, parameters), bam, glf, fastq, and vcf
      • Updates:
        • Update Makefile processing to check for a Makefile in the test directory before recursively calling make in there
        • Replace CFLAGS wtih COMPFLAGS
        • Update the Windows WIN32 if statements
      • General Updates:
        • Add boundary check to StringBasics memory
        • Added support for new CIGAR characters (X & =)
        • Update bug in PedigreeLoader to specify WHITESPACE
        • add accessors for getting tabix information
      • Vcf Updates:
        • add ability to drop trailing missing Genotype fields
        • check that the tabix index is for VCF file type
        • Fix broken dependency
      • Bam Updates:
        • SamHeaderRecord: add accessor to get the value for the key
        • update some classes to have virtual destructors


  • LibStatGen.1.0.8.tgz‎ - Released 1/29/2013
    • Contains classes for general processing (string, reference file, parameters), bam, glf, fastq, and vcf
      • Updates:
        • Added VCF file handling (merged the vcf branch to master)
        • Add support for reading Tabix files
        • Add ReusableVector class that holds vectors that will remove only the last or be reset & reused without clearing memory.
  • LibStatGen.1.0.7.tgz‎ - Released 1/29/2013
    • Contains classes for general processing (string, reference file, parameters), bam, glf, and fastq
      • Updates:
        • Add operator== to StringIntHash
        • Cleanup compiling for files that are just headers with no .cpp
        • Update Makefile TOOLOBJ to handle fortran
        • ReferenceSequence.h fix compile problem on upgraded system
        • Add Makefile.extlib for compiling libraries that use libStatGen
      • BAM Updates:
        • Update to allow copying SamHeaderRecords and automatically update the SQ ReferenceInfo
        • Update SamFileHeader::getReferenceInfo() to return a SamReferenceInfo reference rather than ptr
        • Update SamRecord::getStringTag to return a const string pointer instead of just a string pointer
        • Update SamCoordOutput to add flushAll method
  • LibStatGen.1.0.6.tgz‎ - Released 11/14/2012
    • Contains classes for general processing (string, reference file, parameters), bam, glf, and fastq
      • Updates:
        • Fix a bug in the make install command
  • LibStatGen.1.0.5.tgz‎ - Released 10/24/2012
    • Contains classes for general processing (string, reference file, parameters), bam, glf, and fastq
      • Updates:
        • Cleanup compile warnings
        • Support compiling without ZLIB (use: make ZLIB_AVAIL=0)
      • BAM Updates:
        • Update to add error messages about failing to add a header
        • Handle a vtype of 'B' in the TAG field (treats it like a string)
  • LibStatGen.1.0.4.tgz‎ - Released skipped
  • LibStatGen.1.0.3.tgz‎ - Released 09/19/2012
    • Contains classes for general processing (string, reference file, parameters), bam, glf, and fastq
      • Additions:
        • Fix Makefile COMPILE_ANY_CHANGE logic to actually work
        • Fix compile problems on macs
          • Add #include <cstddef> to GzipFileType.h & #include <unistd.h> to MemoryMapArray.h
      • General Additions:
        • Update DBSNP processing in GenomeSequence to also accept gzipped files
        • Add support of fasta files in GenomeSequence
        • Update GenomeSequence constructor/open to create the umfa version if it doesn't already exist
        • Update StringAlias to add getAliases
        • Update StringHash to have an option to do case sensitive (instead of always case-insensitive)
        • Make library building PHONY so it is always checked for updates and only updated if objects are newer
      • BAM Additions:
        • Update BamIndex hex constant to use ULL
        • Cleanup handling of header errors
        • Update SamFileHeader to use case sensitive hashes
        • Make repeated header line keys a warning, not an error
      • FASTQ Additions:
        • Update to output average qualities
  • LibStatGen.1.0.2.tgz‎ - Released 05/16/2012
    • Contains classes for general processing (string, reference file, parameters), bam, glf, and fastq
    • Additions:
      • Add reverseComplement method to BaseUtilities.h
  • LibStatGen.1.0.1.tgz‎ - Released 05/04/2012
    • Contains classes for general processing (string, reference file, parameters), bam, glf, and fastq
    • BAM Additions:
    • General Additions:
      • Modifications to improve file handling/string processing
      • Fixed some compile warnings
      • Update Parameters class to always print warnings about unknown parameters to stderr
      • Update PedigreePerson to create/delete the strings object
      • Cleanup GenomeSequence to remove code that is also in BaseAsciiMap
    • Samtools Modifications:
      • Do not use knetfile and fix compile warning
  • LibStatGen.1.0.0.tgz‎ - Released 10/10/2011
    • Contains classes for general processiong (string, reference file, parameters), bam, glf, and fastq
    • Initial release of libStatGen. It started from the library found in the deprecated StatGen repository.