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

Updated installation guide with steps for windows #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
VCF-formatted files are the lingua franca of next-generation sequencing, whereas [HL7 FHIR](https://www.hl7.org/fhir/) is emerging as a standard language for electronic health record interoperability. A growing number of clinical genomics applications are emerging, based on the [HL7 FHIR Genomics standard](http://hl7.org/fhir/uv/genomics-reporting/index.html). Here, we provide an open source utility for converting variants from VCF format into HL7 FHIR Genomics format. Details of the translation logic are on the [manual page](docs/Manual.md). Additional information and case studies are described in our [BMC Bioinformatics article](https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-021-04039-1). Conceptually, the utility takes a VCF as input and outputs a [FHIR Genomics report](http://hl7.org/fhir/uv/genomics-reporting/index.html).

### Install
Install and add [Ubuntu WSL](https://www.microsoft.com/en-in/p/ubuntu-1804-lts/9n9tngvndl3q?rtc=1&activetab=pivot:overviewtab) to the [windows terminal](https://www.microsoft.com/en-in/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab). (Only for windows users!)

Comment on lines +8 to +9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-requisite

Windows
  • vcf2fhir is supported only on Unix and Linux systems. To run it on windows install Ubuntu WSL.

vcf2hfir

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need: add to the windows terminal in the document? Are there special steps required to add it to the terminal? If yes, we should list that instead of just a statement.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also wanted to investigate why does user needs to install pip install cython wheel, but I never got enough time. Can you help look at this too?
I think we are missing something in our build process. cython and wheel should only be needed for running from the source. If people are downloading from pip they should get the compiled binary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @srgothi92,

Do we need: add to the windows terminal in the document? Are there special steps required to add it to the terminal? If yes, we should list that instead of just a statement.

Should I add this link for the steps to add Ubuntu WSL to the windows terminal?

why does user needs to install pip install cython wheel

I checked this one, and I think it is a requirement for pyrle. When I tried installing vcf2fhir in a virtual environment without installing cython wheel I received the following error:

Screenshot 2021-06-13 at 9 58 30 PM

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I add this link for the steps to add Ubuntu WSL to the windows terminal?

Without these steps, you can't use WSL?

I checked this one, and I think it is a requirement for pyrle.

That's strange. What happens if you try to pip install pyranges do we get the same error? If not, then it's strange that we get this error. If we do get an errr, we should check with pyranges developer.

Copy link
Contributor Author

@Rohan-cod Rohan-cod Jun 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we open an issue on pyranges and see what the maintainer has to say.

I just looked at the open issues in pyranges and they seem to be working on this one(here). In that issue, there is a mention of this pull request in sorted_nearest. That pull request adds the build-time requirements for the package. Should we similarly add setuptools, Cython, and Wheel as build-time requirements for vcf2fhir or wait for pyranges to be updated?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That pull request adds the build-time requirements for the package. Should we similarly add setuptools, Cython, and Wheel as build-time requirements for vcf2fhir or wait for pyranges to be updated?

Sure, you can try that if it works and open an issue in our repository to fix it later when it is addressed upstream.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay I was finally able to find some time and install vcf2fhir on my windows machine using WSL. However, with this issue I was looking to install vcf2fhir natively on windows. I tried pysam and it install fine on windows with conda packaging. May be we should try conda package on windows instead of suggesting WSL path.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be we should try conda package on windows instead of suggesting WSL path.

Sure, I will try installing vcf2fhir via conda once it gets deployed on the bioconda channel. :)

Copy link
Contributor

@srgothi92 srgothi92 Jun 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I will try installing vcf2fhir via conda once it gets deployed on the bioconda channel. :)

Before publishing to biconda channel we should first test with our personal channel similar to what we do with test pypi.

Before installing vcf2fhir you need to install cython and wheel.
```
pip install cython wheel
Expand Down
2 changes: 2 additions & 0 deletions docs/QUICKSTART.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Installation

Installing vcf2fhir is pretty simple. Here is a step by step plan on how to do it.

Install and add `Ubuntu WSL <https://www.microsoft.com/en-in/p/ubuntu-1804-lts/9n9tngvndl3q?rtc=1&activetab=pivot:overviewtab>`_ to the `windows terminal <https://www.microsoft.com/en-in/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab>`_. (Only for windows users!)

.. note::
vcf2fhir is available on Pypi as ``vcf2fhir``.

Expand Down