Skip to content

Commit

Permalink
VCF ID column accepts semi-colons. #18 . Fixes #25
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristina Yenyxe Gonzalez Garcia committed Dec 5, 2014
1 parent 7f7f778 commit e659942
Show file tree
Hide file tree
Showing 3 changed files with 582 additions and 568 deletions.
7 changes: 5 additions & 2 deletions cpp/src/bioformats/vcf/vcf_v41.ragel
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,11 @@
# Records
record_chrom = (alnum | punct - ":")+ | ("<" (alnum | punct - (":" | ">"))+ ">");
record_pos = int_number ;
## ID must be a string with no white-spaces or semi-colons
record_id = (print - (space | ";"))+ | "." ;

## ID must be a (list of) string with no white-spaces or semi-colons
record_id_value = (print - (space | ";"))+ ;
record_id = record_id_value (";" record_id_value)* | "." ;

record_ref = bases ;

record_alt_snv = ((bases | ".") ("," (bases | "."))* )+ | "0";
Expand Down
Loading

0 comments on commit e659942

Please sign in to comment.