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

Accept a file containing sample names as expected value for the --create-cohort parameter #106

Closed jtarraga closed 7 years ago

jtarraga commented 8 years ago

Currently, the --create-cohort parameter of the 'variant metadata' command line, accept sample names from a comma separated list. For a big number of samples, it should be better to accept a file name containing a sample name per line. E.g.:

./build/bin/hpg-bigdata-local.sh variant metadata --i test.vcf.avro --create-cohort control::/tmp/sample_names.txt

sample_names.txt file content: HG00096 HG00097 HG00099 HG00196 HG00197 HG00199 HG00296 HG00297 HG00299 HG00396 HG00397 HG00399 HG00496 HG00497 HG00499