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 VCF lines with positions at 0 #1959

Closed
fnothaft opened this issue Mar 21, 2018 · 0 comments
Closed

Support VCF lines with positions at 0 #1959

fnothaft opened this issue Mar 21, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@fnothaft
Copy link
Member

According to the VCF spec, these are admissible:

2. POS - position: The reference position, with the 1st base having position 1. Positions are sorted numerically,
in increasing order, within each reference sequence CHROM. It is permitted to have multiple records with the
same POS. Telomeres are indicated by using positions 0 or N+1, where N is the length of the corresponding
chromosome or contig. (Integer, Required)

We allow these in our schema and converter, but we create an invalid reference position for them.

@fnothaft fnothaft added the bug label Mar 21, 2018
@fnothaft fnothaft added this to the 0.24.0 milestone Mar 21, 2018
@fnothaft fnothaft self-assigned this Mar 21, 2018
fnothaft pushed a commit to fnothaft/adam that referenced this issue Mar 22, 2018
heuermh pushed a commit that referenced this issue Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant