Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compress counts #200

Merged
merged 13 commits into from
Dec 8, 2023
Merged

compress counts #200

merged 13 commits into from
Dec 8, 2023

Conversation

andrewdavidsmith
Copy link
Collaborator

  • methcounts.cpp: adding option to include a header in the counts output
  • covered.cpp: minor fix in output when no args given
  • symmetric-cpgs.cpp: added a function to print any header if it exists, which involves just printing leading lines that begin with # symbol
  • bam_record_utils.hpp: added a function to get the target length from the header without specifying the internal header inside the bam_header object
  • MSite.hpp and MSite.cpp: added a constructor from a char array with length. Also moved the logic of parsing strings to construct MSite into an initialize function which allows the same thing to be done without constructing a new object
  • xcounts.cpp: adding this file to compress the counts files as small as possible
  • dnmtools.cpp: adding the xcounts command
  • Makefile.am: adding the xcounts.cpp file to the sources
  • unxcounts.cpp: adding a tool to convert back from the xcounts format
  • Makefile.am and dnmtools.cpp: adding the unxcounts command
  • recovered.cpp: using getline then initalize the sites so that skipping the header is easier
  • xcounts.cpp: removing output of chromosomes to stderr each time they change, not forcing a null char after the part of the buffer to be written, and making the buffer at most 128 bytes
  • unxcounts.cpp: major changes for speed

@andrewdavidsmith andrewdavidsmith merged commit cf3675a into master Dec 8, 2023
1 check passed
@andrewdavidsmith andrewdavidsmith deleted the compress-counts branch December 8, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant