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 for indexed GAF files #456

Merged
merged 4 commits into from
Sep 10, 2024
Merged

Support for indexed GAF files #456

merged 4 commits into from
Sep 10, 2024

Conversation

jmonlong
Copy link
Contributor

The latest versions of vg support GAF indexing, so I added this support here too. I had an old branch with support that I updated. It seems to work

GAF support

  • Use the appropriate command-line argument for vg chunk.
  • Process the extracted GAF file by converting to GAM before piping to vg view to get the JSON representation.
  • Added a test GAF file by converting, sorting and indexing exampleData/cactus-NA12879.gam (removing unmapped reads that tabix doesn't like...).

Limitations

  • Can't mix GAMs and GAFs because vg chunk can't handle it. Multiple GAMs or multiple GAFs work fine.

Docker container update

  • Bumped the version of vg to 1.59.0.
  • Updated the custom config.json for the container
    • Removed the examples bound to dataPath because the container is build so that dataPath points to /data

@jmonlong jmonlong changed the title Support for sorted GAF Support for indexed GAF files Aug 20, 2024
src/server.mjs Outdated Show resolved Hide resolved
@adamnovak adamnovak merged commit 82e4353 into master Sep 10, 2024
1 check passed
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