Skip to content

Commit 28f7c84

Browse files
authored
Merge pull request #300 from umccr/test/file-tidy
test(data): remove unused files and update README.md
2 parents fc84e7e + 13601d1 commit 28f7c84

15 files changed

+37
-215
lines changed

data/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Test files for htsget-rs
2+
3+
This directory contains test and example files for htsget-rs.
4+
5+
## Crypt4GH
6+
7+
Crypt4GH keys were generated by running:
8+
9+
```sh
10+
cargo install crypt4gh
11+
crypt4gh keygen --sk c4gh/keys/alice.sec --pk c4gh/keys/alice.pub
12+
crypt4gh keygen --sk c4gh/keys/bob.sec --pk c4gh/keys/bob.pub
13+
```
14+
15+
Files were encrypted by running:
16+
17+
```sh
18+
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < bam/htsnexus_test_NA12878.bam > c4gh/htsnexus_test_NA12878.bam.c4gh
19+
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < bcf/sample1-bcbio-cancer.bcf > c4gh/sample1-bcbio-cancer.bcf.c4gh
20+
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < bcf/spec-v4.3.bcf > c4gh/spec-v4.3.bcf.c4gh
21+
crypt4gh encrypt --sk c4gh/keys/alice.sec --recipient_pk c4gh/keys/bob.pub < cram/htsnexus_test_NA12878.cram > c4gh/htsnexus_test_NA12878.cram.c4gh
22+
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
23+
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
24+
```
25+

data/bam/htsnexus_test_NA12878.bam.blocks.yaml

Lines changed: 0 additions & 95 deletions
This file was deleted.
-9.13 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.

data/bcf/vcf-spec-v4.3-uncompressed

-1.71 KB
Binary file not shown.

data/c4gh/README.md

Lines changed: 0 additions & 34 deletions
This file was deleted.
3.56 KB
Binary file not shown.
127 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)