motifBreakR icon indicating copy to clipboard operation
motifBreakR copied to clipboard

Analysis Error Using chek2 Example Data

Open DarioS opened this issue 4 years ago • 1 comments

I am using the example data contained in the package. It fails.

> test <- motifbreakR(snps.indel, hocomoco)
Error in strsplit(as.character(c(snp.sequence.alt.indel, snp.sequence.alt.snv)),  : 
  object 'snp.sequence.alt.indel' not found
In addition: Warning message:
In prepareVariants(fsnplist = snpList, genome.bsgenome = genome.bsgenome,  :
  Indels are included in variant input set, but legacy scoring was enabled.
Legacy scoring is not availble with indels and they will be dropped from analysis

?motifbreakR doesn't contain any useful information about different settings necessary for indels. The Usage section contains legacy.score = TRUE but the Arguments section is missing an entry for legacy.score. All user-modifiable function parameters should be documented in the Arguments section of an R Documentation file. I changed legacy.score to FALSE and another error happened.

> test <- motifbreakR(snps.indel, hocomoco, legacy.score = FALSE)
Error in .local(x, ...) : cluster already started

I think this software needs some thought put into basic tests so it doesn't produce a different error every time you try to use it.

DarioS avatar Aug 21 '20 07:08 DarioS

Hi the second error is not caused by motifbreakR

dennishazelett avatar Aug 21 '20 19:08 dennishazelett