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

modkit extract full and modkit extract calls #296

Open
Flower9618 opened this issue Nov 6, 2024 · 3 comments
Open

modkit extract full and modkit extract calls #296

Flower9618 opened this issue Nov 6, 2024 · 3 comments
Labels
question Looking for clarification on inputs and/or outputs

Comments

@Flower9618
Copy link

Flower9618 commented Nov 6, 2024

Hi, I would like to know the difference between "modkit extract full" and "modkit extract calls".

@ArtRand
Copy link
Contributor

ArtRand commented Nov 6, 2024

Hello @Flower9618,

The (new-ish) modkit extract calls produces the table that used to be modkit extract --read-calls <this_table>. In v0.4 we made this into a stand-alone command. Please find the on the extract commands here. Briefly, extract full produces a table translation of the values in the MM/ML tags. So for example, a read that has 5hmC and 5mC calls will have a probability for each in this output. On the other hand, extract calls will output the predicted modification state for each position in each read. Continuing with out example, there will only be a single record for 5hmC, 5mC, or canonical.

@ArtRand ArtRand added the question Looking for clarification on inputs and/or outputs label Nov 6, 2024
@mattloose
Copy link

Can you clarify which command is the equivalent of the old modkit extract please?

@ArtRand
Copy link
Contributor

ArtRand commented Dec 11, 2024

@mattloose modkit extract full will produce the same default table as the versions prior to version 0.4, the documentation shows the schema of the two tables. If you were using --read-calls with an older version, you'll want modkit extract calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Looking for clarification on inputs and/or outputs
Projects
None yet
Development

No branches or pull requests

3 participants