Skip to content

Commit a734bf1

Browse files
authored
Update README.md to use generic-filehandle2
1 parent 6243584 commit a734bf1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ const remoteTbiIndexed = new TabixIndexedFile({
7272
```
7373

7474
You can also alternatively supply a filehandle-like object with the
75-
[generic-filehandle](https://github.com/GMOD/generic-filehandle): example
75+
[generic-filehandle2](https://github.com/GMOD/generic-filehandle2): example
7676

7777
```typescript
78-
// use a remote file or other filehandle, note RemoteFile comes from https://github.com/GMOD/generic-filehandle
79-
const { RemoteFile } = require('generic-filehandle')
78+
// use a remote file or other filehandle, note RemoteFile comes from https://github.com/GMOD/generic-filehandle2
79+
const { RemoteFile } = require('generic-filehandle2')
8080
const remoteTbiIndexed = new TabixIndexedFile({
8181
filehandle: new RemoteFile('http://yourhost/file.vcf.gz'),
8282
tbiFilehandle: new RemoteFile('http://yourhost/file.vcf.gz.tbi'), // can also be csiFilehandle

0 commit comments

Comments
 (0)