FastqCount (https://github.com/zhimenggan/FastqCount)主要用来计算fastq文件的reads数量、base数、Q20和Q30等指标,同时需要配合pigz一起来使用。
1. install pigz
conda install pigz
2.install FastqCount
1 2 3 4 5 6
| #down fron github wget https://github.com/zhimenggan/FastqCount/archive/refs/heads/master.zip cd FastqCount-master/ chmod 755 FastqCount_v0.5 #add FastqCount_v0.5 to PATH cp FastqCount_v0.5 ~/biobin
|
3.process FastqCount
1 2 3 4
| #for single fastq FastqCount_v0.5 input.fastq #for paired fastq pigz -dc Y31_1.fq.gz Y31_2.fq.gz | FastqCount_v0.5 - > Y31.seq.out
|
4.result
1 2
| Total Reads Total Bases N Bases Q20 Q30 GC 2024523950 (2024.52 M) 282606494306 (282.61 G) 0.00% 98.00% 93.00% 35.00%
|