Skip to content

Commit

Permalink
Merge pull request #300 from umccr/test/file-tidy
Browse files Browse the repository at this point in the history
test(data): remove unused files and update README.md
  • Loading branch information
brainstorm authored Jan 24, 2025
2 parents fc84e7e + 13601d1 commit 28f7c84
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 215 deletions.
25 changes: 25 additions & 0 deletions data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Test files for htsget-rs

This directory contains test and example files for htsget-rs.

## Crypt4GH

Crypt4GH keys were generated by running:

```sh
cargo install crypt4gh
crypt4gh keygen --sk c4gh/keys/alice.sec --pk c4gh/keys/alice.pub
crypt4gh keygen --sk c4gh/keys/bob.sec --pk c4gh/keys/bob.pub
```

Files were encrypted by running:

```sh
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < bam/htsnexus_test_NA12878.bam > c4gh/htsnexus_test_NA12878.bam.c4gh
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < bcf/sample1-bcbio-cancer.bcf > c4gh/sample1-bcbio-cancer.bcf.c4gh
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < bcf/spec-v4.3.bcf > c4gh/spec-v4.3.bcf.c4gh
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < cram/htsnexus_test_NA12878.cram > c4gh/htsnexus_test_NA12878.cram.c4gh
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < vcf/sample1-bcbio-cancer.vcf.gz > c4gh/sample1-bcbio-cancer.vcf.gz.c4gh
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < vcf/spec-v4.3.vcf.gz > c4gh/spec-v4.3.vcf.gz.c4gh
```

95 changes: 0 additions & 95 deletions data/bam/htsnexus_test_NA12878.bam.blocks.yaml

This file was deleted.

Binary file removed data/bcf/sample1-bcbio-cancer-uncompressed
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed data/bcf/vcf-spec-v4.3-uncompressed
Binary file not shown.
34 changes: 0 additions & 34 deletions data/c4gh/README.md

This file was deleted.

Binary file added data/c4gh/sample1-bcbio-cancer.vcf.gz.c4gh
Binary file not shown.
Binary file added data/c4gh/sample1-bcbio-cancer.vcf.gz.tbi
Binary file not shown.
Binary file added data/c4gh/spec-v4.3.bcf.c4gh
Binary file not shown.
Binary file added data/c4gh/spec-v4.3.bcf.csi
Binary file not shown.
47 changes: 0 additions & 47 deletions data/vcf/sample1-bcbio-cancer_uncompressed.vcf

This file was deleted.

24 changes: 0 additions & 24 deletions data/vcf/spec-v4.3_uncompressed.vcf

This file was deleted.

Loading

0 comments on commit 28f7c84

Please sign in to comment.