Closed krdav closed 7 years ago
yeah, sorry, I should reword that warning. It doesn't indicate anything is wrong, per se, it's just telling you that something's happened which should not happen under typical circumstances. Under the defaults, if everything's well, there should be a 1 to 1 correspondence between the internal gl info genes, and the genes for which there's hmm yamels. Using --initial-germline-dir at various steps can definitely cause this to not be the case.
But I assume you inferred parameters with the custom germline database?
p.s. in emacs M-x display-ansi-colors
fixes the ansi codes. dunno how other editors handle it
actually, can you just post the commands you ran?
I just made a subset database and deleted all the cached parameters from when I was running it last time. Here is the command used:
python2.7 ./bin/partis partition --print-cluster-annotations --initial-germline-dir /home/projects/cu_10049/apps/partis_old/data/germlines/Omni_Rat_germline_set --n-procs 10 --workdir /tmp/partis --infname /home/projects/cu_10049/data/KD_sandbox/saras_data/partis_VH/nl/partis_inp_part.fasta --outfname /home/projects/cu_10049/data/KD_sandbox/saras_data/partis_VH/nl/lnico_partition2.csv
ah, ok, great. If you're just running the one command then the problem's on my end. I'll see if I can reset args.initial_germline_dir internally after the parameter caching step, but I'll at least reword the warning.
I'm guessing you'd prefer to have an output annotation file with the cluster annotations there? I had that implemented at some point, I must have taken it out, I think I decided it was too many options. And internally, that file actually already exists (it's how the hmm passes the annotations to the python), so it'd be easy to save it somewhere else.
You mean the annotation for each sequence individually? Like the file you get when doing run-vertibi? Sure that would be useful but most of the information I care about is on clone level and that is printed nicely when using --print-cluster-annotations
.
Ah, no, I mean the annotation for each clone.
And I knew I'd implemented this, I just forgot to document it. If you specify --oufname
and --print-cluster-annotations
at the same time, the cluster annotations are automatically written to --outfname
with -cluster-annotations
tacked on the end. It's documented now.
Oh, thats what you meant. I already discovered that, and you are exactly right, this is the output I need the most from partitioning.
re ansi colors, I just discovered the -r
option to less, which is much more useful than my suggestion above
Uhh, this is so cool. Thank you!
As the title suggests. Everything looks normal until after the sw step and then the complaints start:
FYI: The custom germline database is just a subset of the standard human VH database that comes with partis.