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

Support new alevin json files #25

Merged
merged 3 commits into from
Jul 23, 2021
Merged

Support new alevin json files #25

merged 3 commits into from
Jul 23, 2021

Conversation

jashapiro
Copy link
Member

This PR adds support for alevin-fry 0.4.1, which (at my request) moved the json file for alevin-fry quant to quant.json. I am maintaining support for the old version for now, so we look for meta_info.json as backup, but we may be able to remove that in the future.

@jashapiro jashapiro requested a review from jaclyn-taroni July 23, 2021 20:28
Copy link
Member

@jaclyn-taroni jaclyn-taroni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀 I am assuming that my understanding is correct with this approval!

Comment on lines +128 to +129
quant_json <- jsonlite::fromJSON(quant_json_path)
if(quant_json$usa_mode != "TRUE"){
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking my understanding: before alevin 0.4.1 the meta_info.json indicated that something was run in USA mode and now that information is in quant.json.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup! They changed the filename to avoid potential conflict (salmon already had a meta_info.json file in a subdirectory) and to make it the name match the pattern of the .json files the other alevin-fry commands used. They also added some fields, but that's it.

@jashapiro jashapiro merged commit eee7ed5 into main Jul 23, 2021
@jashapiro jashapiro deleted the jashapiro/support-0.4.1 branch July 23, 2021 21:13
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.

2 participants