Open seb-mueller opened 7 months ago
~Can you share which meme version you are running? There may have been a change to default arguments or something in the cli.~
Oh, actually. This isn't really a "bug" per-se, but a documented requirement. I should add a better warning message, though.
see the runMeme docs
control any data type as in input, or a character vector of names(input) to use those regions as control sequences. Using sequences as background requires an alternative objective function. Users must pass a non-default value of objfun to ... if using a non-NA control set (default: NA)
Indeed, thanks for the feedback. Indeed, a few examples or clarifications could be beneficial, if you want, I can try to add some examples/clarifications in the doc as a PR?
Hi @snystrom, apologies for another issue, but since I'm playing around with this nice package I keep hitting edge cases I suppose.
This time it's about
runMeme
, which breaks given a control parameter, below is a reprducible example which is from the help file from runMeme (with with the parameter, using the same sequencesI've checked the output dir which only has an empty
meme.txt
. Note that Streme works as expected, so maybe a typo somewhere?runStreme(seqs, parse_genomic_coord = FALSE, control = seqsc)
Update: Playing around a little, it seems it works by setting
objfun
differntly:runMeme(seqsc, parse_genomic_coord = FALSE, control = seqsc, objfun = "se")
So it seems a meme cmd issues rather than for this package. Leaving this here anyways since it might bite others.