-
Notifications
You must be signed in to change notification settings - Fork 0
User guide for using the sorting computer
- Acquire data in Open Ephys, and save in openephys format, and upload it to the server
- Connect to the sorting computer using an SSH connection
- Copy the whole recording folder including paramters.txt and dead_channels.txt and any movement information to nolanlab/to_sort/recordings
This should be added to every recording folder before the analysis is done. The first row should have the session type, which is either vr or openfield. The second line should have the location on the server starting from your name. The third line (optional) can contain tags for analysis, which is either interleaved_opto or delete_two_minutes. Tags should be separated by *. So for example:
openfield
Klara/Opto_tagging_experiment/M3_2018-03-13_10-44-37_of
interleaved_opto*delete_two_minutes
Existing tags:
interleaved_opto
delete_two_minutes
pixel_ratio=490 (This is an example - could be set to any value. The default in the script is 440.)
VR specific tags:
stop_threshold=4.9 (float)
track_length=300 (float)
cue_conditioned_goal=True (float)
recorrding_length_minutes=30.0 # this parameter clips recordings at x minutes (both recordings in the case of paired sorting)
For paired (concatenated) sorting:
paired=path_to_paired_recording_folder
session_type_paired= openfield or vr
This should only be made if the recording contains dead channels. Each channel id for a dead channel (1-16) should be in a new line. So for example if 1 and 3 are dead, dead_channels.txt should have
1
3
You don't need to add an empty dead_channels file if there are no dead channels, but it will be handled if you do add an empty file.
- When the folder is fully copied, put copied.txt in the folder (so the script knows it's ready for sorting)
Do not ever put more than 10 folders in this folder. The sorting computer has 250GB of space, which is used for temporary sorting files in addition to your files stored here. Please always check how many folders others put in there.
- Acquire data in Open Ephys, and save in openephys format, and upload it to the server
- Create a text file with any name and in each line put the end of the server path to a folder (same format as parameters file).
- Copy this text file to the sorting computer using an SSH connection to nolanlab/to_sort/downtime_sort These folders will be copied to the sorting computer one by one whenever nolanlab/to_sort/recordings is empty
(You do not need to put copied.txt in these recordings, the script will know when it finished copying. Having the copied.txt makes no difference, so it is not a problem.)
Your results will be uploaded to the server based on the path you gave in the parameters file. The sorting will be logged in sorting_log.txt that will be put in your recording folder on the server if possible. If your recording crashes, the folder name will be added to crashlist.txt that is located in nolanlab/to_sort/crashlist.txt