gdc-client command line error
1
1
Entering edit mode
2.1 years ago

OS: Monterey 12.4 Apple M1

gdc-client: gdc-client_v1.6.1_OSX_x64

When I open gdc-client command line tool using terminal, without typing in any command, it pops out the following:

/Users/***/gdc-client ; exit;
(base) ***@*** ~ % /Users/***/gdc-client ; exit;
usage: gdc-client [-h] [--version] {download,upload,settings} ...

The Genomic Data Commons Command Line Client

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit

commands:
  {download,upload,settings}
                        for more information, specify -h after a command
    download            download data from the GDC
    upload              upload data to the GDC
    settings            display default settings

gdc-client error: the following arguments are required: command

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Can anyone figure out how "gdc-client error: the following arguments are required: command" should be solved.

Thank you all!!!

ps: I successfully downloaded data using gdc-client a few days ago.

line GDC TCGA command • 1.9k views
ADD COMMENT
0
Entering edit mode

Hello, could I please ask how you downloaded the data using gdc-client? When I try to use gdc-client command, but I am getting the error: zsh: command not found: gdc-client.

Thank you!

ADD REPLY
0
Entering edit mode

Hello, how did you solve this problem? I'm encountering the same thing.

ADD REPLY
0
Entering edit mode

I am also getting the same error message of command not found: gdc-client in Terminal in macOS. How were you able to download data using gdc-client and a manifest in Terminal?

ADD REPLY
0
Entering edit mode

That means it is not in PATH. Please google to learn what PATH is and how to add binaries to it.

ADD REPLY
0
Entering edit mode
2.1 years ago
ATpoint 85k

It's not an error, you simply hav to tell the tool what to do, usage: gdc-client [-h] [--version] {download,upload,settings}, any of download, upload, settings.

ADD COMMENT

Login before adding your answer.

Traffic: 2049 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6