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

About SinglePatientTiming demo #67

Open
RetGiraffe11235 opened this issue Oct 24, 2023 · 2 comments
Open

About SinglePatientTiming demo #67

RetGiraffe11235 opened this issue Oct 24, 2023 · 2 comments

Comments

@RetGiraffe11235
Copy link

Hi Developer,

Thank you for developing such a valuable tool.
I apologize for my limited understanding, but could you guide me on how to run SinglePatientTiming using the example data? I tried to execute it using the SegFile in ExampleData, but it wasn't successful. It would be greatly appreciated if you could provide sample data specifically for SinglePatientTiming.
Thank you for your great effort in maintaining this tool.

Best,
Tomoki

@iglc
Copy link
Collaborator

iglc commented Dec 4, 2023

Please first run the Clustering and Build tree tools.

@TomokiMotegi
Copy link

Hi iglc,
Thank you for your reply. I have completed the clustering and constructed the tree via singularity using original samples. Then, I made seg files from get_CN_Absolute.Phylogic_SinglePatientTiming.R and I tried to run Timing but encountered an issue. The error message is below.
"Traceback (most recent call last):
File "/phylogicndt/PhylogicNDT.py", line 515, in
args.func(args)
File "/phylogicndt/SinglePatientTiming/SinglePatientTiming.py", line 28, in run_tool
purity=purity)
File "/phylogicndt/data/Patient.py", line 148, in addSample
purity=purity, timepoint_value=timepoint_value)
File "/phylogicndt/data/Sample.py", line 92, in init
_additional_muts=_additional_muts) # a list of SomMutation objects
File "/phylogicndt/data/Sample.py", line 139, in _load_sample_ccf
mut_with_ccf_dat = self._read_post_clustering_results(filen)
File "/phylogicndt/data/Sample.py", line 219, in _read_post_clustering_results
sample_id = values[header['Sample_ID']]
UnboundLocalError: local variable 'header' referenced before assignment"

Could you please provide guidance on resolving this error?

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

3 participants