uclahs-cds / package-moPepGen

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

callNovelORF & callAltTrans error: ':' is not a valid unambiguous letter for protein #874

Closed zhuchcn closed 6 months ago

zhuchcn commented 6 months ago

Both callNovelORF and callAltTrans have the same error. Although not tested, callVariant may also have this error.

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 99, in main
    args.func(args)
  File "/usr/local/lib/python3.8/site-packages/moPepGen/cli/call_novel_orf.py", line 161, in call_novel_orf_peptide
    novel_orf_peptide_pool.add_peptide(peptide, canonical_peptides,
  File "/usr/local/lib/python3.8/site-packages/moPepGen/aa/VariantPeptidePool.py", line 39, in add_peptide
    if SeqUtils.molecular_weight(peptide, 'protein') < min_mw:
  File "/usr/local/lib/python3.8/site-packages/Bio/SeqUtils/__init__.py", line 379, in molecular_weight
    raise ValueError(
ValueError: ':' is not a valid unambiguous letter for protein