Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read-lab-metadata search for files recursively when no samples_data is given #318

Open
Shettland opened this issue Oct 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Shettland
Copy link
Member

Shettland commented Oct 2, 2024

Recent changes made samples_data.json file not required for read-lab-metadata module (this file is generated by "download" module). This means that every sample will pass the file integrity filter and "fastq_filepath" fields will be saved as the folder where the provided metadata file is located.

It would be nice if the module would make use of os.walk() to recursively search for files named ["sequence_file_RX_fastq"] and use this information to create a samples_data.json which includes the paths and md5s for each sample's files, removing those samples with any issue from the final json (like corrupted files, non-existing files or md5 mismatch if given)

@Shettland Shettland added the enhancement New feature or request label Oct 2, 2024
@Shettland
Copy link
Member Author

Instead of this, a new argument to a folder where files are located will be included

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant