-
Notifications
You must be signed in to change notification settings - Fork 4
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
coordinates from the events file #22
Comments
Sorry, I should be more specific. The events.txt file has multiple descriptions of the syntenic blocks, I'm specifically interested in the rearranged block (i.e., inversions, transposition, etc.) and not the conserved blocks. |
Hello Jeff! You are correct in your guess: the coordinates are always global (internally the fasta headers
Note: The script uses a naive approach which makes it slow if you the fasta files contain many sequences or if the events file contains many events. It is naive because it will check every event with all the lengths of the sequences until one that is bigger is found. This could be easily improved with a binary search, but it should work without further problem if you have e.g. 30 by 30 chromosomes. Btw: I am no longer able to maintain this repository on a daily basis as I recently switched jobs. Still I will try to help when possible! Hope this helps, |
Esteban, Thanks so much for you help - very much appreciated - I'll give you script a try now! A couple more quick questions - is there a way to export the figure as a higher resolution file? I'm looking for something that I could import into illustrator to make manuscript quality figures. Lastly, I'm still trying to wrap my head around the level argument. It appears that it should be set to 4, except when using with large plant genome where you indicate that it could be set to 1. What exactly is this argument doing? I know you've switched jobs and really appreciate you still helping with chromeister. Jeff |
Hey there @pjm43 ,
Thanks for using CHROMEISTER! :)
Let me know if it works alright!
I think this should be possible. In essence, what CHROMEISTER plots is basically a matrix of 0's and 1's after it has computed some stuff. This is the matrix called
Then copy this python code:
Note: Remember to change the Then you can run the above python script and it will save the matrix to an This is the resulting (Note: you should be able to download the This is not a very clean solution but it might work for what you need.
I would not give too much though to this parameter, but in essence it controls how many nucleotides are skipped to calculate the hash function. This means that if you input Hope it helps! |
Hi Esteban,
I'm interested in pulling the specific chromosomal coordinates identified in the events file after running run_and_plot_chromeister.sh. I believe they are reported globally across the genome (the genome has 21 chromosomes in the fasta) in this file, nor does the file specify the chromosome from which they are derived. What is the best way to covert global coordinate to local chromosomal coordinates for the events identified?
Thanks in advance,
Jeff
The text was updated successfully, but these errors were encountered: