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

Stuart #2

Merged
merged 48 commits into from
Nov 18, 2015
Merged

Stuart #2

merged 48 commits into from
Nov 18, 2015

Conversation

stuartmac
Copy link
Member

I merge pulled my branch with master before doing this so we're good to auto merge (excluding my config file and associated config.py). It looks big but there are only a few changes to existing code (see end of this comment).

I've been working on variant clustering the past couple of weeks so theres a new file clustering.py with all that. If you run the main block it'll create some figures in a folder called 'cluster_figs' (you'll need to create that first - guess I probably should have checked and done that in the code!) Oh and some of the examples use a method called 'mcl_program', which requires you to have the MCL program from http://micans.org/mcl/ on path (maybe just comment those out if you want to try it). I've also used a python MCL package that's on PyPi.

I've also added a few utilities to utils for this. My fractional_to_cartesian functions may end up unused but could be removed later if that's the case.

I also made Thiago's cool drop redundant columns feature in merge_tables optional to keep some of my code working for now.

And a couple of improvements to my uniprot variants function in to_table.

Lastly, my config file and edited config.py shouldn't be merged to master but I'll keep them in my branch.

…ion and though not as clean or neat allows panning of the 3D plots, which is broken in the previous commit.
…er merging of the clusters back to the structure / variant data frame
…ed alpha carbons) and implemented better scaling of 3D plot axes
…d implemented this conversion as an optional step in `variant_distances`
Conflicts:
	main.py

Also retained my config file, `config_stuart.txt`.
@stuartmac
Copy link
Member Author

Oh and I can do the merge if you like

@stuartmac
Copy link
Member Author

Didn't realise you could only assign one person!

tbrittoborges added a commit that referenced this pull request Nov 18, 2015
@tbrittoborges tbrittoborges merged commit fb51caa into master Nov 18, 2015
@tbrittoborges
Copy link
Collaborator

Tests passing.
@stuartmac can you add config_stuart.txt to .gitignore?

@stuartmac
Copy link
Member Author

Thanks! Ok I'll give that a try and then delete from the branch. Looks like you forgot to fix the config.py... default config on master now points to 'config_stuart.txt'.

If you had merged the pull request locally you could fix something like that afterwards with git checkout HEAD~1 -- config.py then git commit --amend, I don't know if github allows for fine grained control with pull requests so I'll try to do better at my end and not let things like that slip!

@stuartmac
Copy link
Member Author

@tbrittoborges For the sake of interest, i did:

  1. git rm --cached config_stuart.txt
  2. edited config.py to use the same default config file as master
  3. committed those changes and pushed to my branch
  4. git update-index --assume-unchanged config.py

So future pulls shouldn't interfere with either of those files!

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.

None yet

3 participants