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

Adds recipe for mccortex #10860

Merged
merged 10 commits into from
Sep 8, 2018
Merged

Adds recipe for mccortex #10860

merged 10 commits into from
Sep 8, 2018

Conversation

winni2k
Copy link
Contributor

@winni2k winni2k commented Sep 7, 2018

  • I have read the guidelines for bioconda recipes.
  • This PR adds a new recipe.
  • AFAIK, this recipe is directly relevant to the biological sciences (otherwise, please submit to the more general purpose conda-forge channel).
  • This PR updates an existing recipe.
  • This PR does something else (explain below).

@winni2k
Copy link
Contributor Author

winni2k commented Sep 7, 2018

@bioconda/core: I think this PR is ready to merge.

Copy link
Member

@epruesse epruesse left a comment

Choose a reason for hiding this comment

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

Nice!

- {{ compiler('cxx') }}
host:
- autoconf
- automake
Copy link
Member

Choose a reason for hiding this comment

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

Build tools go into build:, so autoconf and automake can go there. Do you even need them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do, but see comment below.


export CFLAGS="-I$PREFIX/include"
export LDFLAGS="-L$PREFIX/lib"
export CPATH=${PREFIX}/include
Copy link
Member

Choose a reason for hiding this comment

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

Just optics, but write CPATH="$PREFIX/include" for readability

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure! But someone should probably fix the docs where I copied this from: https://bioconda.github.io/troubleshooting.html#zlib-errors

Copy link
Member

Choose a reason for hiding this comment

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

for make_file in libs/string_buffer/Makefile $(find libs/seq_file -name Makefile) $(find libs/seq-align -name Makefile) Makefile; do
sed -i.bak 's/-lz/-lz $(LDFLAGS)/' $make_file
done

Copy link
Member

Choose a reason for hiding this comment

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

Think you could make a PR upstream and reference it here? No need to delay the package, but feeding these things upstream would be nice.

Copy link
Member

Choose a reason for hiding this comment

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

Wait ... if this tool uses autoconf/autotools, why do you need to patch the Makefiles?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mccortex has extensive dependencies that are all part of the source code release. The patching is applied to only a small number of all the make files in the mccortex source code. I need autoreconf for other make files...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Happy to fix the other issues in an upstream PR.

winni2k added a commit to winni2k/bioconda-recipes that referenced this pull request Sep 7, 2018
@winni2k winni2k mentioned this pull request Sep 7, 2018
5 tasks
@epruesse
Copy link
Member

epruesse commented Sep 8, 2018

Thanks @winni2k

@epruesse epruesse merged commit 42e7e8d into bioconda:master Sep 8, 2018
bgruening pushed a commit that referenced this pull request Sep 8, 2018
* Add mccortex

* Refactor meta.yaml

* Refactor meta.yaml

* Add libtool build dependency

* Maybe autoconf is the right library

* Fix build number

* Also need automake

* fix sed issue in Mac OS X

* Remove unneeded LIBRARY_PATH in build.sh

* Fix minor comments from #10860

* bumb build number
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