Closed seallard closed 1 year ago
The commands work in this order:
housekeeper add bundle $down_sample_id
housekeeper include $down_sample_id
housekeeper add file -b $down_sample_id -t fastq $down_fastq_r1
housekeeper add file -b $down_sample_id -t fastq $down_fastq_r2
An option could be to include the bundle in the housekeeper add bundle
command.
Just a question - was it intended to add a stage file in the production environment?
Just a question - was it intended to add a stage file in the production environment?
For my code, yes. I had decompressed and downsampled fastq files in stage, which I wanted to save in housekeeper, to use in production after.
Regarding the comment from Sofia, before this error, the commands were the other way around, where include was done last, as also shown in the downsampling page of atlas: https://atlas.scilifelab.se/production/data_analysis/supporting_procedures/downsampling/
If it is going to be used in production then everything should have been done in the production context. And then you copy the database and the file(s) you created to stage (if you want test something). Avoid doing stage to production as it is bound to cause issues.
If it is going to be used in production then everything should have been done in the production context. And then you copy the database and the file(s) you created to stage (if you want test something). Avoid doing stage to production as it is bound to cause issues.
I will keep that in mind for the future. 👍 I will downsample in a different folder.
houskeeper add bundle
create the housekeeper-bundles/Fixed today in #136.
@fevac Has the behaviour for housekeeper changed? I used to be able to store subsampled samples with:
Now it fails on the second command because the folder is housekeeper is not created.
FileNotFoundError: [Errno 2] No such file or directory
@peterpru The command: