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

issues for specific region #5

Closed
ssssyq1123 opened this issue Mar 14, 2024 · 4 comments
Closed

issues for specific region #5

ssssyq1123 opened this issue Mar 14, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@ssssyq1123
Copy link

Cool tool! I’m interested in specific regions, but I’m running into some issues with GCI.

  1. Is it possible to generate a continuity index for a specific region?
  2. When I plot the depth of a specific region, it also generates whole genome figures, which takes a long time. It doesn’t seem necessary, though.
  3. It’d be awesome to add some logging since the tool needs a lot of memory. I keep hitting an ‘out of memory’ error in the first few runs, but I can’t check if the depth file has been generated. If you’ve got a log file, could you please check the last log entry so I can keep the GCI running?
@yeeus
Copy link
Owner

yeeus commented Mar 17, 2024

  1. Yeah, in the newest version of GCI (v0.4), I added the function to generate GCI scores for each specific region.
  2. As GCI is a tool for assesing genome continuity while plotting is just an additional function, GCI would plot all chromosomes in defaut. However, in the latest version, the script plot_depth.py in the directory utility can generate plots only for the sepcific regions if providing -R option (as descripted in Uniform window size for visualization #4)
  3. I'm so sorry for that, out of memory also happens to me usually. I do think I need to solve this problem some day. And good suggestions, I have added the funcion of logging in the latest version of GCI (v0.4), I wish that would help you...

@yeeus yeeus added the enhancement New feature or request label Mar 17, 2024
@ssssyq1123
Copy link
Author

Thanks for quick reply and update!
Could you please provide a separate script for GCI score calculation of specific region like the plot script in the utility? Then I have not to run the whole process again since I got the depth.gz already~

@yeeus
Copy link
Owner

yeeus commented May 28, 2024

Yeah that's a good suggestion. Now in the latest commit, I created a file named GCI_score.py in the folder utility, which can be used to compute GCI score as in GCI.py and all you need is to provide the depth.gz file you got.

@yeeus
Copy link
Owner

yeeus commented Oct 3, 2024

I will close this issue due to long time of inactivity.

@yeeus yeeus closed this as completed Oct 3, 2024
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