-
Notifications
You must be signed in to change notification settings - Fork 0
File type ext
| author | date | tags |
|---|---|---|
| PE | 2025-10-24 | cubi, internal, convention, sop, rule, policy, standard |
This SOP complements all other SOPs related to code development such as describing the general dev process, naming and style and so on.
This SOP sets rules for file types and associated file extensions that are allowed to be created by the CUBI developers in workflow or project repositories.
For file types not mentioned here, the general guideline applies that text-based files that can be read or manipulated with general-purpose software must always be preferred over any other more domain-specific file type.
NB: for external files, e.g., annotation data/tables provided by clients,
follow the SOP of storing the file unaltered (only adding a date stamp to
the file name if needed) under annotations/raw; then create an unaltered
text export under annotations/export
(see CUBI KB)
- Jupyter notebook:
.ipynb- Jupyter notebooks must not be used as a replacement for a proper script to be executed as part of a workflow
- Python (script):
.py- scripts must always be marked as executable
- scripts must always contain the relevant shebang line
-
#!/usr/bin/env pythonor#!/usr/bin/env python3
-
- scripts must not be implemented with a dependency on a specific workflow engine
- R (script):
.R- scripts must always be marked as executable
- scripts must always contain the relevant shebang line
#!/usr/bin/env Rscript
- scripts must not be implemented with a dependency on a specific workflow engine
- Snakemake:
- main Snakefile only (per workflow):
Snakefile - all other snakemake files:
.smk
- main Snakefile only (per workflow):
- Nextflow:
.nxf - Bash script:
.sh- the use of bash scripts is discouraged
- use Snakemake for workflow-like automation
- use Python for tool-like/system-level automation
- scripts must always be marked as executable
- scripts must always contain the relevant shebang line
#!/usr/bin/env bash
- the use of bash scripts is discouraged
- awk script: (package as bash script, see above)
- YAML:
.yaml- preferred config file format
- TOML:
.toml- only used for special file
pyproject.toml
- only used for special file
- JSON:
.json - Apptainer (Singularity) definition file:
.def
- Markdown:
.md
- Tab-separated text table:
.tsv - Comma-separated text table:
.csv- strongly discouraged, use tab-separation
Copyright © 2022-2026 Core Unit Bioinformatics, Medical Faculty, HHU
All content in this Wiki is published under the CC BY-NC-SA 4.0 license.
- Hints for matplotlib
- Globus
- IGV
- Nextflow plugins offline usage
- ThinkPad issues
- Audio devices issues
- PyTorch and CUDA
- Conda in offline environments
- Looking up missing gene data
- GPU in snakemake workflows
- Frequently used variant scores