uclahs-cds / package-moPepGen

Multi-Omics Peptide Generator
https://uclahs-cds.github.io/package-moPepGen/
GNU General Public License v2.0
5 stars 1 forks source link

'TVGNode' object has no attribute 'in_edge' #729

Closed lydiayliu closed 1 year ago

lydiayliu commented 1 year ago
      [ 2023-04-30 04:35:14 ] 97000 transcripts processed.
      [ 2023-04-30 04:36:41 ] Exception raised from ENST00000553929.5
      An error has occured during the function execution
      Traceback (most recent call last):
        File "/usr/local/lib/python3.8/site-packages/ppft/__main__.py", line 99, in run
          __result = __f(*__args)
        File "/usr/local/lib/python3.8/site-packages/moPepGen/cli/call_variant_peptide.py", line 300, in wrapper
          return call_variant_peptides_wrapper(**dispatch)
        File "/usr/local/lib/python3.8/site-packages/moPepGen/cli/call_variant_peptide.py", line 231, in call_variant_peptides_wrapper
          main_peptides = call_peptide_main(
        File "/usr/local/lib/python3.8/site-packages/moPepGen/cli/call_variant_peptide.py", line 478, in call_peptide_main
          dgraph.fit_into_codons()
        File "/usr/local/lib/python3.8/site-packages/moPepGen/svgraph/ThreeFrameTVG.py", line 1815, in fit_into_codons
          end_nodes = self.expand_alignments(cur)
        File "/usr/local/lib/python3.8/site-packages/moPepGen/svgraph/ThreeFrameTVG.py", line 1745, in expand_alignments
          self.merge_into_inbonds(end)
        File "/usr/local/lib/python3.8/site-packages/moPepGen/svgraph/ThreeFrameTVG.py", line 1200, in merge_into_inbonds
          for edge in in_node.in_edge:
      AttributeError: 'TVGNode' object has no attribute 'in_edge'
       Traceback (most recent call last):
        File "/usr/local/bin/moPepGen", line 8, in <module>
          sys.exit(main())
        File "/usr/local/lib/python3.8/site-packages/moPepGen/cli/__main__.py", line 92, in main
          args.func(args)
        File "/usr/local/lib/python3.8/site-packages/moPepGen/cli/call_variant_peptide.py", line 412, in call_variant_peptide
          for peptides in peptide_series:
      TypeError: 'NoneType' object is not iterable

    Work dir:
      work/cf/a2524e9c04b373b27724259ec4afce

    Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

  Work dir:
    /hot/project/method/AlgorithmDevelopment/ALGO-000074-moPepGen/CPCGENE/processed/noncanonical-database/call-nonCanonicalPeptide/work_pipe/16/28ef35caa4c3215604316461309d92

Sad thing is that we only got to CPCG0184... I used all the input types

software,alt_splice_type,source,path
CIRCexplorer,,circRNA,/hot/project/disease/ProstateTumor/PRAD-000051-MIAPEP/data/CIRCexplorer/CIRCexplorer2_Chen.2019.Remap/CPCG0184_circularRNA_known.txt
REDItools,,RNAEdit,/hot/project/method/AlgorithmDevelopment/ALGO-000074-moPepGen/CPCGENE/processed/rnaedit/annotated/CPCG0184_candidates.rmsk.GRCh38_annotated.txt
rMATS,A3SS,altSplice,/hot/data/unregistered/Boutros-Yamaguchi-PRAD-CPCG/RNA/pipeline_runs/quantitate-SpliceIsoform/GRCh38/output/quantitate-SpliceIsoform-3.0.0/CPCG0184-F1/rMATS-4.1.1/output/CPCG0184-F1_A3SS.MATS.JC.txt
rMATS,A5SS,altSplice,/hot/data/unregistered/Boutros-Yamaguchi-PRAD-CPCG/RNA/pipeline_runs/quantitate-SpliceIsoform/GRCh38/output/quantitate-SpliceIsoform-3.0.0/CPCG0184-F1/rMATS-4.1.1/output/CPCG0184-F1_A5SS.MATS.JC.txt
rMATS,MXE,altSplice,/hot/data/unregistered/Boutros-Yamaguchi-PRAD-CPCG/RNA/pipeline_runs/quantitate-SpliceIsoform/GRCh38/output/quantitate-SpliceIsoform-3.0.0/CPCG0184-F1/rMATS-4.1.1/output/CPCG0184-F1_MXE.MATS.JC.txt
rMATS,RI,altSplice,/hot/data/unregistered/Boutros-Yamaguchi-PRAD-CPCG/RNA/pipeline_runs/quantitate-SpliceIsoform/GRCh38/output/quantitate-SpliceIsoform-3.0.0/CPCG0184-F1/rMATS-4.1.1/output/CPCG0184-F1_RI.MATS.JC.txt
rMATS,SE,altSplice,/hot/data/unregistered/Boutros-Yamaguchi-PRAD-CPCG/RNA/pipeline_runs/quantitate-SpliceIsoform/GRCh38/output/quantitate-SpliceIsoform-3.0.0/CPCG0184-F1/rMATS-4.1.1/output/CPCG0184-F1_SE.MATS.JC.txt
STAR-Fusion,,Fusion,/hot/data/unregistered/Boutros-Yamaguchi-PRAD-CPCG/RNA/pipeline_runs/call-FusionTranscript/output/CPCG0184/star-fusion-1.9.1/star-fusion.fusion_predictions.tsv
VEP,,gIndel,/hot/project/disease/ProstateTumor/PRAD-000051-MIAPEP/data/VEP/gencodev34_grch38/VEP/gindel/CPCG0184.gencode.tsv
VEP,,gSNP,/hot/project/disease/ProstateTumor/PRAD-000051-MIAPEP/data/VEP/gencodev34_grch38/VEP/gsnp/CPCG0184.gencode.tsv
VEP,,sIndel,/hot/project/disease/ProstateTumor/PRAD-000051-MIAPEP/data/VEP/gencodev34_grch38/VEP/pindel/CPCG0184.gencode.tsv
VEP,,sSNV,/hot/project/disease/ProstateTumor/PRAD-000051-MIAPEP/data/VEP/gencodev34_grch38/VEP/somaticsniper/CPCG0184.gencode.tsv

I launched this yesterday night and should be the latest dev with sha256:74046c82f700a18ed7dea0ffa2262f8d05f4a686052aeeb616e4d721e2fd6fdc

zhuchcn commented 1 year ago

There is a typo. The variable shoudl be in_edge. Surprised that pylint did not catch it.