Closed apraga closed 1 year ago
Dear @apraga
Thanks for making the issue and showing interest in FASTX. I don't think this is a good idea for a few reasons:
julia> sequence(first(i for i in reader if identifier(i) == "S6C294"))[100:200]
"CGACTTCGGGCCGATGTTGTTTCAATGCCGTCTGAATCGCTTCCATCCGGATTTCGGCAAGCAGGTTCACGCCTTCTGTGGGCAGTTCCAAACGTTGCGCG"
extract
is O(1), and it's also clear it's not random access which extract
is.
Hi,
Indexed FASTA have
extract
to quickly get a sequence. I could not find a way to do the same without an index. Could such a method be added ?Expected Behavior
For example, with
sequence("chr1", 10, 1000, reader)
Possible Solution / Implementation
My attempt was
Your Environment
Thanks,