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

added receipe for bdgenomics.mango #17960

Merged
merged 11 commits into from Oct 23, 2019
Merged

Conversation

akmorrow13
Copy link
Contributor

@akmorrow13 akmorrow13 commented Oct 8, 2019

Bioconda requires reviews prior to merging pull-requests (PRs). To facilitate this, once your PR is passing tests and ready to be merged, please add the please review & merge label so other members of the bioconda community can have a look at your PR and either make suggestions or merge it. Note that if you are not already a member of the bioconda project (meaning that you can't add this label), please ping @bioconda/core so that your PR can be reviewed and merged (please note if you'd like to be added to the bioconda project). Please see #15332 for more details.

  • 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).

@biocondabot
Copy link
Contributor

biocondabot bot commented Oct 8, 2019

Welcome to Bioconda, @akmorrow13! Thank you for opening your first pull request! As you're new to Bioconda, please read through our documentation about contributing recipes. If you need help, please ping one of the following teams:

  • @bioconda/haskel for Haskell packages
  • @bioconda/lib for C/C++ packages
  • @bioconda/osx for help with builds erroring on OSX
  • @bioconda/perl for perl packages
  • @bioconda/python for python packages
  • @bioconda/r for R packages
  • @bioconda/rust for Rust packages
  • @bioconda/core in other cases

You can also join our Gitter channel to find help.

Please ping @bioconda/core when your pull request is passing tests and ready to be merged.

If you would like to join Bioconda, please mention that to @bioconda/core and they will happily send out an invitation link to you!

@biocondabot
Copy link
Contributor

biocondabot bot commented Oct 9, 2019

Package(s) built on CircleCI are ready for inspection:

Arch Package Repodata
noarch mango-0.0.5-py_0.tar.bz2 repodata.json

You may also use conda to install these:

  • For packages in noarch:
    conda install -c https://78864-42372094-gh.circle-artifacts.com/0/tmp/artifacts/packages <package name>
    

Docker image(s) built:

Package Tag Install with docker
mango 0.0.5--py_0
showcurl "https://78864-42372094-gh.circle-artifacts.com/0/tmp/artifacts/images/mango%3A0.0.5--py_0.tar.gz" | gzip -dc | docker load

@dpryan79
Copy link
Contributor

dpryan79 commented Oct 9, 2019

You'll need to add the various bdgenomics dependencies.

@npavlovikj
Copy link
Member

The current error message is:

19:18:14 BIOCONDA INFO (OUT) /opt/conda/conda-bld/mango_1571252876304/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/bin/mango-submit: line 64: /opt/conda/conda-bld/mango_1571252876304/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/bin/find-mango-assembly.sh: No such file or directory

Looks like "mango-submit" is using "find-mango-assembly.sh" which is not symlinked to $BINARY_HOME and thus not found. I would suggest you to symlink the other scripts in "/bin" in "build.sh" as well (or the whole "/bin" directory all together), or change the location of SCRIPT_DIR.

@dpryan79
Copy link
Contributor

I've fixed the initial set of problems, though this points out some real oddities in how the software is structured.

@heuermh
Copy link
Contributor

heuermh commented Oct 20, 2019

@dpryan79

...though this points out some real oddities in how the software is structured.

We ran into similar issues with how conda breaks apart our tarballs with symlinks in the Bioconda recipe for adam. The workarounds and patches there are still not entirely satisfactory, see e.g. bigdatagenomics/adam#2225. Do you have any suggestions as to how to better structure our release artifacts?

@akmorrow13
Copy link
Contributor Author

@dpryan79 would you know why $SP_DIR is set correctly during the initial test phase but is no longer set correctly during the mulled-build build-and-test phase? This description of conda variables says that SP_DIR should also be set during test.

@dpryan79
Copy link
Contributor

There's no conda activate run inside the container, since the base environment contains the package. Given that, no environment variables will be set.

@dpryan79
Copy link
Contributor

@heuermh The occasional symlink shouldn't be an issue. The structure problem with the packages seems to be that the jar files aren't being properly installed with pip. They should be treated as data files (to use python lingo).

@dpryan79 dpryan79 merged commit a9faca6 into bioconda:master Oct 23, 2019
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

4 participants