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

Fix paralogs_to_ref.py #32

Merged
merged 2 commits into from
Jun 7, 2022

Conversation

bmichanderson
Copy link
Contributor

This first makes a small change that was inserting a space at the start of the fasta alignment.
Secondly, it changes the way the script reads the paralog info text file so that contig names are actually retained. Originally, the numpy function genfromtxt would read in only the ref number and leave the contig names as 'nan', leading to no paralogs being aligned to reference sequences. I've changed this to read in as a list. As a result, I had to slightly alter the later code to account for the new data structure.

Numpy genfromtxt was returning 'nan' for the contig ids, leading to no contigs being aligned
@bmichanderson
Copy link
Contributor Author

This should address issue #25

@tandermann tandermann merged commit 4457ef8 into AntonelliLab:master Jun 7, 2022
@bmichanderson bmichanderson deleted the paralogs_patch2 branch June 7, 2022 15:33
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

Successfully merging this pull request may close these issues.

2 participants