Skip to content

Commit

Permalink
Watchdog update, workshop progress, blacklisting fix, http remote pro…
Browse files Browse the repository at this point in the history
…vider change, more assertions, list_commands coloring fix
  • Loading branch information
weber8thomas committed Jan 9, 2024
1 parent cf054e0 commit 99c2af4
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions workflow/rules/external_data.smk
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
import os

# from snakemake.remote.HTTP import RemoteProvider as HTTPRemoteProvider

# HTTP = HTTPRemoteProvider()

storage:
provider="http",

rule dl_example_data:
input:
storage(
"https://sandbox.zenodo.org/record/1074721/files/TEST_EXAMPLE_DATA.zip",
keep_local=True,
),
output:
touch("config/dl_example_data.ok"),
log:
touch("log/config/dl_example_data.ok"),
run:
shell("unzip {input} -d .")


rule download_hg19_reference:
input:
storage(
storage.http(
"https://hgdownload.soe.ucsc.edu/goldenPath/hg19/bigZips/analysisSet/hg19.p13.plusMT.no_alt_analysis_set.fa.gz",
keep_local=True,
),
Expand All @@ -42,7 +31,7 @@ rule download_hg19_reference:

rule download_hg38_reference:
input:
storage(
storage.http(
"https://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/analysisSet/hg38.analysisSet.fa.gz",
keep_local=True,
),
Expand All @@ -63,7 +52,7 @@ rule download_hg38_reference:

rule download_T2T_reference:
input:
storage(
storage.http(
"https://s3-us-west-2.amazonaws.com/human-pangenomics/T2T/CHM13/assemblies/analysis_set/chm13v2.0.fa.gz",
keep_local=True,
),
Expand All @@ -84,7 +73,7 @@ rule download_T2T_reference:

rule download_mm10_reference:
input:
storage(
storage.http(
"https://hgdownload.soe.ucsc.edu/goldenPath/mm10/bigZips/mm10.fa.gz",
keep_local=True,
),
Expand All @@ -105,7 +94,7 @@ rule download_mm10_reference:

rule download_T2T_tarball:
input:
storage(
storage.http(
"https://zenodo.org/record/7697400/files/BSgenome.T2T.CHM13.V2_1.0.0.tar.gz",
keep_local=True,
),
Expand All @@ -125,7 +114,7 @@ rule download_T2T_tarball:

rule download_arbigent_mappability_track:
input:
storage(
storage.http(
"https://zenodo.org/record/7697400/files/mapping_counts_allchrs_hg38.txt",
keep_local=True,
),
Expand All @@ -144,7 +133,7 @@ rule download_arbigent_mappability_track:
rule download_scnova_data:
input:
ancient(
storage(
storage.http(
"https://zenodo.org/record/7697400/files/scNOVA_data_models.zip",
keep_local=True,
)
Expand Down

0 comments on commit 99c2af4

Please sign in to comment.