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

feat: output Genebank feature table file #982

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ivan-aksamentov
Copy link
Member

@ivan-aksamentov ivan-aksamentov commented Sep 1, 2022

Resolves #980

  • introduce query coord map
  • use query coord map to calculate gene boundaries in query coordinates
  • modify GFF3 parser to read new fields (feature type and attributes)
  • handle non-gene entries in GFF3 parser
  • add feature table writer
  • write feature table file (.tbl)
  • add optional --output-feature-table argument to Nextalign CLI
  • add optional --output-feature-table argument to Nextclade CLI
  • add feature-table to the list of possible values for --output-selection
  • add default extension.tbl for this file when output with --output-all
  • add download entry for feature table file in Nextclade Web
  • ? modify translation to only account for CDS? genes? both? something else?

This only renames usages of variables `coord_map` to `coord_map_ref` to prepare for introduction of another coord map: `coord_map_qry`.
Add `coord_map_qry` which allows to convert nuc positions from alignment coordinates to query coordinates. Use `coord_map_qry` to calculate `gene_range_qry` - gene ranges in query coordinates.
@vercel
Copy link

vercel bot commented Sep 1, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nextclade ✅ Ready (Inspect) Visit Preview Sep 2, 2022 at 9:24AM (UTC)

@ivan-aksamentov ivan-aksamentov changed the title feat: output Genebank feature table files feat: output Genebank feature table file Sep 1, 2022
Add feature table writer (https://www.ncbi.nlm.nih.gov/genbank/feature_table/)

Add optional `--output-feature-table` CLI argument to Nextclade CLi and Nextalign CLI

Add `feature-table` to the list of possible `--output-selection` values

Add default extension`.tbl` for this file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

ENH: Output feature table for use during Genbank submission
1 participant