Hi, I have same problem. can you tell me more detail how you solved that please?
Dear All I have latest version of Fastqc and java environment. Fastqc file does not open the program and when I run it from terminal it makes only a zip file and not the html report. zip file is also always broken and "An error occurred while loading the archive".
@ubuntu:~$ java -version openjdk version "1.8.0_03-Ubuntu" OpenJDK Runtime Environment (build 1.8.0_03-Ubuntu-8u77-b03-3ubuntu3-b03) OpenJDK 64-Bit Server VM (build 25.03-b03, mixed mode)
3 answers
This seems to be a bug when installing fastqc using apt-get install fastqc on some versions of Ubuntu.
One workaround is to keep the installation like this, download fastqc, and extract the contents of the fastqc zip into /etc/fastqc, then the system-wide fastqc installation will work fine.
Thank you for pointing out the mistake. It solved my problem.
I installed it using
sudo apt install fastqc
this installed a previous version Now I've downloaded the latest version but a simple command did not work. But a little amendment in command after cd to the program directory ./fastqc did the trick. Thanks again.
This error happened after I update my ubuntu system.... I think maybe that is the reason. Follow the error "java.io.FileNotFoundException......" I have tried to copy the "./Fastqc/fastqc/Configuration" to "/etc/fastqc" , and it worked. Just make sure you have those documents in that directory ~
Your solution works, why not put is as the answer, rather than a comments?
I wrote the solution "./fastqc" worked for me. If this doesn't solve your problem just paste the error you are getting. I will try to solve it.
I copied the 3 individual files seperately into the etc, after creating the fastqc and configuration directories. You have to use sudo mv command
Thanks. That worked purrrfectly!!!
I get lost about your problem Can you please tell me what did you do different to fix the error.
Thanks u
Log in to answer this question.
I assume you are running FastQC in GUI mode? Can you try running it on the command line (I will assume FastQC, Java are in your $PATH otherwise use full path to FastQC)
I did it as per your instructions but the results are same
Are you using the latest FastQC available?
I am not sure why you decided to put fastqc under /etc (it looks like you must have just moved/copied fastqc perl script to /etc). Can you run fastqc from the original folder (without moving the script out of the FastQC directory)?