Skip to content

Commit

Permalink
Merge pull request #778 from AlexsLemonade/allyhawkins/v0.8.3
Browse files Browse the repository at this point in the history
Update versions and bug fix for v0.8.3
  • Loading branch information
allyhawkins authored Aug 2, 2024
2 parents 5363d46 + a1090b9 commit 58b084d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/reformat_anndata.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
default="highly_variable_genes",
help=(
"Indicate the name used to store highly variable genes associated with the PCA in the exported AnnData object."
" Use the value 'none' if no highly variable genes were not used."
"Use the value 'none' if no highly variable genes were used."
),
)
parser.add_argument(
Expand Down
1 change: 1 addition & 0 deletions bin/sce_to_anndata.R
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,6 @@ if (!is.null(opt$feature_name)) {
")
)
}
message("Exported alt")
}
}
6 changes: 3 additions & 3 deletions external-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ Using the above command will run the workflow from the `main` branch of the work
To update to the latest released version you can run `nextflow pull AlexsLemonade/scpca-nf` before the `nextflow run` command.

To be sure that you are using a consistent version, you can specify use of a release tagged version of the workflow, set below with the `-r` flag.
The command below will pull the `scpca-nf` workflow directly from Github using the `v0.8.2` version.
The command below will pull the `scpca-nf` workflow directly from Github using the `v0.8.3` version.
Released versions can be found on the [`scpca-nf` repository releases page](https://github.com/AlexsLemonade/scpca-nf/releases).

```sh
nextflow run AlexsLemonade/scpca-nf \
-r v0.8.2 \
-r v0.8.3 \
-config <path to config file> \
-profile <name of profile>
```
Expand Down Expand Up @@ -325,7 +325,7 @@ If you will be analyzing spatial expression data, you will also need the Cell Ra

If your compute nodes do not have internet access, you will likely have to pre-pull the required container images as well.
When doing this, it is important to be sure that you also specify the revision (version tag) of the `scpca-nf` workflow that you are using.
For example, if you would run `nextflow run AlexsLemonade/scpca-nf -r v0.8.2`, then you will want to set `-r v0.8.2` for `get_refs.py` as well to be sure you have the correct containers.
For example, if you would run `nextflow run AlexsLemonade/scpca-nf -r v0.8.3`, then you will want to set `-r v0.8.3` for `get_refs.py` as well to be sure you have the correct containers.
By default, `get_refs.py` will download files and images associated with the latest release.

If your system uses Docker, you can add the `--docker` flag:
Expand Down
2 changes: 1 addition & 1 deletion internal-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Please refer to our [`CONTRIBUTING.md`](CONTRIBUTING.md#stub-workflows) for more
When running the workflow for a project or group of samples that is ready to be released on ScPCA portal, please use the tag for the latest release:

```
nextflow run AlexsLemonade/scpca-nf -r v0.8.2 -profile ccdl,batch --project SCPCP000000
nextflow run AlexsLemonade/scpca-nf -r v0.8.3 -profile ccdl,batch --project SCPCP000000
```

### Processing example data
Expand Down
2 changes: 1 addition & 1 deletion modules/export-anndata.nf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ process export_anndata {
reformat_anndata.py --anndata_file ${rna_h5ad_file} --pca_meta_file ${pca_meta_file}
# move counts in feature data, if the file exists
if [ -f "${feature_h5ad_file}" ]; then
reformat_anndata.py --anndata_file ${feature_h5ad_file}
reformat_anndata.py --anndata_file ${feature_h5ad_file} --hvg_name "none"
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ manifest {
homePage = 'https://github.com/AlexsLemonade/scpca-nf'
mainScript = 'main.nf'
defaultBranch = 'main'
version = 'v0.8.2'
version = 'v0.8.3'
}

// global parameters for workflows
Expand Down

0 comments on commit 58b084d

Please sign in to comment.