From 1533cf1bf0c34e0ea44053afae2dd629d889a345 Mon Sep 17 00:00:00 2001 From: JunJun <3219030654@stu.cpu.edu.cn> Date: Thu, 19 Sep 2024 15:38:20 +0800 Subject: [PATCH] fixed flags to flag for prepareQCdata --- inst/extdata/prepareQCdata.jl | 4 ++-- inst/extdata/prepareQCdataForBam.jl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inst/extdata/prepareQCdata.jl b/inst/extdata/prepareQCdata.jl index 0c0e1cd..14d57a1 100644 --- a/inst/extdata/prepareQCdata.jl +++ b/inst/extdata/prepareQCdata.jl @@ -84,7 +84,7 @@ function prepareQCdata(;longestTransInfo,inFile,outFile,seqType,assignType) # end # read flag tag - flag = SAM.flags(record) + flag = SAM.flag(record) # if flag == 16 || flag == 0 # total_mapped_counts += 1 @@ -224,7 +224,7 @@ function prepareQCdata_ontrans(;inFile,outFile,seqType,assignType) refname = SAM.refname(record) align_pos = SAM.position(record) read_length = SAM.seqlength(record) - flag = SAM.flags(record) + flag = SAM.flag(record) # if flag == 16 || flag == 0 # total_mapped_counts += 1 diff --git a/inst/extdata/prepareQCdataForBam.jl b/inst/extdata/prepareQCdataForBam.jl index d6fe601..b0728c3 100644 --- a/inst/extdata/prepareQCdataForBam.jl +++ b/inst/extdata/prepareQCdataForBam.jl @@ -84,7 +84,7 @@ function prepareQCdata(;longestTransInfo,inFile,outFile,seqType,assignType) # end # read flag tag - flag = BAM.flags(record) + flag = BAM.flag(record) # if flag == 16 || flag == 0 # total_mapped_counts += 1 # end @@ -223,7 +223,7 @@ function prepareQCdata_ontrans(;inFile,outFile,seqType,assignType) refname = BAM.refname(record) align_pos = BAM.position(record) read_length = BAM.seqlength(record) - flag = BAM.flags(record) + flag = BAM.flag(record) # if flag == 16 || flag == 0 # total_mapped_counts += 1