Skip to content

Commit a86d4a7

Browse files
Update count.ngl
1 parent 36cf937 commit a86d4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macrel/data/scripts/count.ngl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ngless "1.0"
33
input = samfile(ARGV[1], name='MACREL')
44

55
# Filter to keep only primary alignments (equivalent to -F 256)
6-
filtered = filter(input, keep_if="not secondary")
6+
filtered = select(input, keep_if=[!is_secondary])
77

88
# Count features from filtered alignments
99
counts = count(filtered,

0 commit comments

Comments
 (0)