博客园 首页 私信博主 显示目录 隐藏目录 管理 动画

fastqc出现错误

先用conda安装

conda install fastqc 

很顺利
输入

fastqc

结果

Exception in thread "main" java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
    at java.awt.Window.<init>(Window.java:536)
    at java.awt.Frame.<init>(Frame.java:420)
    at java.awt.Frame.<init>(Frame.java:385)
    at javax.swing.JFrame.<init>(JFrame.java:189)
    at uk.ac.babraham.FastQC.FastQCApplication.<init>(FastQCApplication.java:63)
    at uk.ac.babraham.FastQC.FastQCApplication.main(FastQCApplication.java:332)

可是输入

java -version

java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.15.04.1)
OpenJDK Client VM (build 24.79-b02, mixed mode, sharing)

这个网上说没有图形界面
可以这样

fastqc * .fastq&

或者

fastqc * .fq.gz&

都可以

 fastqc *.fq.gz &             [1] 117993
(fcx2.7) [train@train duanefuhuangF5-1_NDSW53945]$ Started analysis of duanefuhuangF5-1_NDSW53945_1.fq.gz
Approx 5% complete for duanefuhuangF5-1_NDSW53945_1.fq.gz
Approx 10% complete for duanefuhuangF5-1_NDSW53945_1.fq.gz
posted @ 2019-02-25 11:17  记号晴  阅读(2370)  评论(0编辑  收藏  举报
***********************************爱你呦,小可爱*********************************