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 alignment convert command line #98

Closed jtarraga closed 7 years ago

jtarraga commented 8 years ago

Currently, the alignment convert command line expects a BAM 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 bam and avro; by default, bam. E.g.:

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