Skip to content

CutN fails when sequence begins with Ns #211

Description

@hloucks

Using seqtk version 1.4-r122 seqt fails to identify Ns at the beginning of the contig

Example

>test
NNNNNNNATCTA
>test2
AATTCNNNA

seqtk cutN -g -n1 test.fa
test2	5	8

seqtk gap -l 1 test.fa
test	0	7
test2	5	8

CutN identifies the stretch of Ns in the second contig but not if the first which begins with Ns. Seqtk gap works as expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions