dpeerlab / seqc

Single-Cell Sequencing Quality Control and Processing Software
GNU General Public License v2.0
16 stars 6 forks source link

Error- botocore.exceptions.NoRegionError: You must specify a region. #15

Closed ritututeja closed 3 years ago

ritututeja commented 3 years ago

Describe the bug botocore.exceptions.NoRegionError: You must specify a region.

To Reproduce Steps to reproduce the behavior:

  1. Dockerized seqc for integrating as an app in CyVerse Discovery Environment.
  2. docker run --rm reetututeja/seqc:0.21 SEQC index -h
  3. Also tried with the sample dataset- docker run --rm reetututeja/seqc:0.21 SEQC index --organism homo_sapiens --ensemble-release 93 --valid-biotypes protein_coding lincRNA antisense IG_V_gene IG_D_gene IG_J_gene IG_C_gene TR_V_gene TR_D_gene TR_J_gene TR_C_gene --read-length 101 --folder index --local

Expected behavior I am trying seqc with the sample dataset provided on this github repo

Screenshots

Screen Shot 2021-06-01 at 4 12 12 PM

Assay

Runtime Environment

Additional context Add any other context about the problem here.

hisplan commented 3 years ago

Hi,

Sorry for the late reply. You can find the pre-built dockerized SEQC here: https://github.com/dpeerlab/seqc-docker

About the error you mentioned: Even though SEQC can run locally using the --local parameter, SEQC was actually designed to run on AWS, thus you see that error message NoRegionError: You must specify a region even though you're trying to run it locally. The trick is that you can just set any AWS region of your choice to ignore that message. For example:

export AWS_DEFAULT_REGION=us-east-1

For Docker, you can do something like this:

docker run -it --rm -e AWS_DEFAULT_REGION=us-east-1 hisplan/seqc:0.2.7

I hope that helps. Closing this. Feel free to reopen if you still have issues.

Thanks!