-
Notifications
You must be signed in to change notification settings - Fork 100
Description
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!