-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new recipe for finestructure (#13707)
- Loading branch information
Showing
5 changed files
with
408 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 (ghellenthal@gmail.com), Simon Myers (myers@stats.ox.ac.uk), or Daniel Falush (danielfalush@googlemail.com), to negotiate a license. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 (dan.lawson@bristol.ac.uk) to negotiate a license. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.