Giter Site home page Giter Site logo

light chain crash about linearham HOT 3 OPEN

psathyrella avatar psathyrella commented on August 16, 2024
light chain crash

from linearham.

Comments (3)

psathyrella avatar psathyrella commented on August 16, 2024

ok! i think i have tracked this down. To replicate (rename yaml since github won't let me upload yaml):

./scripts/write_lh_annotations.py cluster.yaml linearham_run.log --output-base path/to/out

linearham_run.log
cluster_yaml.log

issue seems to be that linearham doesn't write the actual VJ insertion for light chain insertions (like it does for heavy insertions), instead just writes a boolean if it's there:
heavy
light

which means that this line fails: https://github.com/matsengrp/linearham/blob/master/scripts/write_lh_annotations.py#L59
because it's resetting the deletion length without changing the insertion length:

          File "./scripts/write_lh_annotations.py", line 61, in update_partis_line_with_lh_annotation
            utils.add_implicit_info(glfo, partis_line, check_line_keys=debug)
          File "/home/dralph/work/linearham/lib/partis/python/utils.py", line 1711, in add_implicit_info
            raise Exception('naive and mature sequences different lengths %d %d for %s:\n    %s\n    %s' % (len(line['naive_seq']), len(line['seqs'][iseq]), ' '.join(line['unique_ids']), line['naive_seq'], line['seqs'][iseq]))
        Exception: naive and mature sequences different lengths 321 322 for 0901808538749971629-igk 5827556154176009883-igk 0316148055258110569-igk 0673794353012672613-igk 5234516726189794955-igk:
            GACATCCAGATGACCCAGTCTCCATCTTCTGTGTCTGCATCTGTAGGAGACAGAGTCACCATCACTTGTCGGGCGAGTCAGGGTATTAGCAGCTGGTTAGCCTGGTATCAGCAGAAACCAGGGAAAGCCCCTAAGCTCCTGATCTATGCTGCATCCAGTTTGCAAAGTGGGGTCCCATCAAGGTTCAGCGGCAGTGGATCTGGGACAGATTTCACTCTCACTATCAGCAGCCTGCAGCCTGAAGATTTTGCAACTTACTATTGTCAACAGGCTAACAGTTTCCCTGCACTTTTGGCCAGGGGACCAAGCTGGAGATCAAAC                                                                                                                                                                                   
            GACATCCAAATAACCCAGTCTCCATCTTCTGCGTCTCCATCTGGAGTCGACAGAGTCACCATCACTTCTCGGGCTAGTCAGGGCATTAGCAGCTGGTTAGCTTGGTATCAGCAGCAGCCAGGGCAAGCCCCTAAGCTCCTGTTCTATGCTGCATGCAGTTTGCAAAGTGGAGTCCCATCAAGGTTCAGCGGCCGTGGATCTGGGACAGATTTCACTCTCACTATCAGCAGCCTGCCGCCTGAAAATTTTGTACCTTACTATTGTCAACAGGCTAACAGGTTCCCTTGCCCTTTTGGCTAGGGGACAAATCTGGAGATCATTC                                                                                                                                                                                  

from linearham.

psathyrella avatar psathyrella commented on August 16, 2024

This seems to be written by this line: https://github.com/matsengrp/linearham/blob/master/src/PhyloHMM.cpp#L320

but I can't figure out how the value of vd_junction_insertion_samp_ gets set.

from linearham.

psathyrella avatar psathyrella commented on August 16, 2024

Well this (and this) get around the issue by looking for TRUE valued VJ insertion and figuring out what it's supposed to be, but it would be a lot better to figure out why linearham is writing the TRUE to begin with.

from linearham.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.