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

Improve build process #237

Merged
merged 9 commits into from
Nov 2, 2020
Merged

Improve build process #237

merged 9 commits into from
Nov 2, 2020

Conversation

mbhall88
Copy link
Member

@mbhall88 mbhall88 commented Oct 30, 2020

DISCLAIMER: don't let the number of file changes put you off - I just deleted a lot of comments...

Added

  • Build and test on travis-ci [closes Setup continuous integration #158]. You can see an example for commit abc2508 here
  • --clean-dbg flag in pandora discover. This exposes the option for cleaning the GATB de Bruijn graph before doing local assembly.

Removed

  • a lot of commented-out code - basically any comments that mention cout or cerr

Changed

  • GATB build process. This is now considerably faster as we now only build GATB for a maximum k-mer size of 32. I changed the --discover-k parameter to only accept integers in the range [0-32) as a guard for this. I also streamlined the cmake build process for GATB to build from a git commit rather than downloading a tar ball. This is so that we can easily transition to a fork of GATB if we need to to support multithreading.
  • (Almost) all usage of std::cout and std::cerr has been replaced with writes to the log instead [closes Logging should go to stderr #221]
  • default value for --merge-dist is now 15 [Acceptable local assembly performance #74 and Filter pandora map VCFs mbhall88/head_to_head_pipeline#48 will have evidence to support this change soon]

change boost install method

remove travis_retry

change boost build dir

add boost root to cmake

WIP: trying to get cmake building

WIP: dont rely on previous CMAKE_OPTIONS variable

WIP: add missing boost variables to script

WIP: fiddling with boost root

WIP: comment out cache

WIP: try and make boost install simpler

WIP: trying to get pandora to include boost

WIP: try to install boost in /usr

WIP: add sudo

WIP: fix ctest verbose flag

WIP: try and cache boost

WIP: format readme and update travis badges

WIP: remove caching of /usr dirs
@mbhall88 mbhall88 requested a review from leoisl October 30, 2020 07:19
Copy link
Collaborator

@leoisl leoisl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had just one very minor comment, so I am approving these changes directly. You can address or reject this minor comment, all is fine by me! In summary:

  • Improvements to the CI and build process are amazing and really needed;
  • The code cleaning you did will improve our post-paper development QOL so much, can't thank you enough!
  • Very happy to see that all messages now go to the logging object, with the proper logging level;

Thanks a lot for this!

include/denovo_discovery/denovo_discovery.h Outdated Show resolved Hide resolved
@mbhall88 mbhall88 merged commit 0f1210e into iqbal-lab-org:dev Nov 2, 2020
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