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

Disallow commas and other punctuation in RNAME etc #333

Merged
merged 1 commit into from
Jan 16, 2019

Commits on Jan 15, 2019

  1. Disallow commas and other punctuation in RNAME etc (PR samtools#333)

    Disallow \ , "`' ()[]{}<> punctuation characters in reference sequence
    names. Commas and angle brackets are used to delimit refnames in other
    SAM fields (e.g. SA) and in VCF files, and restricting these other
    characters facilitates future delimiter and quoting syntax.
    
    Statistics gathered from various reference sequence archives suggest
    that these characters appear vanishingly infrequently in refnames in
    existing files in the wild.
    
    Fixes the SAM aspects of samtools#124, samtools#167, samtools#258, and samtools#291.
    
    Add appendix describing parsing `name:beg-end` when name allows colons:
    pseudocode description of algorithm to detect ambiguous input, as proposed
    in a comment on samtools#124; suggest also accepting an alternative `{name}:beg-end`
    delimited notation.
    
    Add previously omitted SQ-AN history note.
    jmarshall committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    7fd686b View commit details
    Browse the repository at this point in the history