-
Notifications
You must be signed in to change notification settings - Fork 41
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
Problems running MinIONQC.R script #59
Comments
Hi Laura, This is a simple one when you know the answer! Right now you're trying to run MinIONQC from within R. This is not what you should do. Instead, you should be running it directly from the commandline. On a mac you need to search for the 'terminal' app, and run it from there. On windows one of these options should work: https://www.digitalcitizen.life/run-window-windows-7-why-use-it-anymore/. Let me know here how you go - I can then update the instructions to be a bit clearer I hope! Rob |
Dear Rob, thank you very much for your kind answer! I followed your suggestions and I used Run. This is what I did:
R version 4.1.3 (2022-03-10) -- "One Push-Up" R è un software libero ed è rilasciato SENZA ALCUNA GARANZIA. R è un progetto collaborativo con molti contributi esterni. Scrivi 'demo()' per una dimostrazione, 'help()' per la guida And this is what I typed:
Installazione pacchetti in 'C:/Users/L.S/Documents/R/win-library/4.1' The packages were then successfully installed, and this message appeared: Then, I typed:
Clearly I must be doing something wrong! Could you please help me identifying where the issues are? Do I have to try to run the script from the windows command line? Thank you very much for your patience, have a good day! Laura |
Hi Laura, You installed the packages perfectly. After that you need to quit R, and then run MinIONQC from the commandline. So, go back to Run, and then you'll type something like:
where the [input_file] is the path to your input file, e.g.
|
Hello Robert, Thank you very much. Also, in my PC I do not have administrator privileges, but still I can run the command prompt as administrator. Thank you again for your patience! |
Good Morning,
I am experiencing problems in running the minion_qc script in R.
I believe I must be doing something wrong, as I have little experience with R.
This is what I am doing:
install.packages(c("data.table",
"futile.logger",
"ggplot2",
"optparse",
"plyr",
"readr",
"reshape2",
"scales",
"viridis",
"yaml"))
Rscript MinIONQC.R -i followed by the path/to/sequencing_summary.txt
But the result I always get is: Error: unexpected symbol in "Rscript MinIONQC.R"
Is there something wrong with the directory maybe?
I would really appreciate any kind of help and/or suggestions.
Thank you very much!
Laura
The text was updated successfully, but these errors were encountered: