I corroborate with Sean and that this looks like a dependancy issue where SummarizedExperiment is not installed with RAPIDR. Once you load both RAPIDR and SummarizedExperiment, it should work.
Hi all! I'm trying to use RAPIDR package, but when I start with the first command with the code:
> makeBinnedCountsFile(bam.file.list=c("NIPD01.bam","NIPD02.bam"),
+ sampleIDs = c("sample1", "sample"),
+ binned.counts.fname = output.fname,
+ k=20000)
It give to me this error:
Error in assays(olap) : function "assays" not found
Do you know how can I resolve this?
1 answer
I'm not sure if the package author monitors biostars, so I'd suggest contacting the author of RAPIDR directly.
That said, you might try adding the SummarizedExperiment package to your R environment and then repeating your command.
source("https://bioconductor.org/biocLite.R")
biocLite("SummarizedExperiment")
library(SummarizedExperiment)
If this works for you, then the package needs to have some imports added.
HI, you were right. Now I can create the binned count fille, but I have another question: to perform masking step I need a mask bed file, where I can finds it? Is the output.fname.mask file that the package produce with the first binned? And if it is that file, how can I convert a .mask file in a .bed one?
ok will do that.
Thank You.
Log in to answer this question.
It is sometimes helpful to include the output of
sessionInfowhen reporting R package bugs/problems.I am using RAPIDR package for NIPT data analysis but I am getting error in creating reference set
This is my code :
I am getting following error:
My finalref looks like this
my session info is :
Hi pooja.solanki, I have changed your answer to a comment and moved it to the top of the thread. You have posted your question in an old post where the original question was already answered and solved. I have also wrapped your code and data output in your post by using the
101 010button.From which line, specifically, is your error being thrown? Have you checked the output of each step in order to ensure that each step is functioning correctly?
Hi Kevin thank you for modifying my post. I am new to this blog so didn't know how to post.
Regarding your query, yes I have checked my script I am getting bin file by running this script :
But after that next step for creating createReferenceSetFromCounts is not working for me.
Have you tried RAPIDR before? So many people are getting this same error.
Please suggest me how should I modify my script?
Hello - no problem, my friend.
Your column sampleID should be SampleID, with a capital 'S'. Please try that.
Hi,
If I change sampleID to SampleID then my script is not working at all.
Please contact the developers of the program. This looks like an issue that cannot be resolved here. It is their duty to follow up on errors with programs that they produce.