eg-react icon indicating copy to clipboard operation
eg-react copied to clipboard

bigwig help

Open mozesjacobs opened this issue 2 years ago • 8 comments

Hello,

I am trying to use a bigWig track to color certain beads in the structure as LADs and certain ones as not LADs. I am able to successfully upload both the bigWig file and my structure (and I am able to visualize the structure itself) using the local track feature. However, whenever I try to pain the structure using the bigWig track in the numerical painting option, I keep getting the error "bigwig url for paint is empty, abort... X".

In addition, it seems I can't adjust the resolution from 20000, but my structures use a resolution of 1 mb.

I have uploaded the structure and the bigwig to drive, if that helps. structure: https://drive.google.com/file/d/1UflCvfk6T90folRWO2SNxJH3--SUeR1f/view?usp=sharing bigWig: https://drive.google.com/file/d/1b-cRbpRZ1aPTWQLmRZ_YkjRFA8uJUexH/view?usp=sharing

Thank you very much!

mozesjacobs avatar May 26 '22 20:05 mozesjacobs

Hi @mozesjacobs the bigwig track is a little bit tricky it works with remote tracks when selecting loaded tracks, passing a file Blob from browser to 3D viewer might causing performance issue..so I didn't add that option..i guess maybe i can allow upload of bigwig to 3d viewer as well. so far, I put your bigwig file under https://target.wustl.edu/dli/tmp/mozesjacobs/ and you can use the URL to paint with 3d, feel free to send me more bw files and i will put them there.

for resolutions, you file only contains the default 200k resolution, you would need to adjust the default parameters when generating g3d file.

$ g3dtools meta struct_inferred.000.g3d 
{
    "version": 2,
    "genome": "unknow_genome",
    "name": "unknow_name",
    "resolutions": [
        20000
    ]
}

lidaof avatar May 26 '22 21:05 lidaof

Ohh gotcha! Great, thank you!

mozesjacobs avatar May 26 '22 22:05 mozesjacobs

I'm only able to paint the main picture, but not the thumbnail. Is it possible to paint the thumbnail too?

mozesjacobs avatar May 26 '22 22:05 mozesjacobs

right now only main structure can be painted, more coding needed for the feature you mentioned. I will add it to my todo list :)

lidaof avatar May 26 '22 22:05 lidaof

Okay, thank you!

mozesjacobs avatar May 26 '22 22:05 mozesjacobs

Hi again! Could you upload this bigWig file to the browser for me? https://noble.gs.washington.edu/proj/pastis-protocol/lad_notlad.bw

Thank you!!

mozesjacobs avatar Jun 09 '22 09:06 mozesjacobs

@mozesjacobs sure thing, done

lidaof avatar Jun 09 '22 14:06 lidaof

Thank you!!!!

mozesjacobs avatar Jun 09 '22 15:06 mozesjacobs

close for now, feel free to open new issue. thank you!

lidaof avatar Jan 25 '23 16:01 lidaof