nonsense mutations from DBS across two codons misclassified as nonsynonymous?
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Accessibilité débutants
- 55/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- À l'abandon
- Stack technique
- r
- Domaine
- bioinformatics
Piste de recherche
Commencez dans methods-predictCoding.R à la ligne 184 et reproduisez la substitution de dibase signalée en utilisant predictCoding avec les exemples de l’issue. Vérifiez comment CONSEQUENCE est attribué lorsque VARAA contient un stop en plus d’un autre acide aminé ; le travail est terminé lorsque ces variants sont classés comme nonsense et que le cas existant d’un stop dans un seul codon reste correct.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Hi!
VariantAnnotation is a great package and I enjoy depending on it in my own package, thanks for that!
I'm looking at adding support for dibase substitutions, and seems there might be a little bug in the annotation there.
From
coding = VariantAnnotation::predictCoding(vcf, txdb, seqSource = fafile)
on a few hundred variants, I saw a few dibase variants that affected two amino acids, where one of them turned into stop, but CONSEQUENCE (incorrectly I think) classified it as a nonsynomous variant:
> coding[3,]
GRanges object with 1 range and 16 metadata columns:
seqnames ranges strand | REF ALT
<Rle> <IRanges> <Rle> | <DNAStringSet> <CharacterList>
[1] 1 27877576-27877577 - | GG AA
QUAL FILTER varAllele CDSLOC PROTEINLOC QUERYID
<numeric> <character> <DNAStringSet> <IRanges> <IntegerList> <integer>
[1] 40 PASS TT 1050-1051 350,351 12
TXID CDSID GENEID CONSEQUENCE REFCODON
<character> <IntegerList> <character> <factor> <DNAStringSet>
[1] 4786 14376,14377 27245 nonsynonymous CCCCAG
VARCODON REFAA VARAA
<DNAStringSet> <AAStringSet> <AAStringSet>
[1] CCTTAG PQ P*
-------
seqinfo: 93 sequences from an unspecified genome
While DBS that stayed in one codon were (correctly) annotated as nonsense.
> coding[coding$CONSEQUENCE=='nonsense',][1,]
GRanges object with 1 range and 16 metadata columns:
seqnames ranges strand | REF ALT
<Rle> <IRanges> <Rle> | <DNAStringSet> <CharacterList>
[1] 3 164739107-164739108 - | AT TA
QUAL FILTER varAllele CDSLOC PROTEINLOC QUERYID
<numeric> <character> <DNAStringSet> <IRanges> <IntegerList> <integer>
[1] 40 PASS TA 3163-3164 1055 69
TXID CDSID GENEID CONSEQUENCE REFCODON
<character> <IntegerList> <character> <factor> <DNAStringSet>
[1] 16983 52835 6476 nonsense ATA
VARCODON REFAA VARAA
<DNAStringSet> <AAStringSet> <AAStringSet>
[1] TAA I *
-------
seqinfo: 93 sequences from an unspecified genome
Seems it's checking if VARAA is identical to "*", while it really should check if it contains "*", as that is enough to truncate the protein.
Line 184 of methods-predictCoding.R
consequence[nonsynonymous & (as.character(varAA) %in% "*")] <- "nonsense"
Possibly should be something along the lines of
consequence[nonsynonymous & grepl("\\*", as.character(varAA))] <- "nonsense"
I'm adding a quick fix for it in my code
coding = VariantAnnotation::predictCoding(vcf, txdb, seqSource = fafile)
coding$CONSEQUENCE[grepl("\\*", as.character(coding$VARAA))] = 'nonsense'
so no hurry for me.
- Langage dominant
- R
- Étoiles
- 32
- Forks
- 21
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Bioconductor/VariantAnnotation
-
refactor the packageOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
Bioconductor/VariantAnnotation#115 · 4 commentaires ·
-
what is the "covr" condition of this package?Peut-être pris @vjcitn l’a pris il y a 83 jours. Ouverte
Bioconductor/VariantAnnotation#114 · 1 réaction · 2 personnes assignées ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
Bioconductor/VariantAnnotation#113 · 2 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
-
ensemblVEP::parseCSQToGRangesOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 30/100
Bioconductor/VariantAnnotation#88 · 2 commentaires ·
Toutes les issues de Bioconductor/VariantAnnotation
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
datacarpentry/semester-biology#1266 ·
Les mainteneurs répondent en général sous 1 jour
-
(feat) Additional Arrow supportOuverteenhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
REditorSupport/vscode-R#1785 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
ImperialCollegeLondon/ve_data_science#666 · 2 personnes assignées ·
Les mainteneurs répondent en général sous 1 jour