Skip to content

DNAStringSet as genome input for RunChromVAR and AddMotifs #712

@rpolicastro

Description

@rpolicastro

Currently the documentation for AddMotif and RunChromVAR states that a BSgenome object is required for input to the genome argument. To avoid having to forge a BSgenome for new/custom assemblies or unsupported organisms, a DNAStringSet would be preferred as an alternative input. It appears that without modification to the code both AddMotif and RunChromVAR work with a DNAStringSet in a preliminary test run.

For AddMotif the internal call is to motifmatchr::matchMotifs. A DNAStringSet is a supported genome input according to their documentation.

For RunChromVAR although the chromVAR documentation only states that a BSgenome object is used for input, their generic functions support DNAStringSets.

There also don't appear to be any input checks or BSgenome specific function calls in Signac that would throw an error in an initial perusal of the code.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions