opencb / hpg-bigdata

This repository implements converters and tools for working with NGS data in HPC or Hadoop cluster
Apache License 2.0
17 stars 14 forks source link

Add the --from parameter to the variant convert command line #95

Closed jtarraga closed 7 years ago

jtarraga commented 8 years ago

Currently, the variant convert command line expects a VCF file as input file, then to covert to Avro or Parquet. This command line should support the Avro to Parquet conversion too. An optional --from parameter should indicate the input file format. Valid values are vcf and avro; by default, vcf. E.g.:

./build/bin/hpg-bigdata-local.sh variant convert --i test.avro --o test.parquet --from avro --to parquet