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

Uniform window size for visualization #4

Closed
comery opened this issue Mar 7, 2024 · 3 comments
Closed

Uniform window size for visualization #4

comery opened this issue Mar 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@comery
Copy link
Collaborator

comery commented Mar 7, 2024

hi developers,

I noticed in a case, the overall picture looks different from a zoom-in picture of a specific region. I guess this is because you use an adopted window size for different plots with different scales. Making it uniform will be better to compare each other.

image

@yeeus yeeus added the enhancement New feature or request label Mar 7, 2024
@yeeus
Copy link
Owner

yeeus commented Mar 8, 2024

yeah that's a good suggestion. I have editted the window size as a constant value (50Kb) in the new version (v0.3). I think that would help.

@yeeus yeeus closed this as completed Mar 8, 2024
@comery
Copy link
Collaborator Author

comery commented Mar 12, 2024

Why did you close the issue so quickly? Be patient!
I used the newest version of GCI, but I got the new error as report as the following:

The length of plotting region (15706) is less than the window size (50000)

Do you have any ideas?

@yeeus
Copy link
Owner

yeeus commented Mar 17, 2024

I'm sorry for that.
Anyways, I think the problem was caused by the plot funcion which would generate plots for every chromosomes and coincidentally, your genome assembly has a chromosome (or contig) less than the window size (50Kb by default).
You can lower the window size or using the latest version of plot_depth.py in the directory utility with the option -R which would generate plots only for the sepcific regions.

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