riboviz / riboviz

Analysis and Visualization of Ribosome Profiling Data
https://riboviz.org
Apache License 2.0
30 stars 11 forks source link

Improve directory structure for temporary multiplexed files #174

Open mikej888 opened 4 years ago

mikej888 commented 4 years ago

When processing multiplexed files, the following temporary files are created in <TMP_DIR>/ (where <FASTQ_FILE_NAME_PREFIX> is the name of a multiplexed file (without path or extension) defined in multiplex_fq_files):

<FASTQ_FILE_NAME_PREFIX>_trim.fq
<FASTQ_FILE_NAME_PREFIX>_extract_trim.fq
<FASTQ_FILE_NAME_PREFIX>_deplex/
    num_reads.tsv
    <TAG>.fastq
    ...
    Unassigned.fastq

Refactor multiplexing to instead create a <TMP_DIR>/<FASTQ_FILE_NAME_PREFIX> directory, with files with less verbose names, and more consistent with sample-specific temporary files:

trim.fq
extract_trim.fq
deplex/
    num_reads.tsv
    <TAG>.fastq
    ...
    Unassigned.fastq
mikej888 commented 3 years ago

This issue goes away if #324 is done.