我试图在RNA seq(.fastq)上运行fastqc,但出现了一个我尚未设法解决的问题:

Approx 5% complete for SRR5280293.fastq
Approx 10% complete for SRR5280293.fastq
Approx 15% complete for SRR5280293.fastq
Approx 20% complete for SRR5280293.fastq
Approx 25% complete for SRR5280293.fastq
Approx 30% complete for SRR5280293.fastq
Approx 35% complete for SRR5280293.fastq
Approx 40% complete for SRR5280293.fastq
Approx 45% complete for SRR5280293.fastq
Approx 50% complete for SRR5280293.fastq
Approx 55% complete for SRR5280293.fastq
Approx 60% complete for SRR5280293.fastq
Approx 65% complete for SRR5280293.fastq
Approx 70% complete for SRR5280293.fastq
Approx 75% complete for SRR5280293.fastq
Approx 80% complete for SRR5280293.fastq
Approx 85% complete for SRR5280293.fastq
Approx 90% complete for SRR5280293.fastq
Approx 95% complete for SRR5280293.fastq
Analysis complete for SRR5280293.fastq
Failed to process file SRR5280293.fastq
java.lang.NullPointerException
    at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
    at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)
    at sun.awt.FontConfiguration.init(FontConfiguration.java:107)
    at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)
    at sun.font.SunFontManager$2.run(SunFontManager.java:431)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.font.SunFontManager.<init>(SunFontManager.java:376)
    at sun.awt.FcFontManager.<init>(FcFontManager.java:35)
    at sun.awt.X11FontManager.<init>(X11FontManager.java:57)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at java.lang.Class.newInstance(Class.java:442)
    at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
    at sun.font.SunFontManager.getInstance(SunFontManager.java:250)
    at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)
    at sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:855)
    at uk.ac.babraham.FastQC.Graphs.QualityBoxPlot.paint(QualityBoxPlot.java:88)
    at javax.swing.JComponent.print(JComponent.java:1202)
    at uk.ac.babraham.FastQC.Modules.AbstractQCModule.writeDefaultImage(AbstractQCModule.java:68)
    at uk.ac.babraham.FastQC.Modules.PerBaseQualityScores.makeReport(PerBaseQualityScores.java:199)
    at uk.ac.babraham.FastQC.Report.HTMLReportArchive.<init>(HTMLReportArchive.java:131)
    at uk.ac.babraham.FastQC.Analysis.OfflineRunner.analysisComplete(OfflineRunner.java:155)
    at uk.ac.babraham.FastQC.Analysis.AnalysisRunner.run(AnalysisRunner.java:110)
    at java.lang.Thread.run(Thread.java:748)


最后,我得到一个fastqc.zip文件,它是空的。没有HTML报告...
我在CentOS 7.3上运行它,而我的Java版本是:

openjdk version "1.8.0_161"
OpenJDK Runtime Environment (build 1.8.0_161-b14)
OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)


有人能帮我吗?
提前致谢!

最佳答案

在这里有同样的问题,唯一成功的方法是使用以下命令删除我的apt版本(因为mattbull说here,“ apast的FastQC已被打破)”:

sudo apt-get purge fastqc


然后注销并登录到您的实例以重置PATH。

然后,在Anaconda中搜索0.11.8 FastQC版本,因为我们知道该软件包中包含了运行良好的jdk版本。

conda search -c bioconda fastqc


然后,使用

conda install -c bioconda fastqc=0.11.8


至少只有这个,bug才对我消失,我可以正常使用FastQC。

09-27 01:58