Skip to content

Behavior of --squeeze coupled with sequence selection #64

@metasoarous

Description

@metasoarous

I just tried running seqmagick convert --squeeze --include-from-file seq-id-file input.fasta output.fasta, hoping that I'd be able to "squeeze" out all of the columns which end up being all gaps when I select out just the specified set of sequences. Unfortunately, this doesn't work. My guess is that --squeeze only looks at column compositions before downsampling. Admittedly this can be worked around doing a two step pipe thing (seqmagick convert --include-from-file seq-id-file input.fasta - | seqmagick convert --squeeze - output.fasta), but I wonder what the "least surprise" here is, and whether this case isn't worth handling here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions