Skip to content

Use basespace CLI in download app#25

Merged
aydemiro merged 10 commits into
masterfrom
basespace-download-v2
Feb 28, 2022
Merged

Use basespace CLI in download app#25
aydemiro merged 10 commits into
masterfrom
basespace-download-v2

Conversation

@arisp99

@arisp99 arisp99 commented Feb 25, 2022

Copy link
Copy Markdown
Member

This PR creates a new basespace download app that uses the official basespace CLI. This PR supersedes the work in #13 and introduces one large change. Namely, in order to maintain backward compatibility, we supersede the original download app that uses a python script for downloading data. Users may, therefore, still use the old download app.

Closes #8.

@arisp99

arisp99 commented Feb 25, 2022

Copy link
Copy Markdown
Member Author

Below we provide a comparison of the output directory file structure. The file structure is almost identical with the only differences being a nohop.out file with download progress and a .json file with metadata about the sequencing run. These differences will not make a difference in subsequent steps such as demultiplexing.

Superseded app:

new_download_app
└── 214264108
    ├── 210923_214264108.json
    ├── Config
    ├── Data
    ├── InstrumentAnalyticsLogs
    ├── InterOp
    ├── Logs
    ├── Recipe
    ├── RTAComplete.txt
    ├── RTAConfiguration.xml
    ├── RTALogs
    ├── RTARead1Complete.txt
    ├── RTARead2Complete.txt
    ├── RTARead3Complete.txt
    ├── RTARead4Complete.txt
    ├── RunCompletionStatus.xml
    ├── RunInfo.xml
    ├── RunParameters.xml
    └── SampleSheet.csv

8 directories, 11 files

New download app:

superseded_download_app
├── 214264108
│   ├── Config
│   ├── Data
│   ├── InstrumentAnalyticsLogs
│   ├── InterOp
│   ├── Logs
│   ├── Recipe
│   ├── RTAComplete.txt
│   ├── RTAConfiguration.xml
│   ├── RTALogs
│   ├── RTARead1Complete.txt
│   ├── RTARead2Complete.txt
│   ├── RTARead3Complete.txt
│   ├── RTARead4Complete.txt
│   ├── RunCompletionStatus.xml
│   ├── RunInfo.xml
│   ├── RunParameters.xml
│   └── SampleSheet.csv
└── nohup.out

8 directories, 11 files

@arisp99 arisp99 marked this pull request as ready for review February 25, 2022 20:35
Comment thread MIPTools.def
scp /opt/programs/parasight_v7.6/parasight.pl /opt/bin/parasight76.pl

# install basespace cli
BS_PATH="https://launch.basespace.illumina.com/CLI/latest/amd64-linux/bs"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of downloading the latest version of the CLI tool, we can specify the version number by replacing latest with a version number. The available versions can be found here.

Comment thread MIPTools.def Outdated
Checks if `run_id` is unset and writes the help page to `stderr`.
Comment thread MIPTools.def Outdated
Comment thread MIPTools.def Outdated
Comment thread MIPTools.def Outdated
Comment thread MIPTools.def Outdated
@aydemiro aydemiro merged commit 6799d84 into master Feb 28, 2022
@aydemiro aydemiro deleted the basespace-download-v2 branch February 28, 2022 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Downloading data from BaseSpace

2 participants