diff --git a/recipes/pyvcf/LICENSE b/recipes/pyvcf/LICENSE new file mode 100644 index 0000000000000..f37927b3a4f07 --- /dev/null +++ b/recipes/pyvcf/LICENSE @@ -0,0 +1,46 @@ +Copyright (c) 2011-2012, Population Genetics Technologies Ltd, All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the Population Genetics Technologies Ltd nor the names of +its contributors may be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +Copyright (c) 2011 John Dougherty + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/recipes/pyvcf/meta.yaml b/recipes/pyvcf/meta.yaml new file mode 100644 index 0000000000000..54bbb8bfa0822 --- /dev/null +++ b/recipes/pyvcf/meta.yaml @@ -0,0 +1,55 @@ +{% set name = "PyVCF" %} +{% set version = "0.6.8" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: e9d872513d179d229ab61da47a33f42726e9613784d1cb2bac3f8e2642f6f9d9 + +build: + # do not use noarch: setup.py use_2to3=true + number: 0 + script: python -m pip install --no-deps --ignore-installed . + +requirements: + host: + - python + - pip + run: + - python + +test: + imports: + - vcf + +about: + home: https://github.com/jamescasbon/PyVCF + license: BSD-3-Clause + license_family: BSD + license_file: LICENSE + summary: 'A Variant Call Format (VCF) v4.0 and v4.1 parser for Python.' + + description: | + The intent of this module is to mimic the csv module in + the Python stdlib, as opposed to more flexible serialization + formats like JSON or YAML. vcf will attempt to parse the + content of each record based on the data types specified in + the meta-information lines -- specifically the \##INFO and \##FORMAT + lines. If these lines are missing or incomplete, it will check + against the reserved types mentioned in the spec. Failing + that, it will just return strings. + doc_url: http://pyvcf.readthedocs.io + dev_url: https://github.com/jamescasbon/PyVCF + +extra: + recipe-maintainers: + - acaprez + - bgruening + - corburn + - kyleabeauchamp + - pvanheus + - PertuyF + - sodre