Re: [galaxy-dev] Retrieving bam index file for visualization outside of Galaxy

2016-08-05 Thread Dannon Baker
Hi Scott,

This isn't currently exposed through the API, but I'm working on
implementing it at https://github.com/galaxyproject/galaxy/pull/2741, if
you'd like to test it.

-Dannon

On Thu, Aug 4, 2016 at 10:38 AM Ouellette, Scott <
scott_ouelle...@hms.harvard.edu> wrote:

> Hi all,
>
> I have a use case where I need to programmatically download both the
> *.bam* and it's index file to run IGV outside of Galaxy, but have not
> found a straightforward way to do so.
> It seems that Galaxy always generates this *.bai *file under the hood,
> and I can download it manually by clicking the “save” icon on the dataset
> in my history. Although, the application I am coding for relies on the
> bioblend Python library.
>
> ---
>
> In bioblend I see a field returned upon a
> `DatasetClient().show_dataset()` but that is
> as far as I've got:
>
> "meta_files": [
> {
> "file_type": "bam_index"
> }
> ],
>
> Any help is appreciated!
>
> Thanks,
> Scott O.
>
> ___
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>   https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

[galaxy-dev] Retrieving bam index file for visualization outside of Galaxy

2016-08-04 Thread Ouellette, Scott
Hi all,

I have a use case where I need to programmatically download both the .bam and 
it's index file to run IGV outside of Galaxy, but have not found a 
straightforward way to do so.
It seems that Galaxy always generates this .bai file under the hood, and I can 
download it manually by clicking the "save" icon on the dataset in my history. 
Although, the application I am coding for relies on the bioblend Python library.

---

In bioblend I see a field returned upon a 
`DatasetClient().show_dataset()` but that is as 
far as I've got:

"meta_files": [
{
"file_type": "bam_index"
}
],

Any help is appreciated!

Thanks,
Scott O.

___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/