ONiseR readFast5Summary Error
1
0
Entering edit mode
kaganr • 0
@kaganr-11424
Last seen 7.6 years ago

Hi,

I'm getting the following error:

> library("IONiseR", lib.loc="C:/Program Files/R/R-3.3.1/library")
> library("ggplot2", lib.loc="C:/Program Files/R/R-3.3.1/library")
> library("gridExtra", lib.loc="C:/Program Files/R/R-3.3.1/library")

> setwd("E:\\data\\reads\\downloads\\pass")
> getwd()
[1] "E:/data/reads/downloads/pass"
> fast5files <- list.files(path = getwd(), pattern = ".fast5$", full.names = TRUE)
> data.summary <- readFast5Summary(fast5files)
Checking file validity
Reading Channel Data
Reading Raw Data
Reading Template Data
Reading Complement Data
Reading Template FASTQ
Error in .subset(x, j) : invalid subscript type 'closure'

 

R 3.3.1 and tried IoniseR 1.2.2 and then 1.3.2, getting the same error.  Previous version of IoniseR 1.1.x under R 3.2.x used to work...

Thanks,

Ron

IONiseR • 902 views
ADD COMMENT
0
Entering edit mode

Hi Ron,

The format of the fast5 files changes quite frequently, so it maybe that IONiseR is unable to cope with some change in the internal structure.  Can you make one or two fast5 files available to me? (I don't need to know anything about the sample that were sequenced).  It would really help me get to the bottom of what's causing the error.

If you don't want to post a link on a public site you can send an email to the address in the package DESCRIPTION file.

Cheers,

Mike

ADD REPLY
0
Entering edit mode
Mike Smith ★ 6.5k
@mike-smith
Last seen 9 hours ago
EMBL Heidelberg

I think I have tracked this down to changes in the output from some dplyr functions.  It should now be fixed in version 1.3.4.  I will update the release branch shortly since it seems to have affected that too.

ADD COMMENT

Login before adding your answer.

Traffic: 666 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6