Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError in final_out.py When Processing TPM Values #21

Open
DongqiangZeng0808 opened this issue Apr 23, 2024 · 1 comment
Open

IndexError in final_out.py When Processing TPM Values #21

DongqiangZeng0808 opened this issue Apr 23, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@DongqiangZeng0808
Copy link

Hello, Fotakis.

I am using neofuse and I encountered an IndexError during the execution of the script final_out.py. The error occurs when the script attempts to access elements in a list that appears to be shorter than expected.

Error Message:

Traceback (most recent call last):
File "/usr/local/bin/source/final_out.py", line 155, in
desperation(inFile1, inFile2, outFile)
File "/usr/local/bin/source/final_out.py", line 80, in desperation
if "NA" in gene1tpm[i].split("\t")[1] or "NA" in gene2tpm[i].split("\t")[1]:
IndexError: list index out of range;

Possible Fix:
It may be helpful to add checks before accessing list elements to ensure that the length of the split results meets the expected number of elements.

I am happy to provide further details or assist in testing any fixes. Thank you for looking into this issue.

Dongqiang

@abyssum abyssum added the enhancement New feature or request label Apr 25, 2024
@abyssum abyssum self-assigned this Apr 25, 2024
@abyssum
Copy link
Member

abyssum commented Apr 25, 2024

Hello @DongqiangZeng0808,

First of all, thank you for using NeoFuse.

We are currently migrating NeoFuse to Nextflow's DSL2 and in a short time we will release a new version - supporting MHC class II neoantigens as well. Since the current version of NeoFuse will become obsolete with the new release, we are no longer actively developing this version (sorry for the inconvenience).

In the meantime, can you check if you can find and forward the following files:

  1. /path/to/output/TPM/<sample>.tpm.txt
  2. /path/to/output/NeoFuse/<sample>_tmp_filtered.tsv

and i will try to look into it as soon as I have some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants