-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
75 changed files
with
14,903 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...li__query__test__smoke_query_exomes_var_single_match_chr_1@grch37-2.1-1_55516885_G_A.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
{"gnomad_exomes":{"an":128256,"ac_hom":0,"ac_het":1},"gnomad_genomes":{"an":0,"ac_hom":0,"ac_het":0}} | ||
|
6 changes: 6 additions & 0 deletions
6
...li__query__test__smoke_query_exomes_var_single_match_chr_1@grch38-4.0-1_55039933_G_A.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
{"gnomad_exomes":{"an":586534,"ac_hom":0,"ac_het":1},"gnomad_genomes":{"an":0,"ac_hom":0,"ac_het":0}} | ||
|
6 changes: 6 additions & 0 deletions
6
...qs__cli__query__test__smoke_query_exomes_var_single_match_chr_mt@grch37-2.1-M_11_C_T.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
{"gnomad_mtdna":{"an":0,"ac_hom":0,"ac_het":0},"helixmtdb":{"an":196554,"ac_hom":0,"ac_het":1}} | ||
|
6 changes: 6 additions & 0 deletions
6
...qs__cli__query__test__smoke_query_exomes_var_single_match_chr_mt@grch38-4.0-M_11_C_T.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
{"gnomad_mtdna":{"an":0,"ac_hom":0,"ac_het":0},"helixmtdb":{"an":196554,"ac_hom":0,"ac_het":1}} | ||
|
6 changes: 6 additions & 0 deletions
6
...li__query__test__smoke_query_exomes_var_single_match_chr_x@grch37-2.1-X_69902557_G_T.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
{"gnomad_exomes":{"an":179321,"ac_hom":0,"ac_het":1,"ac_hemi":0},"gnomad_genomes":{"an":0,"ac_hom":0,"ac_het":0,"ac_hemi":0}} | ||
|
6 changes: 6 additions & 0 deletions
6
..._cli__query__test__smoke_query_exomes_var_single_match_chr_x@grch38-4.0-X_17434_A_AC.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
{"gnomad_exomes":{"an":0,"ac_hom":0,"ac_het":0,"ac_hemi":0},"gnomad_genomes":{"an":45836,"ac_hom":0,"ac_het":0,"ac_hemi":0}} | ||
|
6 changes: 6 additions & 0 deletions
6
...cli__query__test__smoke_query_exomes_var_single_match_chr_y@grch37-2.1-Y_4967199_G_T.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
{"gnomad_exomes":{"an":67766,"ac_hom":0,"ac_het":0,"ac_hemi":1},"gnomad_genomes":{"an":0,"ac_hom":0,"ac_het":0,"ac_hemi":0}} | ||
|
6 changes: 6 additions & 0 deletions
6
...cli__query__test__smoke_query_exomes_var_single_match_chr_y@grch38-4.0-Y_2782947_C_T.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
{"gnomad_exomes":{"an":0,"ac_hom":0,"ac_het":0,"ac_hemi":0},"gnomad_genomes":{"an":33081,"ac_hom":0,"ac_het":0,"ac_hemi":1}} | ||
|
5 changes: 5 additions & 0 deletions
5
...__cli__query__test__smoke_query_exomes_var_single_nomatch@grch37-2.1-1_55516885_G_TT.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
|
5 changes: 5 additions & 0 deletions
5
...__cli__query__test__smoke_query_exomes_var_single_nomatch@grch38-4.0-1_55516885_G_TT.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
source: src/freqs/cli/query.rs | ||
expression: "&out_data" | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
set -x | ||
|
||
if [[ "${EXTRACT-false}" == "true" ]]; then | ||
EXOMES=https://storage.googleapis.com/gcp-public-data--gnomad/release/2.1.1/vcf/exomes | ||
tabix --print-header \ | ||
$EXOMES/gnomad.exomes.r2.1.1.sites.1.vcf.bgz \ | ||
1:55505599-55516888 \ | ||
> tests/freqs/grch37/v2.1/gnomad-exomes.1.vcf | ||
bgzip -c tests/freqs/grch37/v2.1/gnomad-exomes.1.vcf \ | ||
> tests/freqs/grch37/v2.1/gnomad-exomes.1.vcf.bgz | ||
tabix -f tests/freqs/grch37/v2.1/gnomad-exomes.1.vcf.bgz | ||
|
||
tabix --print-header \ | ||
$EXOMES/gnomad.exomes.r2.1.1.sites.X.vcf.bgz \ | ||
X:69902557-69902557 \ | ||
> tests/freqs/grch37/v2.1/gnomad-exomes.X.vcf | ||
bgzip -c tests/freqs/grch37/v2.1/gnomad-exomes.X.vcf \ | ||
> tests/freqs/grch37/v2.1/gnomad-exomes.X.vcf.bgz | ||
tabix -f tests/freqs/grch37/v2.1/gnomad-exomes.X.vcf.bgz | ||
|
||
tabix --print-header \ | ||
$EXOMES/gnomad.exomes.r2.1.1.sites.Y.vcf.bgz \ | ||
Y:4967199-4967199 \ | ||
> tests/freqs/grch37/v2.1/gnomad-exomes.Y.vcf | ||
bgzip -c tests/freqs/grch37/v2.1/gnomad-exomes.Y.vcf \ | ||
> tests/freqs/grch37/v2.1/gnomad-exomes.Y.vcf.bgz | ||
tabix -f tests/freqs/grch37/v2.1/gnomad-exomes.Y.vcf.bgz | ||
|
||
GENOMES=https://storage.googleapis.com/gcp-public-data--gnomad/release/2.1.1/vcf/genomes | ||
tabix --print-header \ | ||
$GENOMES/gnomad.genomes.r2.1.1.sites.1.vcf.bgz \ | ||
1:55505599-55505599 \ | ||
> tests/freqs/grch37/v2.1/gnomad-genomes.1.vcf | ||
bgzip -c tests/freqs/grch37/v2.1/gnomad-genomes.1.vcf \ | ||
> tests/freqs/grch37/v2.1/gnomad-genomes.1.vcf.bgz | ||
tabix -f tests/freqs/grch37/v2.1/gnomad-genomes.1.vcf.bgz | ||
|
||
tabix --print-header \ | ||
$GENOMES/gnomad.genomes.r2.1.1.sites.X.vcf.bgz \ | ||
X:69902634-69902634 \ | ||
> tests/freqs/grch37/v2.1/gnomad-genomes.X.vcf | ||
bgzip -c tests/freqs/grch37/v2.1/gnomad-genomes.X.vcf \ | ||
> tests/freqs/grch37/v2.1/gnomad-genomes.X.vcf.bgz | ||
tabix -f tests/freqs/grch37/v2.1/gnomad-genomes.X.vcf.bgz | ||
fi | ||
|
||
rm -rf tests/freqs/grch37/v2.1/example/freqs.db | ||
cargo run --all-features -- \ | ||
freqs import \ | ||
-vvv \ | ||
--genome-release grch37 \ | ||
--path-out-rocksdb tests/freqs/grch37/v2.1/example/freqs.db \ | ||
\ | ||
--gnomad-exomes-version "2.1.1" \ | ||
--path-gnomad-exomes-auto tests/freqs/grch37/v2.1/gnomad-exomes.1.vcf.bgz \ | ||
--path-gnomad-exomes-xy tests/freqs/grch37/v2.1/gnomad-exomes.X.vcf.bgz \ | ||
--path-gnomad-exomes-xy tests/freqs/grch37/v2.1/gnomad-exomes.Y.vcf.bgz \ | ||
\ | ||
--gnomad-genomes-version "2.1.1" \ | ||
--path-gnomad-genomes-auto tests/freqs/grch37/v2.1/gnomad-genomes.1.vcf.bgz \ | ||
--path-gnomad-genomes-xy tests/freqs/grch37/v2.1/gnomad-genomes.X.vcf.bgz \ | ||
\ | ||
--gnomad-mtdna-version "3.1.1" \ | ||
--path-gnomad-mtdna tests/freqs/grch37/v2.1/reading/gnomad.chrM.vcf.bgz \ | ||
\ | ||
--helixmtdb-version "20200327" \ | ||
--path-helixmtdb tests/freqs/grch37/v2.1/reading/helix.chrM.vcf.bgz |
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Empty file.
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Oops, something went wrong.