paprbag icon indicating copy to clipboard operation
paprbag copied to clipboard

OligonucleotideFrequency Error

Open GroovyGG opened this issue 5 years ago • 1 comments

Hi Carlus,

When I try to predict using the default forest with a sample fasta file through Biostrings::readDNAStringSet, I got the following error:

Error in GetOligonucleotideFrequency(Reads, k = k, prob = T, symmetric = SymmetricFeatures) : task 1 failed - "attempt to set 'colnames' on an object with less than two dimensions"

Is this a known issue? Thanks

GroovyGG avatar Nov 05 '19 20:11 GroovyGG

Hi and thanks for your interest in Paprbag.

Hmm, in R you typically get such errors when you supply only a single datum (e.g. a single read in this case) instead of a set of reads.

So does your fasta contain more than one read?

crarlus avatar Nov 11 '19 09:11 crarlus