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

Launch BISCUT_preprocessing.py fails: issue with input #7

Open
kokonech opened this issue Apr 11, 2024 · 0 comments
Open

Launch BISCUT_preprocessing.py fails: issue with input #7

kokonech opened this issue Apr 11, 2024 · 0 comments

Comments

@kokonech
Copy link

Hi! I tried to run on CNV profiles from methylation data, but BISCUIT failed. Main error was the following:

Traceback (most recent call last):
  File "/b06x-isilon/b06x-m/mb/analysis/medullo/okonechn/BISCUT-py3-main/BISCUT_preprocessing.py", line 256, in <module>
    take_care_arms(tumor_type, date_suffix)
  File "/b06x-isilon/b06x-m/mb/analysis/medullo/okonechn/BISCUT-py3-main/BISCUT_preprocessing.py", line 251, in take_care_arms
    result.get(9999999)
  File "/b06x-isi/share/csw/15.x/x86_64_generic/software/Python/3.10.4-GCCcore-11.3.0/lib/python3.10/multiprocessing/pool.py", line 771, in get
    raise self._value
KeyError: 'start'

I only edited tumor_type, seg_file_suffix and date_suffix. Setting amplitude_threshold to 0.1 also did not help, even though distribution of Segment_mean is from -0.6 to 0.6. Here's the head of the CNV profile file collected from methylation data:

Sample	Chromosome	Start	End	Num_Probes	Segment_Mean
ICGC_MB305	1	521369	750000	10	0.011
ICGC_MB305	1	750001	800000	10	-0.037
ICGC_MB305	1	800001	850000	10	-0.033
ICGC_MB305	1	850001	900000	10	0.014
ICGC_MB305	1	900001	950000	10	0.008
ICGC_MB305	1	950001	1000000	10	0.044
...

What could be the problem? Any suggestions how to fix this?

P.S. I followed the tutorial in documentation, it went well but initailly running the BISCUT_preprocessing.py required the input file to be located in the docs subfolder:
FileNotFoundError: [Errno 2] No such file or directory: 'docs/PANCAN_ISAR.seg.txt'

I found this is hard-coded there. Probably could be noted in documentation.

@kokonech kokonech changed the title Launch BISCUT_preprocessing.py fails: issue with file location Launch BISCUT_preprocessing.py fails: issue with input Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant