# How can I use GTEx BAM files in Jupyter notebook?

**URL:** <https://help.anvilproject.org/t/how-can-i-use-gtex-bam-files-in-jupyter-notebook/20>\
**Category:** Data Access\
**Created:** [February 16, 2021, 9:57pm UTC](https://help.anvilproject.org/t/how-can-i-use-gtex-bam-files-in-jupyter-notebook/20 "2021-02-16T21:57:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![edmundotogo](https://yyz1.discourse-cdn.com/flex027/user_avatar/help.anvilproject.org/edmundotogo/32/95_2.png) [@edmundotogo](https://help.anvilproject.org/u/edmundotogo)\
**Post date:** [February 16, 2021, 9:57pm UTC](https://help.anvilproject.org/t/how-can-i-use-gtex-bam-files-in-jupyter-notebook/20/1 "2021-02-16T21:57:41Z")

</div>

I am having issues accessing GTEx data files from the Jupyter notebook option in Terra.

I’ve been following this documentation, but have been unsuccessful:  
[https://support.terra.bio/hc/en-us/articles/360046617372-Analyzing-data-from-a-workspace-bucket-in-a-notebook](https://support.terra.bio/hc/en-us/articles/360046617372-Analyzing-data-from-a-workspace-bucket-in-a-notebook)

I was just introduced to this other documentation that uses `terra-notebook-utils` to copy file URLs to your notebook (as I understood it):  
[https://support.terra.bio/hc/en-us/articles/360039330211](https://support.terra.bio/hc/en-us/articles/360039330211)

Am I required to pay to access the file?  
Is this method just to download files?  
Or should I be able to perform analysis in Jupyter notebooks here?

---

<div class="post-metadata">

**Author:** ![cutsort](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cutsort](https://help.anvilproject.org/u/cutsort)\
**Post date:** [February 18, 2021, 2:25pm UTC](https://help.anvilproject.org/t/how-can-i-use-gtex-bam-files-in-jupyter-notebook/20/2 "2021-02-18T14:25:59Z")

</div>

From Terra Support 9:25am EST

> Your request (114082) has been received and is being reviewed by our support staff.

---

<div class="post-metadata">

**Author:** ![cutsort](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cutsort](https://help.anvilproject.org/u/cutsort)\
**Post date:** [February 18, 2021, 3:32pm UTC](https://help.anvilproject.org/t/how-can-i-use-gtex-bam-files-in-jupyter-notebook/20/3 "2021-02-18T15:32:51Z")

</div>

From Terra Support 10:17am EST

> Thanks for reaching out. GTEx files are in a requester pays bucket, so the user will have to provide a project to bill if they are accessing/copying the files. Please see this article for more information, specifically the section on using `gsutil` in a notebook: [Using “Requester Pays” workspaces/buckets](https://support.terra.bio/hc/en-us/articles/360029801491-Using-Requester-Pays-workspaces-buckets?source=search&auth_token=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjoyMzc4MzYwLCJ1c2VyX2lkIjo0MTE0MTM1MTU0NzEsInRpY2tldF9pZCI6MTE0MDgyLCJjaGFubmVsX2lkIjo2MywidHlwZSI6IlNFQVJDSCIsImV4cCI6MTYxNjI1MTIxNH0.OSnSJw3NL2qgvPfKykTbOOreRygZoeEfxBjroqULiQM).

---

<div class="post-metadata">

**Author:** ![edmundotogo](https://yyz1.discourse-cdn.com/flex027/user_avatar/help.anvilproject.org/edmundotogo/32/95_2.png) [@edmundotogo](https://help.anvilproject.org/u/edmundotogo)\
**Post date:** [February 18, 2021, 11:23pm UTC](https://help.anvilproject.org/t/how-can-i-use-gtex-bam-files-in-jupyter-notebook/20/4 "2021-02-18T23:23:38Z")

</div>

Thanks for providing the `gsutil` usage for billing details!
