We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81cda1f commit 457e9b7Copy full SHA for 457e9b7
src/algorithms/naivecollector.jl
@@ -36,13 +36,13 @@ function NaiveCollector(
36
overlap::Bool = false,
37
kwargs...
38
) where {N}
39
- regorf = alternative_start ? biore"NTG(?:[N]{3})*?T(AG|AA|GA)"dna : biore"ATG(?:[N]{3})*?T(AG|AA|GA)"dna
+ regorf::BioRegex = alternative_start ? biore"NTG(?:[N]{3})*?T(AG|AA|GA)"dna : biore"ATG(?:[N]{3})*?T(AG|AA|GA)"dna
40
revseq = reverse_complement(seq)
41
seqlen = length(seq)
42
seqname = _varname(seq)
43
44
- function createorfs(x, strand)
45
- while length(x.captured[1]:x.captured[3]) > minlen
+ function createorfs(x, strand::Strand)
+ while length(x.captured[1]:x.captured[3])::Int64 > minlen
46
if strand == STRAND_POS
47
start = x.captured[1]
48
stop = x.captured[3] + 1
0 commit comments