Skip to content

'transfer_data.py': add option to shorten shared filenames - #1179

Merged
pjbriggs merged 4 commits into
develfrom
transfer_data-shorten-shared-filenames
Jul 20, 2026
Merged

pjbriggs merged 4 commits into
develfrom
transfer_data-shorten-shared-filenames

Conversation

@pjbriggs

Copy link
Copy Markdown
Member

Updates the transfer_data.py command line file sharing utility to add a new option --short_names, which causes the utility to use shorter names for files like ZIP archives, QC reports and .tgz files for CellRanger outputs.

The names are shortened by omitting the run name from the file basenames and just using the project name. Note that no attempt is made to shorten the names of source Fastq files.

The auto_process configuration has also been updated to add a new short_names parameter for each user-defined destination, so that this option can be turned on by default.

The use case for this functionality is hosting of data on an nginx based webserver, where the auto-indexing limits displayed file names to 50 characters (often truncating the distinguishing parts of file names and hiding them from the user).

pjbriggs added 3 commits July 14, 2026 16:05
Adds a new parameter 'short_names' to user-defined 'destination' sections in the configuration file, to enable shortened file names to be requested when transferring data.
Adds new '--short_names' option, which causes the utility to make shorter names for various shared files (QC reports, ZIP files and tgz archives) by omitting the run name.
@pjbriggs
pjbriggs merged commit 4458a29 into devel Jul 20, 2026
7 checks passed
@pjbriggs
pjbriggs deleted the transfer_data-shorten-shared-filenames branch July 20, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant