先用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