run into PythonScriptExecutorException when executing PostprocessGermlineCNVCalls about positional arguments
AnsweredIf you are seeing an error, please provide(REQUIRED) :
a) GATK version used: 4.2.2.0
b) Exact command used:
c) Entire error log:
11:04:20.841 INFO NativeLibraryLoader - Loading libgkl_compression.so from jar:file:/home/yangyxt/software/gatk-4.2.2.0/gatk-package-4.2.2.0-local.jar!/com/intel/gkl/native/libgkl_compression.so
Aug 30, 2021 11:04:20 AM shaded.cloud_nio.com.google.auth.oauth2.ComputeEngineCredentials runningOnComputeEngine
INFO: Failed to detect whether we are running on Google Compute Engine.
11:04:20.983 INFO PostprocessGermlineCNVCalls - ------------------------------------------------------------
11:04:20.984 INFO PostprocessGermlineCNVCalls - The Genome Analysis Toolkit (GATK) v4.2.2.0
11:04:20.984 INFO PostprocessGermlineCNVCalls - For support and documentation go to https://software.broadinstitute.org/gatk/
11:04:20.984 INFO PostprocessGermlineCNVCalls - Executing as yangyxt@paedyl02 on Linux v3.10.0-1160.11.1.el7.x86_64 amd64
11:04:20.984 INFO PostprocessGermlineCNVCalls - Java runtime: OpenJDK 64-Bit Server VM v1.8.0_152-release-1056-b12
11:04:20.984 INFO PostprocessGermlineCNVCalls - Start Date/Time: August 30, 2021 11:04:20 AM HKT
11:04:20.984 INFO PostprocessGermlineCNVCalls - ------------------------------------------------------------
11:04:20.984 INFO PostprocessGermlineCNVCalls - ------------------------------------------------------------
11:04:20.984 INFO PostprocessGermlineCNVCalls - HTSJDK Version: 2.24.1
11:04:20.984 INFO PostprocessGermlineCNVCalls - Picard Version: 2.25.4
11:04:20.984 INFO PostprocessGermlineCNVCalls - Built for Spark Version: 2.4.5
11:04:20.984 INFO PostprocessGermlineCNVCalls - HTSJDK Defaults.COMPRESSION_LEVEL : 2
11:04:20.984 INFO PostprocessGermlineCNVCalls - HTSJDK Defaults.USE_ASYNC_IO_READ_FOR_SAMTOOLS : false
11:04:20.984 INFO PostprocessGermlineCNVCalls - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_SAMTOOLS : true
11:04:20.984 INFO PostprocessGermlineCNVCalls - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_TRIBBLE : false
11:04:20.985 INFO PostprocessGermlineCNVCalls - Deflater: IntelDeflater
11:04:20.985 INFO PostprocessGermlineCNVCalls - Inflater: IntelInflater
11:04:20.985 INFO PostprocessGermlineCNVCalls - GCS max retries/reopens: 20
11:04:20.985 INFO PostprocessGermlineCNVCalls - Requester pays: disabled
11:04:20.985 INFO PostprocessGermlineCNVCalls - Initializing engine
11:04:26.627 INFO PostprocessGermlineCNVCalls - Done initializing engine
11:04:27.492 INFO ProgressMeter - Starting traversal
11:04:27.492 INFO ProgressMeter - Current Locus Elapsed Minutes Records Processed Records/Minute
11:04:27.493 INFO ProgressMeter - unmapped 0.0 0 NaN
11:04:27.493 INFO ProgressMeter - Traversal complete. Processed 0 total records in 0.0 minutes.
11:04:27.493 INFO PostprocessGermlineCNVCalls - Generating intervals VCF file...
11:04:27.510 INFO PostprocessGermlineCNVCalls - Writing intervals VCF file to /staging/wes/1_sample_20210615/CNV_calling/genotyped-intervals-case-A210066-vs-v7cohort.vcf.gz...
11:04:27.510 INFO PostprocessGermlineCNVCalls - Analyzing shard 1 / 1...
11:04:30.169 INFO PostprocessGermlineCNVCalls - Generating segments...
11:04:37.131 INFO PostprocessGermlineCNVCalls - Shutting down engine
[August 30, 2021 11:04:37 AM HKT] org.broadinstitute.hellbender.tools.copynumber.PostprocessGermlineCNVCalls done. Elapsed time: 0.27 minutes.
Runtime.totalMemory()=2463105024
org.broadinstitute.hellbender.utils.python.PythonScriptExecutorException:
python exited with 1
Command Line: python /tmp/segment_gcnv_calls.8152704641395924200.py --ploidy_calls_path /staging/wes/healthy_bams_for_CNV/using_v7_probe/v7_case_ploidy/v7_cases_ploidy_1_sample_20210615-calls --model_shards /staging/wes/healthy_bams_for_C
Stdout: 11:04:36.532 INFO segment_gcnv_calls - THEANO_FLAGS environment variable has been set to: device=cpu,floatX=float64,optimizer=fast_run,compute_test_value=ignore,openmp=true,blas.ldflags=-lmkl_rt,openmp_elemwise_minsize=10
11:04:36.532 INFO segment_gcnv_calls - Loading ploidy calls...
11:04:36.533 INFO gcnvkernel.io.io_metadata - Loading germline contig ploidy and global read depth metadata...
11:04:36.543 INFO segment_gcnv_calls - Instantiating the Viterbi segmentation engine...
Stderr: Traceback (most recent call last):
File "/tmp/segment_gcnv_calls.8152704641395924200.py", line 92, in <module>
args.intervals_vcf, args.clustered_vcf)
TypeError: __init__() takes 6 positional arguments but 8 were given
at org.broadinstitute.hellbender.utils.python.PythonExecutorBase.getScriptException(PythonExecutorBase.java:75)
at org.broadinstitute.hellbender.utils.runtime.ScriptExecutor.executeCuratedArgs(ScriptExecutor.java:112)
at org.broadinstitute.hellbender.utils.python.PythonScriptExecutor.executeArgs(PythonScriptExecutor.java:193)
at org.broadinstitute.hellbender.utils.python.PythonScriptExecutor.executeScript(PythonScriptExecutor.java:168)
at org.broadinstitute.hellbender.utils.python.PythonScriptExecutor.executeScript(PythonScriptExecutor.java:139)
at org.broadinstitute.hellbender.tools.copynumber.PostprocessGermlineCNVCalls.executeSegmentGermlineCNVCallsPythonScript(PostprocessGermlineCNVCalls.java:739)
at org.broadinstitute.hellbender.tools.copynumber.PostprocessGermlineCNVCalls.generateSegmentsVCFFileFromAllShards(PostprocessGermlineCNVCalls.java:485)
at org.broadinstitute.hellbender.tools.copynumber.PostprocessGermlineCNVCalls.onTraversalSuccess(PostprocessGermlineCNVCalls.java:456)
at org.broadinstitute.hellbender.engine.GATKTool.doWork(GATKTool.java:1089)
at org.broadinstitute.hellbender.cmdline.CommandLineProgram.runTool(CommandLineProgram.java:140)
at org.broadinstitute.hellbender.cmdline.CommandLineProgram.instanceMainPostParseArgs(CommandLineProgram.java:192)
at org.broadinstitute.hellbender.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:211)
at org.broadinstitute.hellbender.Main.runCommandLineProgram(Main.java:160)
at org.broadinstitute.hellbender.Main.mainEntry(Main.java:203)
at org.broadinstitute.hellbender.Main.main(Main.java:289)
Using GATK jar /home/yangyxt/software/gatk-4.2.2.0/gatk-package-4.2.2.0-local.jar
Running:
java -Dsamjdk.use_async_io_read_samtools=false -Dsamjdk.use_async_io_write_samtools=true -Dsamjdk.use_async_io_write_tribble=false -Dsamjdk.compression_level=2 -jar /home/yangyxt/software/gatk-4.2.2.0/gatk-package-4.2.2.0-local.jar Po
If not an error, choose a category for your question(REQUIRED):
a)How do I (......)?
b) What does (......) mean?
c) Why do I see (......)?
d) Where do I find (......)?
e) Will (......) be in future releases?
Please sign in to leave a comment.
1 comment