cytomining / profiling-handbook

Image-based Profiling Handbook
https://cytomining.github.io/profiling-handbook/
Creative Commons Zero v1.0 Universal
8 stars 7 forks source link

generate variable PLATES without file plates_to_process.txt #1

Closed cells2numbers closed 4 years ago

cells2numbers commented 6 years ago

We create the variable ${PLATES} in section 3.4 manually / using the text file plates_to_process.txt.

Instead, we could use the code

PLATES=$(ls ~/efs/${PROJECT_NAME}/${BATCH_ID}/images/ | cut -d '_' -f 1) 

to create the variable; or we could create a text file containing the PLATE_IDs using

ls ~/efs/${PROJECT_NAME}/${BATCH_ID}/images/ | cut -d '_' -f 1 >>  ~/efs/${PROJECT_NAME}/workspace/scratch/${BATCH_ID}/platenames.txt
shntnu commented 4 years ago

It's not clear why I ended up with two PRs #48 and #47, but I think we are good here