Skip to content

Commit 320812f

Browse files
committed
fixed a bug that could lead to incorrect read numbers
1 parent 32d5d4c commit 320812f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statistics.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ do
7777
# Reads Count (Raw Data) - with seqkit stats
7878
cd ${basecall_dir}
7979
fn1=`ls ${basecall_dir} | grep *$file*R1*.gz`
80-
fn2=`ls ${basecall_dir} | grep *$file*R1*.gz`
80+
fn2=`ls ${basecall_dir} | grep *$file*R2*.gz`
8181
R1_reads=`seqkit stats $fn1 -T -j ${threads} | awk 'NR>1{print $4}'`
8282
R2_reads=`seqkit stats $fn2 -T -j ${threads} | awk 'NR>1{print $4}'`
8383

0 commit comments

Comments
 (0)