You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't fully debugged this, but I've been trying to retrieve variants for a small aSHM region. It works for genomes, but not capture:
regions <- GAMBLR:::process_regions(only_regions = "BCL6")
dim(get_ssm_by_region(
region =regions$regions[2],
seq_type = "genome"
))
# [1] 239 45
get_ssm_by_region(
region =regions$regions[1],
seq_type = "capture"
) %>% dim()
# [1] 543 45
get_ssm_by_region(
region =regions$regions[2],
seq_type = "capture"
)
# Error in methods::as(data[[i]], colClasses[i]) :
# no method or default for coercing “character” to “l”
I believe the capture maf file doesn't have any rows matching the region described by regions$regions[2] so vroom is choking on the specified column types. Can you please investigate? Ideally this would be robust to even small regions where one might find no mutations.
The text was updated successfully, but these errors were encountered:
@rdmorin For the tabix part that we have discussed earlier, I used Rsamtools for having a function similar to 'get_ssm_by_region' so it seems that it can solve the issue.
I haven't fully debugged this, but I've been trying to retrieve variants for a small aSHM region. It works for genomes, but not capture:
I believe the capture maf file doesn't have any rows matching the region described by
regions$regions[2]
so vroom is choking on the specified column types. Can you please investigate? Ideally this would be robust to even small regions where one might find no mutations.The text was updated successfully, but these errors were encountered: