This is a test version of Biostars. For the public version, visit https://www.biostars.org.
gdc-client command line error

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

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!

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

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?

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

1 answer

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.

Log in to answer this question.