-
Notifications
You must be signed in to change notification settings - Fork 5
Inquiring about the solution for the missing clone in the input table #25
Description
Dear Authors,
Thank you for developing such an excellent tool for clone-specific copy number alteration estimation. I am currently using this tool to analyze my data (CONIPHER and ASCAT converted into refphase output) derived from WES. However, I have encountered an issue during the analysis of the input table processing. Specifically, there is a mismatch between the ci table and the cp table, as they do not share the same clones, which results in the following error. I tried to manually supplement a cn=2 segment for the missing segment in the samples. While the subsequent process does not produce any errors, it generates an unusual output from your plotting script, which seems to be influenced by the supplemented segment.
Could you please clarify how I should handle such an error? Additionally, I would appreciate it if you could provide a solution or suggest an alternative approach to identify and resolve this issue. Thank you in advance for your guidance and assistance.
Error message:
_____ __ _____ _____ _____ _____
| _ | | | _ | _ | | _ |
| | |__| __| | --| |
|__|__|_____|__| |__|__|_____|__|__|
/\⌒⌒⌒/\
(⦿ ⦿)
( 'Y' )
( )
( )
( )
(~ ~~~~~~~~~~)
( ~ ~~ ~~ )
( ~ ~ ~ ~ )
(~ ~~~~~ ~)
│ │ │ │
│ │ │ │
Processing files: 0%| | 0/21 [00:00<?, ?file/s]2025-12-23 14:25:36 - ALPACA - ERROR - An error occurred: Sample names in input table, cp_table and ci_table do not match
Sample names in input table: ['OM15_P7']
Sample names in clone proportions table: ['OM15_P13', 'OM15_P7']
Sample names in confidence intervals table: ['OM15_P13', 'OM15_P7']
Processing files: 0%| | 0/21 [00:00<?, ?file/s]
Traceback (most recent call last):
File "/home/u5430259/.conda/envs/alpaca/bin/alpaca", line 7, in <module>
sys.exit(main())
~~~~^^
File "/home/u5430259/.conda/envs/alpaca/lib/python3.13/site-packages/alpaca/__main__.py", line 41, in main
run_alpaca()
~~~~~~~~~~^^
File "/home/u5430259/.conda/envs/alpaca/lib/python3.13/site-packages/alpaca/__main__.py", line 119, in run_alpaca
raise e
File "/home/u5430259/.conda/envs/alpaca/lib/python3.13/site-packages/alpaca/__main__.py", line 81, in run_alpaca
SS = SegmentSolution(input_file_name, config, logger)
File "/home/u5430259/.conda/envs/alpaca/lib/python3.13/site-packages/alpaca/ALPACA_segment_solution_class.py", line 379, in __init__
validate_inputs(
~~~~~~~~~~~~~~~^
it=self.input_table, cpt=self.cp_table, cit=self.ci_table, t=self.tree
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/u5430259/.conda/envs/alpaca/lib/python3.13/site-packages/alpaca/ALPACA_segment_solution_class.py", line 230, in validate_inputs
raise ValueError(
f"Sample names in input table, cp_table and ci_table do not match\n{error_msg}"
)
ValueError: Sample names in input table, cp_table and ci_table do not match
Sample names in input table: ['OM15_P7']
Sample names in clone proportions table: ['OM15_P13', 'OM15_P7']
Sample names in confidence intervals table: ['OM15_P13', 'OM15_P7']