Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
report refgenie genome digest
Browse files Browse the repository at this point in the history
  • Loading branch information
xuebingjie1990 committed Mar 26, 2021
1 parent 406e7f0 commit f074e80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pipeline/bedstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import os
import warnings
import tempfile
import requests

import pypiper
import bbconf
Expand Down Expand Up @@ -141,6 +142,10 @@
) and not os.path.islink(
os.path.join(args.bigbed, fileid + ".bigBed")
):
digest = requset.get(f"http://refgenomes.databio.org/genomes/genome_digest/{args.genome_assembly}")

This comment has been minimized.

Copy link
@nsheff

nsheff Mar 26, 2021

Member

request

data.update(
{"genome": {args.genome_assembly: digest}}
)
data.update(
{"bigbedfile": {"path": bigbed_relpath, "title": "Path to the big BED file"}}
)
Expand Down

0 comments on commit f074e80

Please sign in to comment.