Skip to content

Request: IUPAC with treshold #15

@spilsberg

Description

@spilsberg

Dear seqinr team

I have a request.

I am designing PCRs for different phylogenetic levels based on a few hundred sequences. For that purpose it had been handy to have a consensus sequence with IUPAC codes generated with a threshold I have chosen.

Test data:

seq1
ATGGCTAGACATTTAAAAT
seq2
ATGGCTAGAGATTTAAAAT
seq3
ATGGCTAGAGATTTAAAAT
seq4
ATGGCTAGAGATTTAAAAT

This is the result I wish for:

consensus(test, method = "IUPAC", threshold = 0.8, warn.non.IUPAC = FALSE, type = "DNA")
atggctagaSatttaaaat
consensus(test, method = "IUPAC", threshold = 0.7, warn.non.IUPAC = FALSE, type = "DNA")
atggctagaGatttaaaat

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