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

Adding new recipe (ncbi/TPMcalculator) and bumping igvtools and sra-tools to latest versions #15751

Merged
merged 13 commits into from
Jun 12, 2019

Conversation

r78v10a07
Copy link
Member

@r78v10a07 r78v10a07 commented Jun 6, 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 Jun 6, 2019

Welcome to Bioconda, @r78v10a07! 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!

@r78v10a07 r78v10a07 changed the title Adding new version of IGVtools Adding new recipe (ncbi/TPMcalculator) and bumping igvtools and sra-tools to latest versions Jun 6, 2019
@r78v10a07
Copy link
Member Author

In this PR there are two software that needs g++ for its compilation. The meta file include the compiler macros:

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}

However, the test failed with error:

/bin/sh: g++: command not found

Both recipes are build correctly in my local miniconda create with the bootstrap.py script

18:01:31 BIOCONDA INFO (OUT) Version: 0.0.3
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) Resource usage statistics from testing tpmcalculator:
18:01:31 BIOCONDA INFO (OUT)    Process count: 1
18:01:31 BIOCONDA INFO (OUT)    CPU time: unavailable
18:01:31 BIOCONDA INFO (OUT)    Memory: 3.1M
18:01:31 BIOCONDA INFO (OUT)    Disk usage: 12B
18:01:31 BIOCONDA INFO (OUT)    Time elapsed: 0:00:02.1
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) TEST END: /home/veraalva/workplace/miniconda/conda-bld/linux-64/tpmcalculator-0.0.3-hdbb99b9_0.tar.bz2
18:01:31 BIOCONDA INFO (OUT) Renaming work directory,  /home/veraalva/workplace/miniconda/conda-bld/tpmcalculator_1559858409935/work  to  /home/veraalva/workplace/miniconda/conda-bld/tpmcalculator_1559858409935/work_moved_tpmcalculator-0.0.3-hdbb99b9_0_linux-64_main_build_loop
18:01:31 BIOCONDA INFO (OUT) # Automatic uploading is disabled
18:01:31 BIOCONDA INFO (OUT) # If you want to upload package(s) to anaconda.org later, type:
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) anaconda upload /home/veraalva/workplace/miniconda/conda-bld/linux-64/tpmcalculator-0.0.3-hdbb99b9_0.tar.bz2
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) # To have conda build upload to anaconda.org automatically, use
18:01:31 BIOCONDA INFO (OUT) # $ conda config --set anaconda_upload yes
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) anaconda_upload is not set.  Not uploading wheels: []
18:01:31 BIOCONDA INFO (OUT) ####################################################################################
18:01:31 BIOCONDA INFO (OUT) Resource usage summary:
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) Total time: 0:01:21.3
18:01:31 BIOCONDA INFO (OUT) CPU usage: sys=0:00:00.3, user=0:00:08.1
18:01:31 BIOCONDA INFO (OUT) Maximum memory usage observed: 328.9M
18:01:31 BIOCONDA INFO (OUT) Total disk usage observed (not including envs): 17.7K

18:01:32 BIOCONDA INFO BUILD SUCCESS tpmcalculator-0.0.3-hdbb99b9_0.tar.bz2
18:01:32 BIOCONDA INFO Executing: 'conda build purge'
18:01:33 BIOCONDA INFO (ERR) read filter "zstd" is not supported
18:01:33 BIOCONDA INFO (ERR) write filter "zstd" is not supported
18:01:33 BIOCONDA INFO BUILD SUMMARY: successfully built 1 of 1 recipes

Could anyone from @bioconda/lib help, please?

@biocondabot
Copy link
Contributor

biocondabot bot commented Jun 6, 2019

Repeating comment from @r78v10a07 to enable @mention:

In this PR there are two software that needs g++ for its compilation. The meta file include the compiler macros:

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}

However, the test failed with error:

/bin/sh: g++: command not found

Both recipes are build correctly in my local miniconda create with the bootstrap.py script

18:01:31 BIOCONDA INFO (OUT) Version: 0.0.3
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) Resource usage statistics from testing tpmcalculator:
18:01:31 BIOCONDA INFO (OUT)    Process count: 1
18:01:31 BIOCONDA INFO (OUT)    CPU time: unavailable
18:01:31 BIOCONDA INFO (OUT)    Memory: 3.1M
18:01:31 BIOCONDA INFO (OUT)    Disk usage: 12B
18:01:31 BIOCONDA INFO (OUT)    Time elapsed: 0:00:02.1
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) TEST END: /home/veraalva/workplace/miniconda/conda-bld/linux-64/tpmcalculator-0.0.3-hdbb99b9_0.tar.bz2
18:01:31 BIOCONDA INFO (OUT) Renaming work directory,  /home/veraalva/workplace/miniconda/conda-bld/tpmcalculator_1559858409935/work  to  /home/veraalva/workplace/miniconda/conda-bld/tpmcalculator_1559858409935/work_moved_tpmcalculator-0.0.3-hdbb99b9_0_linux-64_main_build_loop
18:01:31 BIOCONDA INFO (OUT) # Automatic uploading is disabled
18:01:31 BIOCONDA INFO (OUT) # If you want to upload package(s) to anaconda.org later, type:
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) anaconda upload /home/veraalva/workplace/miniconda/conda-bld/linux-64/tpmcalculator-0.0.3-hdbb99b9_0.tar.bz2
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) # To have conda build upload to anaconda.org automatically, use
18:01:31 BIOCONDA INFO (OUT) # $ conda config --set anaconda_upload yes
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) anaconda_upload is not set.  Not uploading wheels: []
18:01:31 BIOCONDA INFO (OUT) ####################################################################################
18:01:31 BIOCONDA INFO (OUT) Resource usage summary:
18:01:31 BIOCONDA INFO (OUT)
18:01:31 BIOCONDA INFO (OUT) Total time: 0:01:21.3
18:01:31 BIOCONDA INFO (OUT) CPU usage: sys=0:00:00.3, user=0:00:08.1
18:01:31 BIOCONDA INFO (OUT) Maximum memory usage observed: 328.9M
18:01:31 BIOCONDA INFO (OUT) Total disk usage observed (not including envs): 17.7K

18:01:32 BIOCONDA INFO BUILD SUCCESS tpmcalculator-0.0.3-hdbb99b9_0.tar.bz2
18:01:32 BIOCONDA INFO Executing: 'conda build purge'
18:01:33 BIOCONDA INFO (ERR) read filter "zstd" is not supported
18:01:33 BIOCONDA INFO (ERR) write filter "zstd" is not supported
18:01:33 BIOCONDA INFO BUILD SUMMARY: successfully built 1 of 1 recipes

Could anyone from @bioconda/lib help, please?

@dpryan79
Copy link
Contributor

dpryan79 commented Jun 6, 2019

@r78v10a07 The compilers aren't actually named gcc or g++, but have rather unusual names. The general idea is to ensure that the packages respect the $CC and $CXX environment variables, or to inject them into the build system if not. I've made an initial attempt at that, though often this takes a fair bit of trial and error since I'm not familiar with how these particular packages are built.

@epruesse
Copy link
Member

@BiocondaBot lint

@biocondabot
Copy link
Contributor

biocondabot bot commented Jun 11, 2019

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

Arch Package Repodata
linux-64 sra-tools-2.9.6-hf484d3e_0.tar.bz2 repodata.json
linux-64 tpmcalculator-0.0.3-hdbb99b9_0.tar.bz2 repodata.json
noarch igvtools-2.5.3-0.tar.bz2 repodata.json
osx-64 sra-tools-2.9.6-h0a44026_0.tar.bz2 repodata.json
osx-64 tpmcalculator-0.0.3-h0f242e4_0.tar.bz2 repodata.json

You may alsu use conda to install these:

  • For packages in linux-64 and noarch:
    conda install -c https://60864-42372094-gh.circle-artifacts.com/0/tmp/artifacts/packages <package name>
    
  • For packages in osx-64:
    conda install -c https://60877-42372094-gh.circle-artifacts.com/0/tmp/artifacts/packages <package name>
    

Docker image(s) built:

Package Tag Install with docker
igvtools 2.5.3--0
showcurl "https://60864-42372094-gh.circle-artifacts.com/0/tmp/artifacts/images/igvtools%3A2.5.3--0.tar.gz" | gzip -dc | docker load
sra-tools 2.9.6--hf484d3e_0
showcurl "https://60864-42372094-gh.circle-artifacts.com/0/tmp/artifacts/images/sra-tools%3A2.9.6--hf484d3e_0.tar.gz" | gzip -dc | docker load
tpmcalculator 0.0.3--hdbb99b9_0
showcurl "https://60864-42372094-gh.circle-artifacts.com/0/tmp/artifacts/images/tpmcalculator%3A0.0.3--hdbb99b9_0.tar.gz" | gzip -dc | docker load

@dpryan79
Copy link
Contributor

@r78v10a07 As far as I can tell this is good to go (I recall you confirming that remote blast should still work). If that's correct, I'll approve the PR and merge it. BTW, shall I add you to bioconda?

@r78v10a07
Copy link
Member Author

@dpryan79 , I agree that everything is working fine. I tested the packages in OS and Linux and all work fine.
It will be great if you can add me to bioconda as I'm planning the update insertion of other packages.

@dpryan79 dpryan79 merged commit 723758a into bioconda:master Jun 12, 2019
kpalin pushed a commit to kpalin/bioconda-recipes that referenced this pull request Aug 7, 2019
…ools to latest versions (bioconda#15751)

* Adding new version of IGVtools

* Updating SRA-Tools to version 2.9.6

* Updating IGVtools build number to 0

* Adding new recipes and moving SRA-tools to the black list due to g++ not found error while testing

* Adding new correct compiler to the SRA-tools meta

* Changing compiler macro

* inject compilers into tpmcalculator

* try injecting compilers into ncbi-vdb

* Injecting compilers in the sra-tools

* Injecting compilers in the sra-tools

* Injecting compilers in the sra-tools including the BUILD_PREFIX/bin in the PATH

* Injecting compilers in the sra-tools including the BUILD_PREFIX/bin in the PATH

* Adding the option to use bundled JDK
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.

3 participants