Skip to content

Commit 8ac5e44

Browse files
add support for gap character in NucleotideSequence type
1 parent 7a2c213 commit 8ac5e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anyvlm/utils/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class UcscAssemblyBuild(StrEnum):
3030
NucleotideSequence = Annotated[
3131
str,
3232
BeforeValidator(str.upper),
33-
StringConstraints(pattern=r"^[ACGTURYKMSWBDHVN]*$"),
33+
StringConstraints(pattern=r"^[ACGTURYKMSWBDHVN.-]*$"),
3434
]
3535

3636

0 commit comments

Comments
 (0)