Load from URL using SMB link

627 views
Skip to first unread message

Cody Ramirez

unread,
Apr 2, 2021, 5:48:19 PM4/2/21
to igv-help
Is there a way to load a BAM file using a SMB link?

Helga Thorvaldsdottir

unread,
Apr 5, 2021, 6:06:41 PM4/5/21
to igv-help
Hi - Are you on a Mac? Once you've mounted a drive, you can load a file on that drive through the File > Load from File menu (not from URL), and use the file browser to go to your <computer_name>. You'll probably see the mounted disk there, but if not you can find it under "Network", and then navigate down to the file as with any other file on your system.  I just verified this in IGV 2.9.4 on Catalina.

Cody Ramirez

unread,
Apr 6, 2021, 1:36:05 PM4/6/21
to igv-help
Thank you so much. I found it, I thought I would be able to just copy and paste the samba link. Clicking, mounting and navigating to the file worked for me too. Thank you so much.

Arnaud Ceol

unread,
May 17, 2021, 4:45:35 AM5/17/21
to igv-help
Hi,  I have the same problema as Cody.

What I'm trying to do is share an IGB sessions with colleagues in my institute. The files are on a smb/cifs share (important because we need authentication to access those files). The idea was therefore to insert the smb://path url (instead of https or a local path). Nevertheless  the smb URL is interpreted by IGV ad a local path :  /User/userID/smb:/path , and therefore IGV fails to load the session.

Thanks in advance to anyone who can help.

Arnaud

James Robinson

unread,
May 23, 2021, 12:47:09 AM5/23/21
to igv-help
Hi Arnaud,

I don't understand what you mean by "the smb URL is interpreted by IGV as a local path...".   Where are you entering an smb URL?  

Jim



Arnaud Ceol

unread,
Nov 14, 2022, 11:02:39 AM11/14/22
to igv-help
Sorry, I dropped this conversation a long time ago. I'm still strugling with it. To summarize:

- I can mount a smb volume and access the files from IGB but I would not be able to share the session with others (different path). What I would lie to do is access directly from a smb:// url.
- If I fill the "load from url" , with a smb://myurl , the error message is File not found: smb://myurl
- if I modify a session and insert "<Resource path="smb://myrul">..." the error message will be " Errors were encountered loading the session:
/Users/username/smb:/myurl
  org.broad.igv.exceptions.DataLoadException: /Users/username/smb:/myurl (No such file or directory)

I guess it means that IGV does not accept smb urls. Thsi would be really useful, because it would help us providing access to the files in a genome viewer while preserving file permissions at the posix/acs level of the file system.

igv-help

unread,
Nov 15, 2022, 2:45:37 AM11/15/22
to igv-help
First I assume you mean "IGV", but if you really intended to ask a question about "IGB" that is another project.

You are correct, SMB urls are not supported.   That would be difficult for us to take on, not least because we do not have any SMB servers.   We would entertain a pull request,  but should have some discussion first.  The best place for discussions like this is our github site,  https://github.com/igvteam/igv/issues.

-- Jim



Reply all
Reply to author
Forward
0 new messages