mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Convert first nucleotide of sequence to lower case in fasta reader
Former-commit-id: 856bb3a39a4f1143a34b1f8b4d8d12b0151c0c3e
This commit is contained in:
@ -219,6 +219,9 @@ func ParseFastaChunk(source string, ch FastxChunk) *obiiter.BioSequenceBatch {
|
||||
if !is_end_of_line {
|
||||
// Beginning of sequence
|
||||
start = i
|
||||
if C >= 'A' && C <= 'Z' {
|
||||
ch.Bytes[current] = C + 'a' - 'A'
|
||||
}
|
||||
current = i + 1
|
||||
state = 6
|
||||
}
|
||||
|
Reference in New Issue
Block a user