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

only for one chromosome #3

Closed
JhinAir opened this issue Feb 24, 2024 · 4 comments
Closed

only for one chromosome #3

JhinAir opened this issue Feb 24, 2024 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@JhinAir
Copy link

JhinAir commented Feb 24, 2024

Hi,
when I extract only one chromosome of bam and fasta files to run, GCI stills outputs all chromosomes. The other chromosomes are null but the desired chromosome also failed.

python /share/home/zhanglab/user/chenquanyu/scripts/GCI/GCI.py -r C022-CHA-S02_2-01.chrY.fa --nano C022-CHA-S02_2-01.chrY.bam -o C022-CHA-S02_2-01_ont -it png -p -ts 5 --force && touch C022-CHA-S02_2-01_ont.GCI.finish

C021-CHA-S01_2-01_ont chrY_RagTag

Could you please add a parameter for specifically outputing one chromosome or one region?

Thanks

@yeeus yeeus added the bug Something isn't working label Feb 24, 2024
@yeeus
Copy link
Owner

yeeus commented Mar 3, 2024

Because GCI was designed for high-quality genome assembly, so you need to input whole genome alignment which means all chromosomes will be plotted. If not, the other chromosomes would be considered as assembled so poorly that having no highly-confident alignments.
And I added the option -R to plot specific regions in the new version v0.2, so you can input one bed file to specifically plot some regions.

@yeeus yeeus closed this as completed Mar 3, 2024
@yeeus yeeus added the good first issue Good for newcomers label Mar 3, 2024
@yeeus
Copy link
Owner

yeeus commented Apr 29, 2024

Some others have also inquired about this issue, so I decide to add one option instead of iterating through all headers.
I now reopen this issue until it would be fixed.

@yeeus yeeus reopened this Apr 29, 2024
yeeus added a commit that referenced this issue Apr 29, 2024
@yeeus
Copy link
Owner

yeeus commented Apr 29, 2024

Now GCI adds one option --chrs to specify chromosomes (in commit 7afb709)

@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
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants