@genobank/biofs 2.5.1 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -59,7 +59,7 @@ const program = new commander_1.Command();
59
59
  program
60
60
  .name('biofs')
61
61
  .description('BioFS by GenoBank.io - BioNFT-Gated S3 CLI for genomic data')
62
- .version('2.5.1')
62
+ .version('2.5.2')
63
63
  .option('--debug', 'Enable debug output')
64
64
  .hook('preAction', (thisCommand) => {
65
65
  // Set global debug flag if --debug is passed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genobank/biofs",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "BioFS - GenoBank.io BioNFT-Gated Filesystem CLI with Sequentia Protocol (BioCIDRegistry, ConsentManager, BioPIL) - 97% cost savings vs Story Protocol",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -1,60 +0,0 @@
1
- #!/bin/bash
2
-
3
- # GenoBank CLI Complete Test Script
4
- # Tests all major functionality with CEO credentials
5
-
6
- echo "========================================="
7
- echo "GenoBank CLI Complete Test Suite"
8
- echo "========================================="
9
- echo ""
10
-
11
- # 1. Test whoami command
12
- echo "1. Testing 'whoami' command:"
13
- echo "----------------------------"
14
- genobank whoami
15
- echo ""
16
-
17
- # 2. Test files command
18
- echo "2. Testing 'files' command:"
19
- echo "----------------------------"
20
- genobank files
21
- echo ""
22
-
23
- # 3. Test files with filter
24
- echo "3. Testing 'files --filter vcf' command:"
25
- echo "-----------------------------------------"
26
- genobank files --filter vcf
27
- echo ""
28
-
29
- # 4. Test JSON output
30
- echo "4. Testing 'whoami --json' command:"
31
- echo "------------------------------------"
32
- genobank whoami --json
33
- echo ""
34
-
35
- # 5. Test help
36
- echo "5. Testing 'help' command:"
37
- echo "---------------------------"
38
- genobank help download
39
- echo ""
40
-
41
- # 6. Show version
42
- echo "6. Testing version:"
43
- echo "-------------------"
44
- genobank --version
45
- echo ""
46
-
47
- echo "========================================="
48
- echo "Test Complete!"
49
- echo "========================================="
50
- echo ""
51
- echo "Summary of commands tested:"
52
- echo " ✅ genobank whoami - Show authenticated wallet"
53
- echo " ✅ genobank files - List BioFiles"
54
- echo " ✅ genobank files --filter - Filter by type"
55
- echo " ✅ genobank whoami --json - JSON output"
56
- echo " ✅ genobank help - Help system"
57
- echo " ✅ genobank --version - Version check"
58
- echo ""
59
- echo "Note: Upload and download require actual files"
60
- echo "Login/logout not tested (would clear CEO credentials)"
package/test.vcf DELETED
@@ -1,13 +0,0 @@
1
- ##fileformat=VCFv4.2
2
- ##contig=<ID=chr1,length=248956422>
3
- ##contig=<ID=chr2,length=242193529>
4
- ##INFO=<ID=DP,Number=1,Type=Integer,Description="Total read depth">
5
- ##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
6
- ##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Read depth">
7
- #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT SAMPLE1
8
- chr1 100 rs123 A G 30 PASS DP=10 GT:DP 0/1:10
9
- chr1 200 rs456 C T 40 PASS DP=15 GT:DP 1/1:15
10
- chr1 300 rs789 G A 35 PASS DP=12 GT:DP 0/1:12
11
- chr2 1000 rs111 T C 50 PASS DP=20 GT:DP 1/1:20
12
- chr2 2000 rs222 A T 45 PASS DP=18 GT:DP 0/1:18
13
-
package/test_23andme.txt DELETED
@@ -1,13 +0,0 @@
1
- # This data file generated by 23andMe at: Thu Jan 14 08:00:52 2024
2
- # rsid chromosome position genotype
3
- rs12345 1 100 AG
4
- rs67890 2 200 CC
5
- rs11111 3 300 TT
6
- rs22222 4 400 AG
7
- rs33333 5 500 GG
8
- rs44444 6 600 AA
9
- rs55555 7 700 CT
10
- rs66666 8 800 TG
11
- rs77777 9 900 AC
12
- rs88888 10 1000 GC
13
-