cloudos-cli 2.60.2__tar.gz → 2.60.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/PKG-INFO +176 -96
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/README.md +175 -95
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/__main__.py +20 -150
- cloudos_cli-2.60.4/cloudos_cli/_version.py +1 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/clos.py +88 -37
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/jobs/job.py +18 -2
- cloudos_cli-2.60.4/cloudos_cli/utils/details.py +307 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli.egg-info/PKG-INFO +176 -96
- cloudos_cli-2.60.2/cloudos_cli/_version.py +0 -1
- cloudos_cli-2.60.2/cloudos_cli/utils/details.py +0 -66
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/LICENSE +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/configure/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/configure/configure.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/datasets/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/datasets/datasets.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/import_wf/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/import_wf/import_wf.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/jobs/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/link/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/link/link.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/logging/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/logging/logger.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/procurement/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/procurement/images.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/queue/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/queue/queue.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/utils/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/utils/array_job.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/utils/cloud.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/utils/errors.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/utils/last_wf.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/utils/requests.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli/utils/resources.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli.egg-info/SOURCES.txt +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli.egg-info/dependency_links.txt +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli.egg-info/entry_points.txt +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli.egg-info/requires.txt +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/cloudos_cli.egg-info/top_level.txt +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/setup.cfg +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/setup.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/tests/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/tests/functions_for_pytest.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/tests/test_cli_project_create.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/tests/test_logging/__init__.py +0 -0
- {cloudos_cli-2.60.2 → cloudos_cli-2.60.4}/tests/test_logging/test_logger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cloudos_cli
|
|
3
|
-
Version: 2.60.
|
|
3
|
+
Version: 2.60.4
|
|
4
4
|
Summary: Python package for interacting with CloudOS
|
|
5
5
|
Home-page: https://github.com/lifebit-ai/cloudos-cli
|
|
6
6
|
Author: David Piñeyro
|
|
@@ -43,60 +43,73 @@ Python package for interacting with CloudOS
|
|
|
43
43
|
|
|
44
44
|
## Table of Contents
|
|
45
45
|
|
|
46
|
-
- [
|
|
47
|
-
- [
|
|
48
|
-
- [
|
|
49
|
-
- [
|
|
50
|
-
|
|
51
|
-
- [
|
|
52
|
-
- [
|
|
53
|
-
- [
|
|
54
|
-
- [
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
- [
|
|
59
|
-
|
|
60
|
-
- [
|
|
61
|
-
- [
|
|
62
|
-
- [
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
- [
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
- [
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
- [
|
|
96
|
-
|
|
97
|
-
- [
|
|
98
|
-
|
|
99
|
-
- [
|
|
46
|
+
- [cloudos-cli](#cloudos-cli)
|
|
47
|
+
- [Table of Contents](#table-of-contents)
|
|
48
|
+
- [Requirements](#requirements)
|
|
49
|
+
- [Installation](#installation)
|
|
50
|
+
- [From PyPI](#from-pypi)
|
|
51
|
+
- [Docker Image](#docker-image)
|
|
52
|
+
- [From Github](#from-github)
|
|
53
|
+
- [Usage](#usage)
|
|
54
|
+
- [Configuration](#configuration)
|
|
55
|
+
- [Configure Default Profile](#configure-default-profile)
|
|
56
|
+
- [Configure Named Profile](#configure-named-profile)
|
|
57
|
+
- [Change the Default Profile](#change-the-default-profile)
|
|
58
|
+
- [List Profiles](#list-profiles)
|
|
59
|
+
- [Remove Profile](#remove-profile)
|
|
60
|
+
- [Commands](#commands)
|
|
61
|
+
- [Configure](#configure)
|
|
62
|
+
- [Project](#project)
|
|
63
|
+
- [List Projects](#list-projects)
|
|
64
|
+
- [Create Projects](#create-projects)
|
|
65
|
+
- [Queue](#queue)
|
|
66
|
+
- [List Queues](#list-queues)
|
|
67
|
+
- [Workflow](#workflow)
|
|
68
|
+
- [List All Available Workflows](#list-all-available-workflows)
|
|
69
|
+
- [Import a Nextflow Workflow](#import-a-nextflow-workflow)
|
|
70
|
+
- [Nextflow Jobs](#nextflow-jobs)
|
|
71
|
+
- [Submit a Job](#submit-a-job)
|
|
72
|
+
- [Get Job Logs](#get-job-logs)
|
|
73
|
+
- [Get Job Results](#get-job-results)
|
|
74
|
+
- [Clone or Resume job](#clone-or-resume-job)
|
|
75
|
+
- [Query working directory of job](#query-working-directory-of-job)
|
|
76
|
+
- [Abort single or multiple jobs from CloudOS](#abort-single-or-multiple-jobs-from-cloudos)
|
|
77
|
+
- [Abort Jobs](#abort-jobs)
|
|
78
|
+
- [Check Job Status](#check-job-status)
|
|
79
|
+
- [Get Job Details](#get-job-details)
|
|
80
|
+
- [Get Job Workdir](#get-job-workdir)
|
|
81
|
+
- [List Jobs](#list-jobs)
|
|
82
|
+
- [Bash Jobs](#bash-jobs)
|
|
83
|
+
- [Send Array Job](#send-array-job)
|
|
84
|
+
- [Submit a Bash Array Job](#submit-a-bash-array-job)
|
|
85
|
+
- [Options](#options)
|
|
86
|
+
- [Array File](#array-file)
|
|
87
|
+
- [Separator](#separator)
|
|
88
|
+
- [List Columns](#list-columns)
|
|
89
|
+
- [Array File Project](#array-file-project)
|
|
90
|
+
- [Disable Column Check](#disable-column-check)
|
|
91
|
+
- [Array Parameter](#array-parameter)
|
|
92
|
+
- [Custom Script Path](#custom-script-path)
|
|
93
|
+
- [Custom Script Project](#custom-script-project)
|
|
94
|
+
- [Use multiple projects for files in `--parameter` option](#use-multiple-projects-for-files-in---parameter-option)
|
|
95
|
+
- [Datasets](#datasets)
|
|
96
|
+
- [List Files](#list-files)
|
|
97
|
+
- [Move Files](#move-files)
|
|
98
|
+
- [Rename Files](#rename-files)
|
|
99
|
+
- [Copy Files](#copy-files)
|
|
100
|
+
- [Link S3 Folders to Interactive Analysis](#link-s3-folders-to-interactive-analysis)
|
|
101
|
+
- [Create Folder](#create-folder)
|
|
102
|
+
- [Remove Files or Folders](#remove-files-or-folders)
|
|
103
|
+
- [Procurement](#procurement)
|
|
104
|
+
- [List Procurement Images](#list-procurement-images)
|
|
105
|
+
- [Set Procurement Organization Image](#set-procurement-organization-image)
|
|
106
|
+
- [Reset Procurement Organization Image](#reset-procurement-organization-image)
|
|
107
|
+
- [Cromwell and WDL Pipeline Support](#cromwell-and-wdl-pipeline-support)
|
|
108
|
+
- [Manage Cromwell Server](#manage-cromwell-server)
|
|
109
|
+
- [Run WDL Workflows](#run-wdl-workflows)
|
|
110
|
+
- [Python API Usage](#python-api-usage)
|
|
111
|
+
- [Running WDL pipelines using your own scripts](#running-wdl-pipelines-using-your-own-scripts)
|
|
112
|
+
- [Unit Testing](#unit-testing)
|
|
100
113
|
|
|
101
114
|
---
|
|
102
115
|
|
|
@@ -805,36 +818,57 @@ cloudos job details --profile my_profile --job-id 62c83a1191fe06013b7ef355
|
|
|
805
818
|
```bash
|
|
806
819
|
cloudos job details \
|
|
807
820
|
--profile job-details \
|
|
808
|
-
--job-id
|
|
821
|
+
--job-id 68bf2178b4ae9f283ea8a0bf
|
|
809
822
|
```
|
|
810
823
|
|
|
811
824
|
The expected output should be something similar to when using the defaults and the details are displayed in the standard output console:
|
|
812
825
|
|
|
813
826
|
```console
|
|
814
827
|
Executing details...
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
┃ Field ┃ Value
|
|
818
|
-
|
|
819
|
-
│
|
|
820
|
-
│
|
|
821
|
-
│
|
|
822
|
-
│
|
|
823
|
-
│
|
|
824
|
-
│
|
|
825
|
-
│
|
|
826
|
-
│
|
|
827
|
-
│
|
|
828
|
-
│
|
|
829
|
-
│
|
|
830
|
-
│
|
|
831
|
-
│
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
828
|
+
Job Details
|
|
829
|
+
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|
830
|
+
┃ Field ┃ Value ┃
|
|
831
|
+
┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
|
832
|
+
│ Status │ completed │
|
|
833
|
+
│ Name │ mutSign_vcf_prep_genome_chart_non_resumable │
|
|
834
|
+
│ Project │ DB-PR-testing │
|
|
835
|
+
│ Owner │ Name Surname │
|
|
836
|
+
│ Pipeline │ MutSign │
|
|
837
|
+
│ ID │ 68bf2178b4ae9f283ea8a0bf │
|
|
838
|
+
│ Submit time │ 2025-09-08 18:34:26 │
|
|
839
|
+
│ End time │ 2025-09-08 18:38:26 │
|
|
840
|
+
│ Run time │ 4m 0s │
|
|
841
|
+
│ Commit │ 11fea740366b92b2858349b764879792272f2996 │
|
|
842
|
+
│ Cost │ $0.2515 │
|
|
843
|
+
│ Master Instance │ c5.xlarge │
|
|
844
|
+
│ Storage │ 500 GB │
|
|
845
|
+
│ Job Queue ID │ nextflow-job-queue-5c6d3e9bd954e800b23f8c62-f7386cc5-cbdf-40e7-b379 │
|
|
846
|
+
│ Job Queue Name │ v41 │
|
|
847
|
+
│ Task Resources │ 1 CPUs, 4 GB RAM' │
|
|
848
|
+
│ Pipeline url │ https://github.com/lifebit-ai/mutational-signature-nf │
|
|
849
|
+
│ Nextflow Version │ 22.10.8 │
|
|
850
|
+
│ Execution Platform │ Batch AWS │
|
|
851
|
+
│ Accelerated File Staging │ False │
|
|
852
|
+
│ Parameters │ --snv_indel=lifebit-user-data-106c12d2-cf8f-446c-b77e-661d697c833c/deploit/teams/5c6d │
|
|
853
|
+
│ │ 3e9bd954e800b23f8c62/users/6329e3bd3c0e00014641eeea/projects/655cc29778391a7e1901a5b7 │
|
|
854
|
+
│ │ /jobs/68810fda9b301f037d38c4be/results/results/W0000664B01_W0000665B01/W0000664B01_W0 │
|
|
855
|
+
│ │ 000665B01_filtered.vcf.gz │
|
|
856
|
+
│ │ --sv=lifebit-user-data-f60fc49a-9081-417e-a4fc-03c52de4c820/deploit/teams/5c6d3e9bd95 │
|
|
857
|
+
│ │ 4e800b23f8c62/users/669a9dfe474e319e71685421/projects/66d864817afbdfa1d4515d56/jobs/6 │
|
|
858
|
+
│ │ 8763aac9e7fe38ec6e9236d/results/results/manta/W0000665B01-W0000664B01/somaticSV_annot │
|
|
859
|
+
│ │ ation.vcf.gz │
|
|
860
|
+
│ │ --cnv=lifebit-user-data-106c12d2-cf8f-446c-b77e-661d697c833c/deploit/teams/5c6d3e9bd9 │
|
|
861
|
+
│ │ 54e800b23f8c62/users/6329e3bd3c0e00014641eeea/projects/655cc29778391a7e1901a5b7/jobs/ │
|
|
862
|
+
│ │ 687f5b383e05673d74aab1b9/results/W0000664B01_vs_W0000665B01/W0000664B01.copynumber.ca │
|
|
863
|
+
│ │ veman.csv │
|
|
864
|
+
│ │ --sample_name=W0000664B01 │
|
|
865
|
+
│ Profile │ None │
|
|
866
|
+
└──────────────────────────┴───────────────────────────────────────────────────────────────────────────────────────┘
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
To change this behaviour and save the details into a local CSV or JSON, the parameter `--output-format` needs to be set as `--output-format=json` or `--output-format=csv`.
|
|
870
|
+
|
|
871
|
+
By default, all details are saved in a file with the basename as `{job_id}_details`, for example `68bf2178b4ae9f283ea8a0bf_details.json` or `68bf2178b4ae9f283ea8a0bf_details.config.`. This can be changed with the parameter `--output-basename=new_filename`.
|
|
838
872
|
|
|
839
873
|
The `details` subcommand, can also take `--parameters` as an argument flag, which will create a new file `*.config` that holds all parameters as a Nexflow configuration file, example:
|
|
840
874
|
|
|
@@ -872,36 +906,59 @@ Working directory for job 68747bac9e7fe38ec6e022ad: az://123456789000.blob.core.
|
|
|
872
906
|
|
|
873
907
|
#### List Jobs
|
|
874
908
|
|
|
875
|
-
You can get a summary of
|
|
909
|
+
You can get a summary of workspace jobs in two different formats:
|
|
876
910
|
|
|
877
911
|
- CSV: this is a table with a minimum predefined set of columns by default, or all the available columns using the `--all-fields` argument.
|
|
878
912
|
- JSON: all the available information from the workspace jobs, in JSON format (`--all-fields` is always enabled for this format).
|
|
879
913
|
|
|
880
|
-
|
|
914
|
+
**Job Listing Control Options**
|
|
915
|
+
|
|
916
|
+
CloudOS CLI provides two ways to control the number of jobs retrieved:
|
|
917
|
+
|
|
918
|
+
1. **Pagination Control (Default)**: Use `--page` and `--page-size` for precise pagination
|
|
919
|
+
2. **Last N Jobs**: Use `--last-n-jobs` for retrieving the most recent jobs
|
|
920
|
+
|
|
921
|
+
> [!IMPORTANT]
|
|
922
|
+
> **These options are mutually exclusive**. When `--last-n-jobs` is specified, it takes precedence and `--page`/`--page-size` parameters are ignored. A warning message will be displayed if both are provided.
|
|
923
|
+
|
|
924
|
+
**Default Behavior**
|
|
925
|
+
|
|
926
|
+
By default, the command retrieves the first page with 10 jobs (equivalent to `--page 1 --page-size 10`):
|
|
881
927
|
|
|
882
928
|
```bash
|
|
883
|
-
cloudos job list --profile my_profile--output-format csv --all-fields
|
|
929
|
+
cloudos job list --profile my_profile --output-format csv --all-fields
|
|
884
930
|
```
|
|
885
931
|
|
|
886
932
|
The expected output is something similar to:
|
|
887
933
|
|
|
888
934
|
```console
|
|
889
935
|
Executing list...
|
|
890
|
-
Job list collected with a total of
|
|
936
|
+
Job list collected with a total of 10 jobs.
|
|
891
937
|
Job list saved to joblist.csv
|
|
892
938
|
```
|
|
893
939
|
|
|
894
|
-
|
|
940
|
+
**Pagination Examples**
|
|
895
941
|
|
|
896
|
-
|
|
942
|
+
Retrieve specific pages using `--page` and `--page-size`:
|
|
897
943
|
|
|
898
944
|
```bash
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
945
|
+
# Get page 2 with 15 jobs per page
|
|
946
|
+
cloudos job list --profile my_profile --page 2 --page-size 15
|
|
947
|
+
|
|
948
|
+
# Get page 5 with maximum 100 jobs per page
|
|
949
|
+
cloudos job list --profile my_profile --page 5 --page-size 100
|
|
950
|
+
```
|
|
951
|
+
|
|
952
|
+
**Last N Jobs Examples**
|
|
953
|
+
|
|
954
|
+
Use `--last-n-jobs` to get the most recent jobs:
|
|
955
|
+
|
|
956
|
+
```bash
|
|
957
|
+
# Get the last 50 jobs
|
|
958
|
+
cloudos job list --profile my_profile --last-n-jobs 50
|
|
959
|
+
|
|
960
|
+
# Get all workspace jobs
|
|
961
|
+
cloudos job list --profile my_profile --last-n-jobs all --output-format json
|
|
905
962
|
```
|
|
906
963
|
```console
|
|
907
964
|
Executing list...
|
|
@@ -909,6 +966,11 @@ Executing list...
|
|
|
909
966
|
Job list saved to joblist.json
|
|
910
967
|
```
|
|
911
968
|
|
|
969
|
+
> [!NOTE]
|
|
970
|
+
> - `--page-size` has a maximum limit of 100 jobs per page
|
|
971
|
+
> - When filters or `--archived` flag are applied, pagination is applied to the filtered results
|
|
972
|
+
> - If both `--last-n-jobs` and pagination parameters are provided, only `--last-n-jobs` will be used
|
|
973
|
+
|
|
912
974
|
You find specific jobs within your workspace using the listing filtering options. Filters can be combined to narrow down results and all filtering is performed after retrieving jobs from the server.
|
|
913
975
|
|
|
914
976
|
**Available filters:**
|
|
@@ -922,21 +984,41 @@ You find specific jobs within your workspace using the listing filtering options
|
|
|
922
984
|
- **`--filter-owner`**: Show only job for the specified owner (exact match required, i.e needs to be in quotes and be "Name Surname")
|
|
923
985
|
- **`--filter-queue`**: Filter jobs by queue name (only applies to batch jobs)
|
|
924
986
|
|
|
925
|
-
|
|
987
|
+
**Filtering Examples**
|
|
926
988
|
|
|
927
|
-
|
|
989
|
+
You can find specific jobs within your workspace using the listing filtering options. Filters can be combined to narrow down results and all filtering is performed after retrieving jobs from the server.
|
|
990
|
+
|
|
991
|
+
Using pagination approach (default):
|
|
928
992
|
```bash
|
|
993
|
+
# Get completed jobs from page 1 (default 20 jobs)
|
|
994
|
+
cloudos job list --profile my_profile --filter-status completed
|
|
995
|
+
|
|
996
|
+
# Get completed jobs from page 2 with 15 jobs per page
|
|
997
|
+
cloudos job list --profile my_profile --page 2 --page-size 15 --filter-status completed
|
|
998
|
+
```
|
|
999
|
+
|
|
1000
|
+
Using last-n-jobs approach:
|
|
1001
|
+
```bash
|
|
1002
|
+
# Get all completed jobs from the last 50 jobs
|
|
929
1003
|
cloudos job list --profile my_profile --last-n-jobs 50 --filter-status completed
|
|
930
1004
|
```
|
|
931
1005
|
|
|
932
1006
|
Find jobs with "analysis" in the name from a specific project:
|
|
933
1007
|
```bash
|
|
1008
|
+
# Using pagination (gets first 20 matching jobs)
|
|
934
1009
|
cloudos job list --profile my_profile --filter-job-name analysis --filter-project "My Research Project"
|
|
1010
|
+
|
|
1011
|
+
# Using last-n-jobs
|
|
1012
|
+
cloudos job list --profile my_profile --last-n-jobs 100 --filter-job-name analysis --filter-project "My Research Project"
|
|
935
1013
|
```
|
|
936
1014
|
|
|
937
1015
|
Get all jobs using a specific workflow and queue:
|
|
938
1016
|
```bash
|
|
939
|
-
|
|
1017
|
+
# Using pagination with larger page size
|
|
1018
|
+
cloudos job list --profile my_profile --page-size 50 --filter-workflow rnatoy --filter-queue high-priority-queue
|
|
1019
|
+
|
|
1020
|
+
# Using last-n-jobs to search all jobs
|
|
1021
|
+
cloudos job list --profile my_profile --last-n-jobs 'all' --filter-workflow rnatoy --filter-queue high-priority-queue
|
|
940
1022
|
```
|
|
941
1023
|
|
|
942
1024
|
> [!NOTE]
|
|
@@ -944,8 +1026,6 @@ cloudos job list --profile my_profile --filter-workflow rnatoy --filter-queue hi
|
|
|
944
1026
|
> - Job name filtering is case insensitive and supports partial matches
|
|
945
1027
|
> - The `--last` flag can be used with `--filter-workflow` when multiple workflows have the same name
|
|
946
1028
|
|
|
947
|
-
|
|
948
|
-
|
|
949
1029
|
### Bash Jobs
|
|
950
1030
|
Execute bash scripts on CloudOS for custom processing workflows. Bash jobs allow you to run shell commands with custom parameters and are ideal for data preprocessing or simple computational tasks.
|
|
951
1031
|
|