Dear GCP Lifesciences team
variant transforms returns error please resolve this the configurations area as under
#!/bin/bash
# Parameters to replace:
# The GOOGLE_CLOUD_PROJECT is the project that contains your BigQuery dataset.
GOOGLE_CLOUD_PROJECT=genomic-analysis-255208
INPUT_PATTERN=gs://genomic-analysis-255208-vtgenomics/*.vcf
OUTPUT_TABLE=genomic-analysis-255208:genomicscovid19.deep_variant
TEMP_LOCATION=gs://genomic-analysis-255208-vtgenomics/temp
COMMAND="vcf_to_bq \
--input_pattern ${INPUT_PATTERN} \
--output_table ${OUTPUT_TABLE} \
--temp_location ${TEMP_LOCATION} \
--job_name vcf-to-bigquery \
--runner DataflowRunner"
docker run -v ~/.config:/root/.config \
--project "${GOOGLE_CLOUD_PROJECT}" \
--zones us-west1-b \
"${COMMAND}"
the error details are:
getopt: unrecognized option '--zones' --project 'genomic-analysis-255208' -- 'us-west1-b' 'vcf_to_bq --input_pattern gs://genomic-analysis-255208-vtgenomics/*.vcf --output_table genomic-analysis-255208:genomicscovid19.deep_variant --temp_location gs://genomic-analysis-255208-vtgenomics/temp --job_name vcf-to-bigquery --runner DataflowRunner'
if replaced by region as --region us-central1 and at link of dataflow it said worker-regionor worker-zone to be used because zone is depreciated that is in a link :
then it returns error
--project 'genomic-analysis-255208' --region 'us-central1' -- 'vcf_to_bq --input_pattern gs://genomic-analysis-255208-vtgenomics/*.vcf --output_table genomic-analysis-255208:genomicscovid19.deep_variant --temp_location gs://genomic-analysis-255208-vtgenomics/temp --job_name vcf-to-bigquery --runner DataflowRunner'
Please set the temp_location using flag --temp_location.
is it bug in variant transforms
on the other hand,
running lab it returns no error
so tell me what is the problem
because i followed the links
thanks in advance
Haroon Zeb Khan