Closed DanielEWeeks closed 1 year ago
For more details, see also
https://support.bioconductor.org/p/9148324/
Looks like the error is happening in parseResponse of rtracklayer, where the first few lines are:
results <- response[[tableName]]
if (is.null(names(results))) {
df <- do.call(rbind.data.frame, results)
}
If we watch this in the debugger, we see when we enter parseResponse, we have:
Browse[2]> tableName
[1] "gc5Base"
Browse[2]> names(response)
[1] "downloadTime" "downloadTimeStamp" "genome"
[4] "dataTime" "dataTimeStamp" "trackType"
[7] "track" "start" "end"
[10] "chrom" "chrX" "itemsReturned"
where the Wiggle track list information is in the chrX element of the response, but the code is trying to pull out the non-existent gc5Base element of the response instead.
So the line
results <- response[[tableName]]
sets results to NULL, generating the subsequent error message:
Error in do.call(rbind.data.frame, results) :
second argument must be a list
This call below to the
Gviz
functionUcscTrack
fails with the error message:Error fetching data from UCSC
The call below to
UcscTrack
sets up a query which then tries to use thetrack
command from thertracklayer
package at this line:This fails with the error message:
as well as with this warning:
As other similar queries work for different tracks/tables despite the warning about the CURLOPT_SSL_VERIFYHOST value, I suspect the relevant error message here is the one about the
rbind.data.frame
.Minimal Working Example
This is based on example code from The Gvis User Guide, so it appears to have worked properly in the past - See Section 6 of "The Gvis User Guide"
https://bioconductor.org/packages/devel/bioc/vignettes/Gviz/inst/doc/Gviz.html#6_Track_highlighting_and_overlays.
Output from the MWE above