Skip to content

Commit

Permalink
Merge pull request #541 from uclahs-cds/czhu-fix-vep-parser
Browse files Browse the repository at this point in the history
Only read column 1-13 from VEP TSV
  • Loading branch information
zhuchcn authored Jul 27, 2022
2 parents bc2f651 + 213fa35 commit b066c64
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

## [0.9.1] - 2022-07-27

### Added

- UTIL command line tool `validateNoncodingCalling` added to validate the output of `callNoncoding` with `bruteForceNoncoding`. #524

## Fixed

- `parseVEP` updated to only parse the first 13 columns of the VEP TSV. #540

---

## [0.9.0] - 2022-07-18
Expand Down
2 changes: 1 addition & 1 deletion moPepGen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import Iterable, IO


__version__ = '0.9.0'
__version__ = '0.9.1'

## Error messages
ERROR_INDEX_IN_INTRON = 'The genomic index seems to be in an intron'
Expand Down
3 changes: 0 additions & 3 deletions moPepGen/parser/VEPParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ def parse(handle:IO) -> Iterable[VEPRecord]:
codons = (codons[0], '')

extra = {}
for field in fields[13].split(';'):
key, val = field.split('=')
extra[key] = val

yield VEPRecord(
uploaded_variation=fields[0],
Expand Down

0 comments on commit b066c64

Please sign in to comment.