Skip to content
Prev 13110 / 21312 Next

[Bioc-devel] RareVariantVis failed

hi Tomasz,

regarding the warning caused by GenomicScores:

 > Warning in scores(phastCons100way.UCSC.hg19, scores.only = TRUE,
 > GRanges(seqnames = paste0("chr",  :
 >    The 'scores()' method has been deprecated and will become defunct in
 > the next release version of Biocondcutor 3.8. Please use its 
replacement functions 'gscores()' and 'score()'.

for this one just replace, the call:

scores(phastCons100way.UCSC.hg19, scores.only = TRUE, etc...

by

score(phastCons100way.UCSC.hg19, etc...

i.e., 'scores()' by 'score()' and remove 'scores.only=TRUE'.

 > Warning in gscores(object, ranges, ...) :
 >    assuming query ranges genome build is the one of the GScores object
 > (Genome Reference Consortium GRCh37).

here the 'genome' column in the sequence information ('seqinfo()') from 
the input ranges ranges is probably something like "hg19" or NA, while 
the one in the GScores object is "Genome Reference Consortium GRCh37". 
if you know both objects have positions over the same reference genome, 
you can forget about this warning. however, probably a warning is not 
necessary here, i'll replace it by a message and the warning will 
dissappear in a couple of days.

btw, i'm assuming we're talking here about the current 'development' 
branch of Bioconductor, i.e., GenomicScores version 1.3.21.

cheers,

robert.
On 04/03/2018 12:43 PM, Tomasz Stokowy wrote: