Facebook
  1. cd /mnt/isilon/projects/ecosystem_biology/ONT_pilot/external_data
  2.  
  3. # aquifer
  4. # rm extracted LR data (archive stays)
  5. rm -rf aquifer/lr/2019012*_02um
  6. # rm not used SR data (only ERR3654041 is needed) [see issue 62]
  7. rm -r aquifer/sr/ERR3654040/
  8. # protect
  9. chmod -R a-w aquifer/
  10.  
  11. # eli
  12. # Q: do we need eli ???
  13. # rm all data
  14. # rm -r eli/    # I suggest keeping eli for the moment. It's a "human" dataset and could be used should a reviewer have strong opinions
  15.  
  16. # ganes
  17. # Q: do we need ganges ??? YES please
  18. # rm all data
  19. rm -r ganges/
  20.  
  21. # mock (aka zymo)
  22. # rm LR data for "LOG"
  23. rm mock/lr/Zymo-GridION-LOG-BB-SN_signal.tar.gz
  24. # rm not used SR data (only ERR2984773 is needed) [???]
  25. rm -r mock/sr/ERR2935805/
  26. # rename folder
  27. mv mock zymo
  28. # protect
  29. chmod -R a-w zymo/
  30.  
  31. # nwc
  32. # protect
  33. chmod -R a-w nwc/
  34.  
  35. # rumen
  36. # protect
  37. chmod -R a-w rumen/
  38.  
  39. # all the other stuff:
  40. #   -> not needed as there is code to download the data
  41. # rm
  42. find . -maxdepth 1 -mindepth 1 | grep -v "aquifer|mock|nwc|rumen|zymo" | while read f
  43. do
  44.     rm -ri "${f}"
  45. done
  46.  
  47. # set the s-bit for all directories
  48. cd /mnt/isilon/projects/ecosystem_biology/ONT_pilot/
  49. find external_data/ -type d -exec chmod g+s {} ;