Skip to content

Error while running danbing-tk pred #34

Description

@VenithaB

Hello! I got the following two errors while trying to run danbing-tk pred:

Error 1: Using sample.tr.kmers file generated using danbing-tk align with the -on flag

terminate called after throwing an instance of 'std::invalid_argument'
  what():  stod
/var/spool/slurm/d/job54166555/slurm_script: line 23: 702267 Aborted                 (core dumped) ${DANBING}/danbing-tk-pred ${OUTDIR}/depth/trkmers.meta.txt ${RESOURCES}/ikmer.meta ${OUTDIR}/corrected.gt.tsv ${OUTDIR}/bias.tsv

This error seems to be resolved when using files generated using danbing-tk align with the -o flag. However, I ran into Error 2:

danbing-tk-pred: ./src/Eigen/src/Core/Block.h:147: Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel>::Block(XprType&, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index) [with XprType = Eigen::Array<double, -1, -1>; int BlockRows = -1; int BlockCols = -1; bool InnerPanel = false; Eigen::Index = long int]: Assertion `startRow >= 0 && blockRows >= 0 && startRow <= xpr.rows() - blockRows && startCol >= 0 && blockCols >= 0 && startCol <= xpr.cols() - blockCols' failed.
/storage/home/vab5299/scratch/danbing_analysis/vamos_srs_wg/hgsvc2_wg/test/danbing_hgsvc2_predict_test_run.sh: line 18: 3527198 Aborted                 (core dumped) ${DANBING}/danbing-tk-pred ${OUTDIR}/trkmers.meta.txt ${RESOURCES}/ikmer.meta ${OUTDIR}/corrected.gt.tsv ${OUTDIR}/bias.tsv

I used the same command for both runs, the only difference being whether the 'sample.tr.kmers file' contained locus and kmer names:

danbing-tk-pred trkmers.meta.txt ikmer.meta corrected.gt.tsv bias.tsv

I suspect the source of the second error is due to trkmers.meta.txt containing only 1 sample - I wanted to make sure the pipeline worked start to finish before processing the rest. I will try to run danbing-tk pred using the entire cohort and check if the error is resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions