Fastqc官网:Babraham Bioinformatics - FastQC A Quality Control tool for High Throughput Sequence Data

正确命令

fastqc --noextract  201645A_200048_1_S1_L001_R1_001.fastq.gz 

当拿到测序数据的第一件事往往是进行质检,Fastqc是较为常用的质控软件,优点是:软件小,易于安装,傻瓜式操作。

Fastqc有两种使用方式,

1. windows系统使用,Fastqc最基本的使用方式,一种交互式界面,使用非常简单,但是这种方式质检小批量数据,对于超过100G或者上T的数据,如果不怕电脑崩了可以试试。

2. Linux系统使用,命令行运行,适合大批量测序数据质检

需要注意,如果直接使用默认参数运行会报错,如下:

fastqc 201645A_200048_1_S1_L001_R1_001.fastq.gz
Error: Could not find or load main class uk.ac.babraham.FastQC.FastQCApplication

查看帮助文件给人的感觉是:Fastqc作者推荐用使用windows系统,因为文件中描述了很多Running FastQC Interactively的内容

帮助文件也说明了如何在Linux中运行Fastqc,以及参数

To run non-interactively you simply have to specify a list of files to process
on the commandline1. fastqc somefile.txt someotherfile.txt 生成含有fastq文件名的txt文件You can specify as many files to process in a single run as you like.  If you don't
specify any files to process the program will try to open the interactive application
which may result in an error if you're running in a non-graphical environment.There are a few extra options you can specify when running non-interactively.  Full
details of these can be found by running 2. fastqc --helpBy default, in non-interactive mode FastQC will create an HTML report with embedded
graphs, but also a zip file containing individual graph files and additional data files
containing the raw data from which plots were drawn.  The zip file will not be extracted
by default but you can enable this by adding:3. --extract 解压缩文件To the launch command.If you want to save your reports in a folder other than the folder which contained
your original FastQ files then you can specify an alternative location by setting a
--outdir value:4. --outdir=/some/other/dir/If you want to run fastqc on a stream of data to be read from standard input then you
can do this by specifing 'stdin' as the name of the file to be processed and then
streaming uncompressed fastq format data to the program.  For example:zcat *fastq.gz | fastqc stdinIf you want the results from a streamed analysis sent to a file with a name other than
stdin then you can add a colon and put the file name you want, for example:zcat *fastq.gz | fastqc stdin:my_results..would write results to my_result.html and my_results.zip.

按照帮助文件操作,生成一个200048.txt文件,里边有要质检数据的文件名,并没有什么用,仍然报错

cat 200048.txt
201645A_200048_1_S1_L001_R1_001.fastq.gzfastqc 200048.txt
Failed to process 200048.txt
uk.ac.babraham.FastQC.Sequence.SequenceFormatException: ID line didn't start with '@'at uk.ac.babraham.FastQC.Sequence.FastQFile.readNext(FastQFile.java:158)at uk.ac.babraham.FastQC.Sequence.FastQFile.<init>(FastQFile.java:89)at uk.ac.babraham.FastQC.Sequence.SequenceFactory.getSequenceFile(SequenceFactory.java:106)at uk.ac.babraham.FastQC.Sequence.SequenceFactory.getSequenceFile(SequenceFactory.java:62)at uk.ac.babraham.FastQC.Analysis.OfflineRunner.processFile(OfflineRunner.java:159)at uk.ac.babraham.FastQC.Analysis.OfflineRunner.<init>(OfflineRunner.java:121)at uk.ac.babraham.FastQC.FastQCApplication.main(FastQCApplication.java:316)

仔细查看了fastqc --help内容,其中有一个参数

    --noextract     Do not uncompress the output file after creating it.  Youshould set this option if you do not wish to uncompressthe output when running in non-interactive mode.

添加该参数后成功运行

fastqc --noextract  201645A_200048_1_S1_L001_R1_001.fastq.gz
Started analysis of 201645A_200048_1_S1_L001_R1_001.fastq.gz

3. Fastqc运行依赖于Java,所以,无论是在windows中使用还是在Linux中使用都需要先安装jre

