Skip to content

Commit

Permalink
error corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Jun 10, 2024
1 parent a5baa49 commit a984334
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/geniml/tutorials/bbclient.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This document provides tutorials for using `bbclient` via either:
```python
from geniml.bbclient import BBClient

bbclient = BBClient(cache_folder="cache", bedbase_api="https://api.bedbase.org
bbclient = BBClient(cache_folder="cache", bedbase_api="https://api.bedbase.org")
```

### Download and cache a remote BED file from BEDbase
Expand All @@ -35,6 +35,15 @@ gr = bedfile.to_granges() # should return a GenomicRanges object
bedfile_id = bbclient.add_bed_to_cache(bedfile) # compute its ID and add it to the cache
```


### Cache a BED file from within Python memory

You can just provide a URL and it will add to cache for you:

```python
bbclient.add_bed_to_cache(url)
```

### Load a BED file from cache into Python session

```python
Expand Down

0 comments on commit a984334

Please sign in to comment.