open2c / pairtools

Extract 3D contacts (.pairs) from sequencing alignments
MIT License
104 stars 32 forks source link

CLI to add header #119

Closed Phlya closed 2 years ago

Phlya commented 2 years ago

Since we are starting to rely on the presence of a header and column names in particular, would be nice to provide a tool to add a header to a headerless file.

agalitsyna commented 2 years ago

Also, because pairtools restrict and pairtools dedup can now generate additional columns, it makes some sequence of commands irreversible. E.g. files with extra columns cannot be merged with files without such columns; there is no way to add restriction sites annotation, select and then remove unnecessary fields. Ilya and I thought of some pairtools headerops utils that will

This is not an issue but rather the discussion that might be important to decide before 1.0.0. release.

agalitsyna commented 2 years ago

@Phlya Can you check whether this draft is similar to what might be useful to you? https://github.com/open2c/pairtools/pull/121

Any comments or modifications are much appreciated!

agalitsyna commented 2 years ago

Okay, haven't heard on this suggestion for over a week, will convert it to discussion. The module is ready for testing/improvements, feel free to add ideas!