Linux系统或服务器运行Fastqc相关推荐

  1. 查看linux糸统dns是否运行,探查Linux系统DNS服务器运行状况

    第一页 在Linux环境下,也提供了广泛流行的BIND服务器,它是构建DNS服务器最常用的服务器软件.介绍BIND的安装的文章现在很多,现在我们就一起来谈一下维护的话题.我们如何才能够了解DNS服务器 ...

  2. linux 查看dns进程,探查Linux系统DNS服务器运行状况

    在Linux环境下,也提供了广泛流行的BIND服务器,它是构建DNS服务器最常用的服务器软件.介绍BIND的安装的文章现在很多,现在我们就一起来谈一下维护的话题.我们如何才能够了解DNS服务器的运行情 ...

  3. linux系统ftp服务器详解

    匿名FTP服务 1.检查并安装vsFTPD软件包 在终端窗口输入命令:"rpm –qa|grep vsftpd 命令检查系统是否安装了VsFTPD软件包,如下图所示: 如上图所示 vsftp ...

  4. Linux系统7个运行级别图文详解

    Linux系统7个运行级别图文详解 当安装linux操作系统时将选择下列那一个操作 ______ A.选择 "图形登录方式" 设定系统开始运行级为4 B.选择 "文本登录 ...

  5. Linux系统云服务器查看/启用网站日志

    查看网站日志 BT环境 进入BT管理面板中,点击左侧"网站"-对应站点--点击"设置"-配置文件,查看access_log行 (access_log为网站访问日 ...

  6. 如何查看Linux系统下程序运行时使用的库?

    Linux系统下程序运行会实时的用到相关动态库,某些场景下,比如需要裁剪不必要的动态库时,就需要查看哪些动态库被用到了. 以运行VLC为例. VLC开始运行后,首先查看vlc的PID,比如这次查到的V ...

  7. linux web 服务器性能,Linux系统Web服务器性能测试(2)

    2.系统内存的影响 在linux系统下,有一点需要注意:对于某些BIOS来说,如果超过64MB内存就需要在LILO.CONF中加入扩展内存的命令,否则服务器内存显示只有64MB.我们对64MB内存和1 ...

  8. linux系统查询服务器型号,Linux系统查看服务器型号

    Linux系统查看服务器型号 首先安装dmidecode: [root@localhost ~]# yum -y install dmidecode 然后查看服务器信息: [root@localhos ...

  9. linux系统上运行sh,Linux系统下如何运行.sh文件的实现

    Linux系统下如何运行.sh文件的实现 在Linux系统下运行.sh文件有两种方法,比如我在root目录下有个datelog.sh文件 第一种(这种办法需要用chmod使得文件具备执行条件(x): ...

最新文章

  1. [转载]IPMSG(飞鸽传书)协议翻译
  2. 最近一篇关于深度学习在地图-定位应用的综述
  3. 在 Linux中find命令使用技巧
  4. java中的易混问题收集
  5. 牛津花卉数据集贴标签分类
  6. UA MATH566 统计理论7 还有一个例子:推导卡方检验
  7. Caffe代码导读(4):数据集准备
  8. Python 函数参数的分类及使用方法
  9. 用springmvc 开发为 app 提供后台服务遇到跨域请求的问题
  10. 关于ubuntu对有线网卡I219-V和无线网卡RTL8723DE 802.11b/g/n的支持问题
  11. 跟着刚哥梳理java知识点——多线程(十六)
  12. 造完家怎么拆东西_地弹簧玻璃门怎么拆?地弹簧玻璃门拆除注意事项有哪些?...
  13. Easystructure教程_C语言源代码自动生成流程图
  14. 王者荣耀不同服务器能显示微信好友吗,王者荣耀怎么看微信好友在那个区
  15. android单选按钮_Android单选按钮示例
  16. 公众号零基础,只需10分钟,你的公众号也能5天500+粉丝
  17. 目标客户画像_如何定义目标客户和用户画像
  18. PS调出怀旧雨中特写的非主流照片
  19. 天池竞赛 | 中医药领域的问题生成冠军方案
  20. 爱创课堂每日一题第五十六天-对前端界面工程师这个职位是怎么样理解的?它的前景会怎么样?...

热门文章

  1. layui分页和模板引擎
  2. 关于java的搞笑段子_让人笑到抽筋的10条搞笑段子
  3. 调整 Windows 11 任务栏位置
  4. JUC之striped64
  5. AP: Oracle EBS AP INVOICE TAX 税码计算规则(ZT)
  6. XML解析及JSON解析
  7. Pytorch模型通过paddlelite部署到嵌入式设备
  8. 缤纷精致形 活力动感音 飞利浦真无线耳机T1285耀世上市
  9. linux如何彻底删除一个用户
  10. C++语言课程设计——超市商品管理系统