Comments (7)
I'm not sure how many similar null ptr checks are scattered around the linearham code, but it would be really nice if they could be replaced with error messages that give the user a better clue what's wrong. Something like throwing a runtime error with a message like "hmm_param_dir not found" would give the user a really good shot at fixing the problem themselves, since --hmm-param-dir is a something that was just passed in to linearham so they have some control over it, whereas asserting "dir" isn't null ptr sounds more like a coding error or memory issue than a dir not existing.
I like this style of throwing things, although I wouldn't put the ERROR text these days since it's already getting kicked to std err.
from linearham.
I haven't been able to reproduce this crash yet but it looks like it is crashing here:
https://github.com/matsengrp/linearham/blob/master/src/VDJGermline.cpp#L51
i.e. the --hmm-param-dir
in the _build/linearham/linearham
command (which comes from --parameter-dir
) does not exist. I will keep trying, but it would be useful to know if you ran --run-partis
prior to this or if you set any defaults so that I can try to reproduce by running things exactly as you did.
Thanks!
from linearham.
@eharkins, I did run --run-partis
prior to --run-linearham
, but I used a --parameter-dir
generated separately by a previous version of partis (25ec9b0) on the whole dataset from this donor. The --run-partis
and --run-linearham
commands were run on a single lineage that I extracted manually.
from linearham.
@scharch it seems like linearham is trying and failing to use output/parameter_dir
as your parameter dir for --run-linearham
. Does that directory exist and does what does it contain? What happens if you instead specify the parameter dir
generated separately by a previous version of partis
from linearham.
Yes, the directory exists; I copied the partis output there when I was having trouble specifying the command line options.
root@d4094c82cf56:/linearham# ls output/paramter_dir/hmm/hmms/
IGHD1-1_star_01.yaml IGHD3-22_star_01.yaml IGHJ4_star_02.yaml IGHV3-11_star_05.yaml IGHV3-74_star_01.yaml
IGHD1-20_star_01.yaml IGHD3-3_star_01.yaml IGHJ5_star_01.yaml IGHV3-11_star_06.yaml IGHV3-7_star_03.yaml
IGHD1-26_star_01.yaml IGHD3-3_star_02.yaml IGHJ5_star_02.yaml IGHV3-13_star_04.yaml IGHV4-30-2_star_01.yaml
IGHD1-7_star_01.yaml IGHD3-9_star_01.yaml IGHJ6_star_02.yaml IGHV3-15_star_01.yaml IGHV4-31_star_03.yaml
IGHD2-15_star_01.yaml IGHD4-17_star_01.yaml IGHV1-18_star_04.yaml IGHV3-20_star_01.yaml IGHV4-34_star_01.yaml
IGHD2-21_star_01.yaml IGHD5-12_star_01.yaml IGHV1-24_star_01.yaml IGHV3-21_star_01.yaml IGHV4-38-2_star_02.yaml
IGHD2-21_star_02.yaml IGHD5-18_star_01.yaml IGHV1-2_star_04.yaml IGHV3-23_star_01.yaml IGHV4-39_star_01.yaml
IGHD2-2_star_01.yaml IGHD6-13_star_01.yaml IGHV1-3_star_01.yaml IGHV3-30_star_18.yaml IGHV4-4_star_02.yaml
IGHD2-2_star_02.yaml IGHD6-19_star_01.yaml IGHV1-46_star_01.yaml IGHV3-43_star_01.yaml IGHV4-59_star_01.yaml
IGHD2-2_star_03.yaml IGHD6-25_star_01.yaml IGHV1-58_star_02.yaml IGHV3-48_star_02.yaml IGHV4-59_star_08.yaml
IGHD2-8_star_01.yaml IGHD6-6_star_01.yaml IGHV1-69_star_02.yaml IGHV3-49_star_04.yaml IGHV4-61_star_08.yaml
IGHD2-8_star_02.yaml IGHD7-27_star_01.yaml IGHV1-69_star_10.yaml IGHV3-53_star_01.yaml IGHV5-10-1_star_03.yaml
IGHD3-10_star_01.yaml IGHJ1_star_01.yaml IGHV2-26_star_01.yaml IGHV3-64_star_01.yaml IGHV5-51_star_01.yaml
IGHD3-10_star_02.yaml IGHJ2_star_01.yaml IGHV2-5_star_01.yaml IGHV3-64_star_05+G240C.yaml IGHV6-1_star_01.yaml
IGHD3-16_star_01.yaml IGHJ3_star_01.yaml IGHV2-5_star_02.yaml IGHV3-72_star_01.yaml IGHV7-4-1_star_02.yaml
IGHD3-16_star_02.yaml IGHJ3_star_02.yaml IGHV2-70_star_11.yaml IGHV3-73_star_01.yaml
from linearham.
possible a spelling error? output/paramter_dir
?
from linearham.
Awwwwww hell
from linearham.
Related Issues (20)
- remove dockerhub image HOT 1
- git describe crashes build HOT 1
- Do we really want to use scons? HOT 3
- NodeList object where it expected a string HOT 1
- change actions to positional argument
- make default tag on quay.io HOT 1
- Use new partis fcn add_seqs_to_line() HOT 4
- Cause of huge number of low-probability nodes HOT 6
- update readme with newer (?) output files HOT 2
- update partis + maybe add --min-cluster-size arg HOT 1
- Docker container doesn't build HOT 2
- light chain crash HOT 3
- Github Actions & Quay Container building HOT 2
- Update Master -> Main
- crash in asr/ess script HOT 7
- Inferred ancestral sequences have mutations in ambiguous regions
- Branch lengths almost all much larger than hamming distance
- Add option for less verbose output dir HOT 1
- Failed Quay build from trigger
- How to handle paired h/l data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linearham.