-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identifying extra columns in BED files #54
Comments
No, the API doesn't know that. Is this important? Do you suggest we change something here? Why are you interested in knowing the columns? In reality, I suppose we may not even know the column, depending on where the BED file came from... but as of right now we're not tracking that. We could work on that, though.
Yes, the files are served on a separate S3-compatible server. To find the URls for them, you use the DRS endpoints. That's described here: https://api.bedbase.org/docs/guide To show you specifically for this example, here's how to do it: In that example you'll see the identifier for that BED record: You'll see that it has an object called You can pass this to the DRS endpoints to get the object metadata: https://api.bedbase.org/objects/bed.421d2128e183424fcc6a74269bae7934.expected_partitions This has the URLs where you can get the object itself:
You could also get these PDFs from the links on the splash page : https://dev.bedbase.org/bed/421d2128e183424fcc6a74269bae7934 (these will point to the same files) |
Thanks for the explanation. I am still trying to understand the API as I develop the client. If the column information was available, I wanted to provide that to the user. I am not proposing any changes at this point. |
I wanted to follow up on identifying the types of BED files. I see that there's been some development on api-dev.bedbase.org. Should I be developing my client against your development version? |
Hi, yes, I rewrote bedbase API and divided endpoints into statistics, classification, files, plots, and raw metadata. All of these fields will be developed further. All endpoints now have schemas so it should be easier to understand. |
Hi,
I'm creating an R client for api.bedbase.org at https://github.com/jwokaty/BEDbaseR. I want to import the BED files into GRanges objects; however, I noticed that the BED files have a varying number of extra columns. Is there anyway for me to know from the API the what these columns are?
Also, when I look at
bed/example
, I seeAre files such as
output/bedstat_output/421d2128e183424fcc6a74269bae7934/GSM6856752_S1_H3K27ac_peaks_expected_partitions.pdf
available somewhere? I triedhttps://api.bedbase.org/output/bedstat_output/421d2128e183424fcc6a74269bae7934/GSM6856752_S1_H3K27ac_peaks_expected_partitions.pdf
but get{"detail":"Not Found"}
. This is more of a curiosity at this point as I am mostly interested in importing into a GRanges object as I am still trying to understand the API.Thanks for your help.
The text was updated successfully, but these errors were encountered: