BD2KGenomics / toil-rnaseq

UC Santa Cruz Computational Genomics Lab's Toil-based RNA-seq pipeline
Apache License 2.0
40 stars 10 forks source link

command not found #178

Closed cynthia143234 closed 5 years ago

cynthia143234 commented 5 years ago

Hi,

I used a cloud system to install toil-rnaseq under python 2.7 and activate it. However, when I'm trying to generate the index and run samples, the errors always occur as follow. Do you know what's the problem of it? (toil-rnaseq) [xxx@quserxx yue]$ toil-rnaseq run -h -bash: toil-rnaseq: command not found

Best, Yue

jvivian commented 5 years ago

Hi @cynthia143234 — This indicates to me that the toil-rnaseq package did not get installed. Can you post the commands you used to setup the virtualenv (if any) and how you installed the package?

cynthia143234 commented 5 years ago

Hi @jvivian I used Quest system to do it. The commands are as follow: " module load python/anaconda conda create --no-default-packages -n toil-rnaseq python=2.7 source activate toil-rnaseq pip install toil-rnaseq"

jvivian commented 5 years ago

@cynthia143234 — That looks correct to me. Once you run pip install toil-rnaseq you should be able to access the toil-rnaseq entrypoint. I just tried the following commands on my local laptop and it worked.

conda create --no-default-packages -n toil-rnaseq python=2.7
source activate toil-rnaseq
pip install toil-rnaseq

toil-rnaseq

usage: toil-rnaseq [-h] {generate,config-input,manifest-input,run} ...

                        Toil RNA-seq Workflow
    Computational Genomics Lab, Genomics Institute, UC Santa Cruz

    RNA-seq samples are trimmed, QCed, combined, aligned, and quantified:
        - CutAdapt
        - FastQC
        - STAR -> RSEM
        - Kalisto
        - Hera

    Quickstart:
    1. Type `toil-rnaseq generate` to create an editable manifest and config.
    2. Parameterize the workflow by editing the config.
    3. Fill in the manifest with information pertaining to your samples.
    4. Type `toil-rnaseq run ./jobStore` to execute the workflow locally.

    Please read the README before use and check the github wiki for additional details:
    https://github.com/BD2KGenomics/toil-scripts/tree/master/src/toil_scripts/rnaseq_cgl

positional arguments:
  {generate,config-input,manifest-input,run}
    generate            Generates a config and manifest in the current working directory.
    config-input        Allows user to configure workflow by following prompts.
    manifest-input      Allows user to input samples to the manifest by following prompts.
    run                 Runs the Toil RNA-seq workflow

optional arguments:
  -h, --help            show this help message and exit
jvivian commented 5 years ago

@cynthia143234 — I'm going to close this as I can't reproduce the issue in an isolated environment.