File: test

package info (click to toggle)
cyvcf2 0.32.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,516 kB
  • sloc: python: 1,646; ansic: 240; makefile: 228; sh: 91
file content (15 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

if (cd ~/ && cyvcf2 --help >/dev/null)
then
  echo "cyvcf2 --help: OK"
else
  exit 1
fi

if (cd ~/ && python -c "from cyvcf2 import VCF; VCF('https://github.com/brentp/cyvcf2/raw/main/cyvcf2/tests/test.vcf.gz')")
then
  echo "Remote reading: OK"
else
  exit 1
fi