Skip to content

motifbreakR error SNPs from BED formatted file #41

@Seleit

Description

@Seleit

Hello,

I am trying to use motifbreakR to annotate some SNPs for medaka fish....i am using a custom already forged BSgenome for medaka which loads fine

library(BSgenome.medaka.ens94)

read.table(snps.bedfile.nors, header = FALSE)
V1 V2 V3 V4 V5 V6
1 3 31880001 31885000 chr3:31882398:T:A 0 +
2 3 31880001 31885000 chr3:31882435:C:T 0 +
3 3 31985001 31990000 chr3:31987045:G:A 0 +
4 3 32005001 32010000 chr3:32005290:C:T 0 +
5 3 32005001 32010000 chr3:32005319:C:A 0 +

snps.mb.frombed <- snps.from.file(file = snps.bedfile.nors, search.genome = BSgenome.medaka.ens94, format = "bed")
Error in mapSeqlevels(sequence, seqlevelsStyle(search.genome)) :
the supplied seqlevels style must be a single string
In addition: Warning message:
In snps.from.file(file = snps.bedfile.nors, search.genome = BSgenome.medaka.ens94, :
User selected reference allele differs from the sequence in BSgenome.medaka.ens94 continuing with genome specified reference allels
there are 46872 differences

help please! :)

Thank you so much
Ali

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions