An error occured during fastqc.
3
1
Entering edit mode
5.6 years ago
rahul ▴ 20

Dear All I have install latest version of FastQC and java environment. FastQC unable to complete the run, when I run it from the terminal an error occurred.

~/Desktop/NGS/raw_data$ fastqc -f fastq sample.fastq.gz
java.io.FileNotFoundException: /etc/fastqc/Configuration/adapter_list.txt (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at uk.ac.babraham.FastQC.Modules.AdapterContent.<init>(AdapterContent.java:75)
    at uk.ac.babraham.FastQC.Modules.ModuleFactory.getStandardModuleList(ModuleFactory.java:37)
    at uk.ac.babraham.FastQC.Analysis.OfflineRunner.processFile(OfflineRunner.java:134)
    at uk.ac.babraham.FastQC.Analysis.OfflineRunner.<init>(OfflineRunner.java:102)
    at uk.ac.babraham.FastQC.FastQCApplication.main(FastQCApplication.java:316)
Started analysis of sample.fastq.gz
java.io.FileNotFoundException: /etc/fastqc/Configuration/limits.txt (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at uk.ac.babraham.FastQC.Modules.ModuleConfig.readParams(ModuleConfig.java:87)
    at uk.ac.babraham.FastQC.Modules.ModuleConfig.<clinit>(ModuleConfig.java:35)
    at uk.ac.babraham.FastQC.Modules.PerTileQualityScores.processSequence(PerTileQualityScores.java:174)
    at uk.ac.babraham.FastQC.Analysis.AnalysisRunner.run(AnalysisRunner.java:88)
    at java.lang.Thread.run(Thread.java:748)
Approx 5% complete for sample.fastq.gz
software-error fastqc next-gen • 2.9k views
ADD COMMENT
0
Entering edit mode

I added markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below:

101010 Button

ADD REPLY
0
Entering edit mode
ADD REPLY
1
Entering edit mode

Thank you Flogin. Initially I installed fastqc by using terminal but its dosn't work, so I removed fastqc from APT install and install manually. And after installing manually when I execute to run the sample, its shows error which I mentioned earlier.

ADD REPLY
4
Entering edit mode
5.6 years ago

This is a general problem if you have installed fastqc from ubuntu repos (may be the same with debian and mint as well). Copy the txt files in fastqc repo (https://github.com/s-andrews/FastQC/tree/master/Configuration) into /etc/fastqc/Configuration folder (assuming that you have root/sudo privileges). If system doesn't have such directory, create the directory and copy the files. This should resolve your issue. rk10496mailm

ADD COMMENT
2
Entering edit mode
5.6 years ago

Form the error it looks like adapter list is missing. The Configuration folder of FastQC should contain the following files.

$tree /Toolbox/FastQC/Configuration/
/Toolbox/FastQC/Configuration/
├── adapter_list.txt
├── contaminant_list.txt
└── limits.txt

Download FastQC

ADD COMMENT
0
Entering edit mode

Thank you Arup for your output.

ADD REPLY
1
Entering edit mode
5.6 years ago

I highly recommend that you start installation using conda

Step#1 - Read this article , optional but highly recommended to read through.

Step#2 - Install miniconda

  • download suitable miniconda installer using this link
  • install miniconda - sh Miniconda2-latest-Linux-xxx_xx.sh
  • activate conda - conda activate

Step#3 - install fastqc

conda install -c bioconda fastqc
ADD COMMENT

Login before adding your answer.

Traffic: 1840 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