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

deal_gff.py improvement #28

Open
ardy20 opened this issue Feb 8, 2023 · 1 comment
Open

deal_gff.py improvement #28

ardy20 opened this issue Feb 8, 2023 · 1 comment

Comments

@ardy20
Copy link

ardy20 commented Feb 8, 2023

Hello SunPeng

Can we change the python deal_gff.py in a way that can sort the genome file and gff file in descending order (based on the length of chromosomes in fasta file from larger to smaller) and also shorten the name of sequences (seq_id). For example, I used words "Chr1", "Chr2", "Chr3" and it was still large to be fitted in to dotplot figure nicely. Even the word "Chr" is long.

I ordered the order of chromosomes in .lens file but it did not help and still giving me unsorted chromosome orders.

When I manually edited/sorted lens and gff file to make the the sequence ids shorter and also in descending order (biggest Chr first to smallest) it did not help and it still started from chr10, chr11,.......... instead of chr1, chr2 etc..

I suggest we change this deal_gff.py in a way that can either make the fonts smaller or shorter the name of sequence ids in a way that can be fitted into the dot plot (whichever easier) and also sort the the sequences (in both pep.fa and .gff) descending (Chr1-Chr..n, larger to smallest, respectively).

Hope this is possible to improve the quality of your great work.

@SunPengChuan
Copy link
Owner

Edit the chromosomes (whole line) of the lens file to adjust the order of chromosomes in dotplot.

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

2 participants