Skip to content

Commit

Permalink
Improve hivintact errors priority and translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Jul 21, 2023
1 parent b88c4e4 commit 0bca5be
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions gene_splicer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ def align(target_seq,
'APOBECHypermutationDetected': 'Hypermut',
'LongDeletion': 'LargeDeletion',
'PackagingSignalDeletion': '5DEFECT',
'PackagingSignalNotComplete': '5DEFECT',
'MajorSpliceDonorSiteMutated': '5DEFECT',
'WrongORFNumber': 'PrematureStop_OR_AAtooLong_OR_AAtooShort',
}

Expand All @@ -405,19 +407,19 @@ def translate_hivintact_error(error):
HIVINTACT_ERRORS_TABLE = [
'NonHIV',
'LongDeletion',
'Scramble',
'InternalInversion',
'Scramble',
'APOBECHypermutationDetected',
'MajorSpliceDonorSiteMutated',
'PackagingSignalDeletion',
'PackagingSignalNotComplete',
'RevResponseElementDeletion',
'MisplacedORF',
'WrongORFNumber',
'DeletionInOrf',
'InsertionInOrf',
'InternalStopInOrf',
'FrameshiftInOrf',
'MajorSpliceDonorSiteMutated',
'PackagingSignalDeletion',
'PackagingSignalNotComplete',
'RevResponseElementDeletion',
]

def iterate_hivintact_data(name, outpath):
Expand Down

0 comments on commit 0bca5be

Please sign in to comment.