Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in reading decoder file #46

Open
CS791 opened this issue Apr 8, 2020 · 1 comment
Open

error in reading decoder file #46

CS791 opened this issue Apr 8, 2020 · 1 comment

Comments

@CS791
Copy link

CS791 commented Apr 8, 2020

Hi!
I am using JunctionSeq first time and not very expert in R language.
While running JunctionSeq analysis I am getting an error in reading decoder file. Here is the command and error:
"#Read the decoder:
decoder.file <- system.file("~/R/Splicejunction/annoFiles/decoder.bySample.txt",
package="JunctionSeq");
decoder <- read.table(decoder.file,
header=TRUE,
stringsAsFactors=FALSE)"

"Error in read.table(decoder.file, header = TRUE, stringsAsFactors = FALSE) :
no lines available in input
In addition: Warning message:
In file(file, "rt") :
file("") only supports open = "w+" and open = "w+b": using the former"

Any help is much appreciated.

Thanks
CS

@hartleys
Copy link
Owner

the system.file invocation from the vignette is just to get the special files that come with the vignette. Replace the whole thing with the file name. Also to be safe I would use the full path instead of the tilde. So like:

decoder.file <- "/home/blahblah/R/Splicejunction/annoFiles/decoder.bySample.txt"

Then run the rest as is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants