gladkia / igvR

An R Bioconductor package providing interactive connections to igv.js (the Integrative Genomics Viewer) in a web browser
MIT License
42 stars 4 forks source link

Error: no slot of name "alignementj" for this object of class "GenomicAlignmentTrack" #16

Closed genec1 closed 2 years ago

genec1 commented 2 years ago

When I try to display a bam alignment track, I get the following error:

Error in sprintf("   writing bam file of size %d to %s", length(track@alignementj),  : 
  no slot of name "alignementj" for this object of class "GenomicAlignmentTrack"

R/igvR.R is the only file in which "alignementj" appears. Examining the slot names for the GenomicAlignmentTrack object, the closest is "alignment". The temporary fix is to set igv@quiet to TRUE, causing this code block to be skipped.

paul-shannon commented 2 years ago

@genec1 typo fixed. Thank you for the bug report.