Skip to content

Commit

Permalink
fixed flags to flag for prepareQCdata
Browse files Browse the repository at this point in the history
  • Loading branch information
junjunlab committed Sep 19, 2024
1 parent 336e4e8 commit 1533cf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions inst/extdata/prepareQCdata.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions inst/extdata/prepareQCdataForBam.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1533cf1

Please sign in to comment.