nonsense mutations from DBS across two codons misclassified as nonsynonymous?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- r
- Ambito
- bioinformatics
Direzione di ricerca
Inizia in methods-predictCoding.R alla riga 184 e riproduci la sostituzione di dibase segnalata usando predictCoding con gli esempi dell’issue. Verifica come viene assegnato CONSEQUENCE quando VARAA contiene uno stop insieme a un altro amminoacido; il lavoro è completato quando tali varianti sono classificate come nonsense e il caso esistente di stop in un singolo codone rimane corretto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- R
- Stelle
- 32
- Fork
- 21
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Bioconductor/VariantAnnotation
-
refactor the package Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Bioconductor/VariantAnnotation#115 · 4 commenti ·
-
Bioconductor/VariantAnnotation#114 · 1 reazione · 2 assegnatari ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Bioconductor/VariantAnnotation#113 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
Bioconductor/VariantAnnotation#88 · 2 commenti ·
Tutte le issue di Bioconductor/VariantAnnotation
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
briandconnelly/airnow#9 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OHDSI/CohortConstructor#774 ·
-
pre-review R TeX Track: 5 (DSAIS)
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 60/100
openjournals/joss-reviews#11330 · 7 commenti ·
-
Release autosync 0.1.1 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100