Dear all, I have an account on Illumina basespace and my Run is completed.

Now I want to download the entire run and run bcl2fastq conversion myself. I tried the approaches (my system is mac) mentioned [here][1] but I have not been successful to make the download happen.

Everytime I get this error when running executable bs command: ```ERROR: *** stat /Users/.basespace: no such file or directory ***```

Could you please give some input about how I can do it? Thanks


  [1]: https://developer.basespace.illumina.com/docs/content/documentation/cli/cli-overview
Hi,
You must have downloaded the cmdline utility bs.
The first step is to authenticate your executable.
You probably have done this (?)

    $ ./bs auth

When you do that, a unique URL is printed on the cmdline, which you then need to copy into your browser. You are then presented with the sign-in portal of Illumina basespace. Provided that you have had created a log-in already, you need to sign-in. Once you do that, a welcome msg gets printed on the cmdline, saying like "Welcome username".

You are then ready to go. If authentication happened successfully, then under your home directory a file would have been created. It would look like -

    $ cat /home/user/.basespace/default.cfg
    apiServer   = https://api.basespace.illumina.com
    accessToken = xxxxxxx54343b3xxxxxa5exxx

Then, you can list out the project thats available in your Ilmn BaseSpace dir. for downloading by doing -

    $ ./bs list project
    +----------------------------------------------------+-----------+-------------+
    |                        Name                        |    Id     |  TotalSize  |
    +----------------------------------------------------+-----------+-------------+
    | 22.10.04_my_prj_xxxxx1_2022-10-04T09_02_03_1xxx137 | 36xxxxxx4 | 36618128088 |
    +----------------------------------------------------+-----------+-------------+

The number under the Id header could then be used to download all fastq under that project. Like -

    ./bs \
    download \
    project -i 36xxxxxx4


