TheJacksonLaboratory / diachromatic

Diachromatic is a Java application for preprocessing and quality control of Hi-C and CHi-C data.
https://diachromatic.readthedocs.io/en/latest/
GNU General Public License v3.0
3 stars 1 forks source link

Iss64 count command #67

Closed hansenp closed 5 years ago

hansenp commented 5 years ago

I finished to transfer the counting of interactions from the subcommand align to the new subcommand count. I structured the command line interface as for the commands truncate and align. Furthermore, I added an extra output file for summary statistics about interactions:

I also created extensive documentation for the count command on read the docs.

For now, I left the align subcommand untouched. Therefore, there is a lot of redundancy. For instance, the files for interaction interaction counts (and read pair counts at interacting fragments) can now be generated using either align or count, whereby I suffix the corresponding filenames with a 2, if they are generated using the count command:

For the test data in src/test/resources/data/testInteractionCountsMap/ the contents are identical indicating that the counting of interactions (and read pair counts at interacting fragments) works as before.

If this sanity check is sufficient, we could merge this branch into develop. In a next step we could clean up the align step, which would also involve the simplification of the class ReadPair.