Rosemeis / pcangsd

Framework for analyzing low depth NGS data in heterogeneous populations using PCA.
GNU General Public License v3.0
46 stars 11 forks source link

Packaging in Conda #79

Open lecorguille opened 11 months ago

lecorguille commented 11 months ago

Dear @Rosemeis,

Can you consider to package pcangsd in Bioconda?

Conda (through Bioconda) is the solution for the FAIRness of your tool. I could have done it myself but I lake some spare time curently. But I can help you if needed, let me know! BTW, you will see that it's really simple regarding the few dependencies of pcangsd.

lecorguille commented 11 months ago

Oh, and https://bio.tools/ is worth to consider to :)

pdimens commented 1 month ago

I second this. Can help create recipe on bioconda if needed

pdimens commented 1 month ago

@Rosemeis the recipe would look something like:

{% set version = "" %}
{% set sha256 = "" %}

package:
  name: pcangsd
  version: '{{ version }}'

source:
  url:  https://github.com/Rosemeis/pcangsd/archive/refs/tags/v{{ version }}.tar.gz
  sha256: '{{ sha256 }}'

build:
  number: 0
  run_exports:
    - {{ pin_subpackage('pcangsd', max_pin="x.x") }}
  script: ${PYTHON} -m pip install . --no-deps -vvv
requirements:
  build:
    - {{ compiler('cxx') }}
  host:
    - python
    - pip
  run:
    - python
    - numpy
    - scipy
    - cython

test:
  commands:
    - "pcangsd -h"

about:
  home: "https://github.com/Rosemeis/pcangsd/"
  license: GPL-3.0-or-later
  license_family: GPL3
  license_file: LICENSE
  summary: "Framework for analyzing low-depth next-generation sequencing (NGS) data in heterogeneous/structured populations using principal component analysis (PCA)."
  doc_url: https://github.com/Rosemeis/pcangsd/
  dev_url: https://github.com/Rosemeis/pcangsd/

extra:
  recipe-maintainers:
    - Rosemeis