# Files

## Upload

Upload a physical local file to one specific study in OpenCGA.

| Name           | Usage                                                                               |
| -------------- | ----------------------------------------------------------------------------------- |
| -i --input     | Input file                                                                          |
| -s --study     | Study \[\[user@]project:]study where study and project can be either the ID or UUID |
| --catalog-path | Path within catalog where the file will be located                                  |
| --file-name    | Name of the file by which it will be stored in catalog                              |
| --description  | Description of the file                                                             |
| --bioformat    | Bioformat of the file (VARIANT, ALIGNMENT, SEQUENCE, PEDIGREE...NONE)               |
| --file-format  | Format of the file (VCF, BCF, GVCF, SAM, BAM, BAI...UNKNOWN)                        |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opencga.opencb.org/develop-2/manual/using-opencga/command-line/files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
