Skip to main content

Client Reference

Commands and options supported by the Score client.

Download

  • The download command retrieves file object(s) from the remote storage repository.

  • Usage: score-client download [OPTIONS]

    OptionDescription
    --analysis-idDownload files for a specific Song analysis ID
    --forceForce re-download of existing file (overrides local file)
    --indexAlso download file index if available
    --lengthLimit number of bytes to download (default: entire file)
    --manifestDownload files based on manifest file ID, URL, or path
    --object-idDownload a specific file object ID
    --offsetStarting byte position for download (default: 0)
    --output-dirPath to download directory
    --output-layoutLayout of output directory (bundle, filename, or id)
    --program-idDownload files for a specific Song program ID
    --study-idDownload files for a specific Song study ID
    --validatePerform MD5 checksum validation if available
    --verify-connectionVerify connection to object storage repository first

Help

  • The help command displays detailed information about Score client commands and options.

Info

  • The info command shows active configuration details of the Score client.

  • Usage: score-client info [OPTIONS]

    OptionDescription
    --verboseDisplay all Score client configuration properties

Manifest

  • The manifest command shows entries of a specific Score manifest file.

  • Usage: score-client manifest [OPTIONS]

    OptionDescription
    --manifestManifest file ID, URL, or path to display

Mount

  • The mount command provides a read-only FUSE filesystem view of the object storage repository.

  • Usage: score-client mount [OPTIONS]

    OptionDescription
    --cache-metadataCache metadata on local disk for faster load times
    --daemonizeRun mount point in background
    --layoutMount point directory layout (bundle or object-id)
    --manifestManifest file to mount contents for
    --mount-pointFUSE file system mount point
    --optionsAdditional file system mount options
    --verify-connectionVerify connection to object storage repository first

Upload

  • The upload command sends file object(s) to the remote storage repository.

  • Usage: score-client upload [OPTIONS]

    OptionDescription
    --filePath to specific file for upload
    --forceForce re-upload of existing file (overrides repository file)
    --manifestUpload files using manifest file ID, URL, or path
    --md5MD5 checksum of file to upload
    --object-idUpload specific file by object ID
    --validatePerform MD5 checksum validation if available
    --verify-connectionVerify connection to object storage repository first

Url

  • The url command reveals the URL of a specific file object in the storage repository.

  • Usage: score-client url [OPTIONS]

    OptionDescription
    --object-idObject ID of file to display URL for

Version

  • The version command provides current version details of the Score client.

View

  • The view command stores locally and showcases a SAM or BAM file.

  • Usage: score-client view [OPTIONS]

    OptionDescription
    --bed-queryBED format file with ranges to query (overrides --query)
    --containedOutput alignments completely contained in specified region
    --header-onlyOutput only the SAM/BAM file header
    --input-fileLocal path to BAM file for querying
    --input-file-indexLocal path to index file (requires --input-file)
    --manifestManifest file for querying object IDs and ranges
    --object-idSpecific object ID to download slice from
    --output-fileName of output file
    --output-formatOutput file format (SAM or BAM)
    --output-dirPath to output directory (with --manifest)
    --output-indexWrite index files to output (with --manifest)
    --output-original-headerOutput entire original header
    --output-typeStructure of output file (CROSS, MERGED, or TRIMMED)
    --queryQuery for BAM file content extraction (coordinate format)
    --reference-fileLocal path to FASTA file for CRAM decoding
    --stdoutSend output to stdout (forces SAM format)
    --verify-connectionVerify connection to object storage repository first

Additional Options

Additional option flags available for the score-client executable:

OptionDescription
--profileDefine specific environment profile for configuration
--quietRun client in quiet mode with minimal info messages
--silentRun client in silent mode without any info messages

Need Help?

If you encounter any issues or have questions, please don't hesitate to reach out through our relevant community support channels