Pyomo-supported ILP solver
See original GitHub issueHello,
OptiType returned the following message while calling the module model.py
:
Invalid option '-s'; try /group/bioinformatics/software/GLPK/4.61/bin/glpsol --help
ERROR: "[base]/site-packages/pyomo/opt/base/solvers.py", 599, solve
Solver (asl) returned non-zero return code (1)
ERROR: "[base]/site-packages/pyomo/opt/base/solvers.py", 602, solve
See the solver log above for diagnostic information.
This is my command:
module load anaconda3
source activate python2.7
module load GLPK/4.61 HDF5/1.10.0-patch1 samtools/1.2 bwa/0.7.15 sambamba/0.5.6
python ./OptiTypePipeline.py -i ./test/exome/NA11995_SRR766010_1_fished.fastq ./test/exome/NA11995_SRR766010_2_fished.fastq -o test -d -v
source deactivate
I was not able to install RazerS
and CPLEX
on our server, hence went for bwa
and GLPK
instead. I modified OptiTypePipeline.py
a little bit to take in bwa
alignment commands instead of the default RazerS
.
The command-line solver for GLPK
is glpsol
, which I also changed in config.ini
. Could that be the reason why the error was reported? The modified OptiTypePipeline.py
, config, commands and log files are attached here if helpful myfiles.zip
Any help would be highly appreciated. Thanks much in advance 😃
Best, Riyue (Sunny) The University of Chicago
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
MindtPy Solver — Pyomo 6.4.4 documentation
The MindtPy (Mixed-Integer Nonlinear Decomposition Toolbox in Pyomo) solver applies a variety of decomposition-based approaches to solve Mixed-Integer Nonlinear ...
Read more >What is the best open source solver for large scale LP ...
What is the best open source solver for large scale LP optimization in pyomo? · You probably need a good interior-point optimizer. I...
Read more >About — Pyomo
Pyomo is a Python-based open-source software package that supports a diverse set of optimization capabilities for formulating, solving, and analyzing ...
Read more >Pyomo: Modeling and Solving Mathematical Programs in Python
Loose integration: solver launched separate. Flexible Modeling Environment. – Support for LP, MILP and NLP models. – Symbolic/Concrete representations of ...
Read more >Pyomo - PyPI
Pyomo can be used to define symbolic problems, create concrete problem instances, and solve these instances with standard solvers. Pyomo supports a wide ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi just want to follow up that I have run all my samples by
OptiType
and the results look great. For each exome it took 5 to 15 mins to run with 8 threads from raw fastq to final output - super fast!Thanks Benjamin. Yup that was due to the default alignment settings of
bwa
, which does not report all best alignments and filter out multitargets, and is not suitable for mapping to HLA loci.The issue with RazerS3’s installation was the
gcc
version - but our system adm helped fix it yesterday!! 😃 I compiledyara
andrazers3
and they both worked (BTW if anyone is interested in compiling individual tools fromseqan
, the installation instructions onyara
github is super helpful).This is the new result generated with aligner
razers3
: dna fastq files &-d
: 2017_04_19_12_50_43_coverage_plot.pdfrna fastq files &
-r
: 2017_04_19_12_53_22_coverage_plot.pdfThe results make a lot more sense now … 😃