seguid / seguid-javascript

SEGUID v2: Checksums for Linear, Circular, Single- and Double-Stranded Biological Sequences
https://www.seguid.org
MIT License
0 stars 1 forks source link

npx seguid --type=ldseguid <<< 'AC;GT': Invalid sequences #9

Closed HenrikBengtsson closed 6 months ago

HenrikBengtsson commented 6 months ago

I've added "<watson>;<crick>" checks for every "<watson>\n<rev-crick>" in wynton-tests. This caught errors related to:

$ npx seguid --type=ldseguid <<< $'AC\nTG'
ldseguid=1KdXwMHjbeQV6rDDZ6YS3gUfhKI

$ npx seguid --type=ldseguid <<< 'AC;GT'
Invalid sequences
$ npx seguid --version
0.0.1

$ git log -1
commit 31eaae3ee80bcfb6f2deb0f087141bf5ce08aa98 (HEAD -> main, origin/main, origin/HEAD)
Author: louisabraham <louis.abraham@yahoo.fr>
Date:   Mon Feb 26 15:40:30 2024 +0100

    fix script name
HenrikBengtsson commented 6 months ago

Seems to have been fixed in commit aa24853;

$ npx seguid --type=ldseguid <<< 'AC;GT'
ldseguid=1KdXwMHjbeQV6rDDZ6YS3gUfhKI