scanBamHeader for File on Internet
2
0
Entering edit mode
Dario Strbenac ★ 1.5k
@dario-strbenac-5916
Last seen 13 hours ago
Australia
Hello, Is it possible to use methods such as scanBamHeader on a BAM file that is described by an URL ? I only notice it taking file path arguments. I have the BAM file and its .bai file in a directory on a web server. -------------------------------------- Dario Strbenac Research Assistant Cancer Epigenetics Garvan Institute of Medical Research Darlinghurst NSW 2010 Australia
• 522 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 28 days ago
United States
On 01/10/2012 09:00 PM, Dario Strbenac wrote: > Hello, > > Is it possible to use methods such as scanBamHeader on a BAM file > that is described by an URL ? I only notice it taking file path > arguments. I have the BAM file and its .bai file in a directory on a > web server. Hi Dario -- Yes this should work, just provide the url as a character(1), fl = "http://..." ## or ftp if that's what the server serves scanBamHeader(fl) The vignette illustrates this. Martin > > -------------------------------------- Dario Strbenac Research > Assistant Cancer Epigenetics Garvan Institute of Medical Research > Darlinghurst NSW 2010 Australia > > _______________________________________________ Bioconductor mailing > list Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor Search the > archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor -- Computational Biology Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: M1-B861 Telephone: 206 667-2793
ADD COMMENT
0
Entering edit mode
Dario Strbenac ★ 1.5k
@dario-strbenac-5916
Last seen 13 hours ago
Australia
>just provide the url as a character(1), Ah, I tried this and it didn't work at first. But I've narrowed it down to a network issue here. There was a brief period of time it was working, so I know it will work at a later time.
ADD COMMENT

Login before adding your answer.

Traffic: 367 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6