I noticed that columns in motifbreakR output for my SNPs provided in .bed files are different for motifbreakR v 1.14 and 2.4. The columns "alleleRef" and "alleleAlt" reported by v 1.14 are replaced by "altPos" and "alleleDiff" in 2.4. Since no description is provided for "altPos" and "alleleDiff" in the documentation I tried to figure out how they are calculated by analyzing the source code. I must admit that my R skills are poor but what I understood is that the "altPos" and "alleleDiff" columns are expected in output when indels are analyzed, while output for SNPs should contain "alleleRef" and "alleleAlt" columns. I would be grateful for your help in figuring out what happens here. The commands that I used were:
I noticed that columns in motifbreakR output for my SNPs provided in .bed files are different for motifbreakR v 1.14 and 2.4. The columns "alleleRef" and "alleleAlt" reported by v 1.14 are replaced by "altPos" and "alleleDiff" in 2.4. Since no description is provided for "altPos" and "alleleDiff" in the documentation I tried to figure out how they are calculated by analyzing the source code. I must admit that my R skills are poor but what I understood is that the "altPos" and "alleleDiff" columns are expected in output when indels are analyzed, while output for SNPs should contain "alleleRef" and "alleleAlt" columns. I would be grateful for your help in figuring out what happens here. The commands that I used were:
Please find also attached an example input bed file. test.txt