fls-bioinformatics-core / auto_process_ngs

Scripts and utilities for automatic processing & management of Illumina NGS sequencing data.
Other
9 stars 6 forks source link

transfer_data.py: add options to put Fastqs into ZIP files or exclude Fastqs #871

Closed pjbriggs closed 11 months ago

pjbriggs commented 1 year ago

Updates the transfer_data.py utility to add new options:

Implementation of these changes requires a new function listdir() in the fileops module (list contents of a local or remote directory).

Additionally the configuration for file transfer destinations (defined in the config file by [destination:...] sections) has been extended to include settings for ZIP archives.

The PR also overhauls the error checking (if an operation fails) and fixes a minor bug with specifying Fastq subdirectories.