RobertsLab / hackweek-2018

0 stars 0 forks source link

Establish histology database, physical inventory, and management plan #13

Closed sr320 closed 6 years ago

sr320 commented 6 years ago

We should start considering how to organize things and how to document all of this stuff. It'd be killer to have links to corresponding images in the database, as well as info on post-embedding sampling info (i.e. RNA/DNA isolations).

moved from https://github.com/RobertsLab/resources/issues/213

sr320 commented 6 years ago

https://github.com/RobertsLab/resources/wiki/Data-Management#histology-data-management-plan

kubu4 commented 6 years ago

Beginning to parse full timestamp from file names:

Example:

ls -l --time-style=full-iso /mnt/owl/phainopepla/C_gigas/2016-12-05/20161205_Sample_8.raw | awk '{print $6, $7}' | tr -d "-" | tr ' ' '_' | tr -d :

Outputs:

20161208_094059.000000000
kubu4 commented 6 years ago

Updated code:

ls -l --time-style=full-iso /mnt/owl/phainopepla/C_gigas/2016-12-05/20161205_Sample_8.raw | awk '{print $6, $7}' | tr -d - | tr -d : | cut -c 1-15

Output:

20161208 094059
kubu4 commented 6 years ago

Final fix!

ls -l --time-style=full-iso /mnt/owl/phainopepla/C_gigas/2016-12-05/20161205_Sample_8.raw | awk '{print $6, $7}' | tr -d - | tr -d : | tr ' ' '_' | cut -c 1-15

Output:

20161208_094059