The DownloadSymlink workflow bugs when an analysis is an ONT Demultiplex
When does it happen?
From the "download" page, when selecting an entire project that contains a demultiplex ONT analysis.
It's okay when the run and analyzes are deployed and selected:
Why?
In utils.py:
12-16 13:19 Utils DEBUG get_directories_structure_and_content. src_directories = /save/ng6///data/run/fb3cdcb00, /save/ng6///data/analyze/e3df5acbb, /save/ng6///data/analyze/2753b0457, /save/ng6///data/run/b2e7de531, /save/ng6///data/analyze/ae6d2ec97, /save/ng6///data/analyze/cfec28f91 12-16 13:19 Utils DEBUG get_directories_structure_and_content. dest_directories = /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT3_Climares_mtplx6_2_PAD92409.16250/RawData, /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT3_Climares_mtplx6_2_PAD92409.16250/Analyse_RUNStats.64606, /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT3_Climares_mtplx6_2_PAD92409.16250/Analyse_DemultiplexONT.64608, /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT2_Climares_mtplx6_PAD92409.16245/RawData, /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT2_Climares_mtplx6_PAD92409.16245/Analyse_DemultiplexONT.64568, /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT2_Climares_mtplx6_PAD92409.16245/Analyse_RUNStats.64567, /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT3-Climares-mtplx6-2-PAD92409.16250/Analyse_DemultiplexONT.64608, /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT3-Climares-mtplx6-2-PAD92409.16250/Analyse_RUNStats.64606, /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT2-Climares-mtplx6-PAD92409.16245/Analyse_DemultiplexONT.64568, /work/lipm/gouzy/Project_CLIMARES.482/Run_ONT2-Climares-mtplx6-PAD92409.16245/Analyse_RUNStats.64567
(The destination tab contains 2 versions of the same runs and analyzes, one with '-' separatores, one with '_'.)
This may be fixed with an update to the download page's javascript call:
(By removing the analyzes that have no directory.)
The workflow tries the following treatment:
ln -s /save/ng6/data/run/fb3cdcb00 /work/ng6/Project_CLIMARES.482/Run_ONT3_Climares_mtplx6_2_PAD92409.16250/RawData ln -s /save/ng6/data/analyze/e3df5acbb /work/ng6/Project_CLIMARES.482/Run_ONT3_Climares_mtplx6_2_PAD92409.16250/Analyse_RUNStats.64606 ln -s /save/ng6/data/analyze/2753b0457 /work/ng6/Project_CLIMARES.482/Run_ONT3_Climares_mtplx6_2_PAD92409.16250/Analyse_DemultiplexONT.64608 ln -s /save/ng6/data/run/b2e7de531 /work/ng6/Project_CLIMARES.482/Run_ONT2_Climares_mtplx6_PAD92409.16245/RawData ln -s /save/ng6/data/analyze/ae6d2ec97 /work/ng6/Project_CLIMARES.482/Run_ONT2_Climares_mtplx6_PAD92409.16245/Analyse_DemultiplexONT.64568 ln -s /save/ng6/data/analyze/cfec28f91 /work/ng6/Project_CLIMARES.482/Run_ONT2_Climares_mtplx6_PAD92409.16245/Analyse_RUNStats.64567
But fails, BECAUSE /save/ng6/data/analyze/2753b0457 AND /save/ng6/data/analyze/ae6d2ec97 DO NOT EXIST!