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

Add new recipe for fine structure #13707

Merged
merged 6 commits into from
Feb 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions recipes/finestructure/LICENSE-CP
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ChromoPainter, (c) 2012, The University of Oxford (the "Software")

The Software remains the property of the University of Oxford ("the University").

The Software is distributed "AS IS" under this Licence solely for non-commercial use in the hope that it will be useful, but in order that the University as a charitable foundation protects its assets for the benefit of its educational and research purposes, the University makes clear that no condition is made or to be implied, nor is any warranty given or to be implied, as to the accuracy of the Software, or that it will be suitable for any particular purpose or for use under any specific conditions. Furthermore, the University disclaims all responsibility for the use which is made of the Software. It further disclaims any liability for the outcomes arising from using the Software.

The Licensee agrees to indemnify the University and hold the University harmless from and against any and all claims, damages and liabilities asserted by third parties (including claims for negligence) which arise directly or indirectly from the use of the Software or the sale of any products based on the Software.

No part of the Software may be reproduced, modified, transmitted or transferred in any form or by any means, electronic or mechanical, without the express permission of the University. The permission of the University is not required if the said reproduction, modification, transmission or transference is done without financial return, the conditions of this Licence are imposed upon the receiver of the product, and all original and amended source code is included in any transmitted product. You may be held legally responsible for any copyright infringement that is caused or encouraged by your failure to abide by these terms and conditions.

You are not permitted under this Licence to use this Software commercially. Use for which any financial return is received shall be defined as commercial use, and includes (1) integration of all or part of the source code or the Software into a product for sale or license by or on behalf of Licensee to third parties or (2) use of the Software or any derivative of it for research with the final aim of developing software products for sale or license to a third party or (3) use of the Software or any derivative of it for research with the final aim of developing non-software products for sale or license to a third party, or (4) use of the Software to provide any service to an external organisation for which payment is received. If you are interested in using the Software commercially, please contact Garrett Hellenthal ([email protected]), Simon Myers ([email protected]), or Daniel Falush ([email protected]), to negotiate a license.

12 changes: 12 additions & 0 deletions recipes/finestructure/LICENSE-FS
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Finestructure v2.1, (c) 2016, The University of Bristol (the "Software")

The Software remains the property of the University of Bristol ("the University").

The Software is distributed "AS IS" under this Licence solely for non-commercial use in the hope that it will be useful, but in order that the University as a charitable foundation protects its assets for the benefit of its educational and research purposes, the University makes clear that no condition is made or to be implied, nor is any warranty given or to be implied, as to the accuracy of the Software, or that it will be suitable for any particular purpose or for use under any specific conditions. Furthermore, the University disclaims all responsibility for the use which is made of the Software. It further disclaims any liability for the outcomes arising from using the Software.

The Licensee agrees to indemnify the University and hold the University harmless from and against any and all claims, damages and liabilities asserted by third parties (including claims for negligence) which arise directly or indirectly from the use of the Software or the sale of any products based on the Software.

No part of the Software may be reproduced, modified, transmitted or transferred in any form or by any means, electronic or mechanical, without the express permission of the University. The permission of the University is not required if the said reproduction, modification, transmission or transference is done without financial return, the conditions of this Licence are imposed upon the receiver of the product, and all original and amended source code is included in any transmitted product. You may be held legally responsible for any copyright infringement that is caused or encouraged by your failure to abide by these terms and conditions.

You are not permitted under this Licence to use this Software commercially. Use for which any financial return is received shall be defined as commercial use, and includes (1) integration of all or part of the source code or the Software into a product for sale or license by or on behalf of Licensee to third parties or (2) use of the Software or any derivative of it for research with the final aim of developing software products for sale or license to a third party or (3) use of the Software or any derivative of it for research with the final aim of developing non-software products for sale or license to a third party, or (4) use of the Software to provide any service to an external organisation for which payment is received. If you are interested in using the Software commercially, please contact Daniel Lawson ([email protected]) to negotiate a license.

10 changes: 10 additions & 0 deletions recipes/finestructure/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

mkdir -p $PREFIX/bin

./configure --prefix=$PREFIX && make && make install

# support scripts
cp scripts/{beagle2chromopainter.pl,chromopainter2chromopainterv2.pl,convertrecfile.pl} $PREFIX/bin/
cp scripts/{impute2chromopainter.pl,makeuniformrecfile.pl,msms2cp.pl,phasescreen.pl} $PREFIX/bin/
cp scripts/{phasesubsample.pl,plink2chromopainter.pl} $PREFIX/bin/
49 changes: 49 additions & 0 deletions recipes/finestructure/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% set variant = "openblas" %}

package:
name: finestructure
version: '2.1.3'

source:
url: https://people.maths.bris.ac.uk/~madjl/finestructure/fs-2.1.3.tar.gz
sha256: f771ee6795b2ce6a5032412b3f856598c3c37308f722ddfcb62174baaf7779f2
patches:
- noSwitch.patch

build:
number: 0
skip: true # [win]

requirements:
build:
- {{ compiler('cxx') }}
- patch
host:
- gsl
- zlib
- perl
# Force openblas here to ensure that we use GSL from conda-forge
# Following the conventions from the scipy feedstock. See below in 'run' also.
- blas 1.1 {{ variant }} # [unix]
- openblas # [unix]
run:
- gsl
- zlib
- perl
- blas 1.1 {{ variant }} # [unix]
- openblas # [unix]

about:
home: https://people.maths.bris.ac.uk/~madjl/finestructure/finestructure.html
license: OTHER
license_file: LICENSE-FS
summary: 'fineSTRUCTURE is a fast and powerful algorithm for identifying population structure using dense sequencing data.'

test:
commands:
- fs --help >> /dev/null

extra:
identifiers:
- biotools:fineSTRUCTURE
- doi:10.1371/journal.pgen.1002453
Loading