First, thanks for the quick replay. So, answering your questions. (1) PHG version 1.4 (2) There are 37 nodes and 9 of reference ranges. However, this appends one step before and then, the error occurs. please check the lines:
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.api.CreateGraphUtils - CreateGraphUtils:addNodes - query=SELECT haplotypes_id, gamete_grp_id, haplotypes.ref_range_id, asm_contig, asm_start_coordinate, asm_end_coordinate, asm_strand, genome_file_id, seq_hash, seq_len FROM haplotypes WHERE method_id = 12;
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.api.CreateGraphUtils - addNodes: number of nodes: 36
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.api.CreateGraphUtils - addNodes: number of reference ranges: 9
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.api.CreateGraphUtils - createHaplotypeNodes: time: 2.07973551 secs.
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.api.HaplotypeGraph - Created graph edges: created when requested number of nodes: 36 number of reference ranges: 9
> [pool-1-thread-1] INFO net.maizegenetics.plugindef.AbstractPlugin - Finished net.maizegenetics.pangenome.api.HaplotypeGraphBuilderPlugin: time: May 18, 2023 11:34:28
> [pool-1-thread-1] INFO net.maizegenetics.plugindef.AbstractPlugin - Starting net.maizegenetics.pangenome.hapCalling.DiploidPathPlugin: time: May 18, 2023 11:34:28
> [pool-1-thread-1] INFO net.maizegenetics.plugindef.AbstractPlugin - DiploidPathPlugin Parameters
> keyFile: /phg/key_file_pathKeyFile.txt
> readMethod: GATK
> pathMethod: GATK
> pathMethodDescription: null
> minTaxa: 20
> probCorrect: 0.99
> minTransition: 0.001
> maxHap: 11
> minReads: 1
> removeEqual: false
> maxReadsKB: 1000
> splitNodes: false
> splitProb: 0.99
> numThreads: 3
> classicAlgorithm: false
> inbreedCoef: 0.0
> maxParents: 2147483647
> minCoverage: 1.0
> parentOutputFile: null
> isTestMethod: false
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.DBLoadingUtils - first connection: dbName from config file = /phg/phg_db_name.db host: 127.0.0.1 user: sqlite type: sqlite
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.DBLoadingUtils - Database URL: jdbc:sqlite:/phg/phg_db_name.db
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.DBLoadingUtils - Connected to database:
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.PHGdbAccess - PHGdbAccess - db is setup, init prepared statements, load hash table
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.PHGdbAccess -
beginning - isSqlite is true
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.PHGdbAccess - before loading hash, size of all geneotypes in genotype table=5
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.PHGdbAccess - refRangeRefRangeIDMap is null, creating new one with size : 9
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.PHGdbAccess - loadAnchorHash: at end, size of refRangeRefRangeIDMap: 9, number of rs.next processed: 9
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.PHGdbAccess - before loading hash, size of all methods in method table=13
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.PHGdbAccess - before loading hash, size of all groups in taxa_groups table=0
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.PHGdbAccess - before loading hash, size of all groups in gamete_groups table=5
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.db_loading.PHGdbAccess - before loading hash, size of all gametes in gametes table=5
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.api.CreateGraphUtils - createEdges: creating edges from nodes.
> [pool-1-thread-1] INFO net.maizegenetics.pangenome.api.CreateGraphUtils - createEdges: time: 7.1723E-5 secs.
> [pool-1-thread-1] DEBUG net.maizegenetics.plugindef.AbstractPlugin - bound must be positive