Option to retain directory structure
mbhall88 opened this issue · 3 comments
mbhall88 commented
Hi,
Would it be possible to add a feature to allow for maintaining directory structure when converting between slow5 and fast5?
For example, if I have a directory structure
└── Vero
├── Vero_C_2hpi
│ └── 20200513_Vero_c_2hpi
│ ├── fast5
│ │ ├── fast5_fail
│ │ └── fast5_pass
├── Vero_C_24hpi
│ ├── 20200430_Vero_c_24hpi
│ │ └── 20200430_Vero_c_24hpi
│ │ └── 20200430_0856_MN28696_FAN24843_c1ec9e3c
│ │ ├── fast5
it would be nice if I could have the output directory mirror this.
For example, if I run
$ slow5tools s2f -d out/ Vero/
Then all of the fast5 files are dumped in out/
. I would be great to have an option to have them dumped in the same nested structure as the input directory.
Thanks for the great tool!
hasindu2008 commented
hasindu2008 commented
This feature for f2s is available in the master branch. Give it a go and let us know your thoughts.
mbhall88 commented
Seems to be working based on a test I just ran 🎉