C++ Library: general Change Log

From Genome Analysis Wiki
Revision as of 11:43, 20 May 2010 by Mktrost (talk | contribs)
Jump to navigationJump to search

libcsg Change Log

This page tracks the updates/enhancements that have been updated in the git repository. It is primarily used to track the user interface changes, so users can see what bugs have been fixed, or what new features have been added.


Enhancements/Updates/Fixes

5/20/2010

  • Update InputFile
    • Switched glf files opened for write to be opened for writing bgzf format rather than gz format.
    • Added static method void InputFile::setWriteFileType(FileTypeEnum fileType) that allows a user to specify what type of file to open for writing rather than using the extension (default). Must be called prior to ifopen.

5/13/2010

  • Update CigarRoller
    • added handling of operation "N" with enum value skip.
    • added getQueryIndex and getRefOffset to map between a query index and reference offset based on the cigar string.
    • Renamed getMatchCount to getExpectedQueryBaseCount so the name better described its function.
    • Moved the cigarOperations vector to private.

5/3/2010

  • Updated BGZF Files to check for the empty BGZF block at the end when being opened. The open fails if the block is not there unless the static method to not require it is called: BgzfFileType::setRequireEofBlock(false);


4/5/2010

  • Modified IFILE class methods ifread & readFromFile to return an int rather than unsigned int. This aligns with the return values of gzread & fread.
  • Modified the FileType classes method read to return int rather than unsigned int. This aligns with the return values of gzread & fread.
  • Modified the String::ReadLine to return an int status rather than a String& to the class. A return value <= to 0 is an error. A positive return value is success.
  • Modified FastQFile.cpp, lanecheck.cpp, StringHash.cpp to reflect the updated ReadLine return value.


Known Issues