spike_analysis_pipeline:pipeline_overview
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
spike_analysis_pipeline:pipeline_overview [2022/01/10 17:17] – lukas.schneider | spike_analysis_pipeline:pipeline_overview [2023/11/13 22:00] (current) – i.kagan | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Folder structure ===== | ===== Folder structure ===== | ||
- | * Y:\Projects\project\ephys\version | + | |
- | * | + | ^Inputs |
- | * Y:\Data\Sortcodes\Monkey_phys contains sorting related files | + | |\Dropbox\DAG\phys\Monkey_phys_dpz\Mon_sorted_neurons.xls|electrode locations, unit/site IDs, |
- | | + | |\GitHub\Settings\spike_analysis\project|project and version specific settings (keys)| |
- | | + | |Y:\Data\Monkey_phys_combined_monkeypsych_TDT|raw |
- | | + | |
- | | + | Outputs in Y:\Projects\project\ephys\version: |
- | | + | |
+ | ^File ^Info| | ||
+ | |population_monkey_session.mat|spike | ||
+ | |sites_monkey_session.mat | ||
+ | |by_block_monkey_session.mat | ||
+ | |Mon_sorted_neurons.xls | ||
+ | |keys_Monkey.mat | ||
+ | |tuning_table_combined.mat | ||
+ | |tuning_table_combined_CI.mat | ||
+ | |tuning_table_combined.xls | ||
+ | |seed.mat | ||
+ | ^Subfolder | ||
+ | |spike_shapes | ||
+ | |single_cell_examples | ||
+ | |cell_counts | ||
+ | |scatter | ||
+ | |population_analysis | ||
+ | |response timing | ||
+ | |… | | | ||
===== General Workflow ===== | ===== General Workflow ===== | ||
- | | + | |
- | * ph_initiate_populaiton_analysis | + | |
+ | - read in general settings → project settings → version settings | ||
+ | - loop per monkey: ph_session_processing (core function) | ||
+ | * read in data from Y: | ||
+ | * run monkeypsych_analyze for saccade detection etc. | ||
+ | * run ph_run_state_alignment_per_trial | ||
+ | * takes over relevant trial and state (event) information from monkeypsych_analyze output (TDT_states and saccade/ | ||
+ | * combines it with Sorted Neuron table information | ||
+ | * !! Copies last 1 second of spikes to beginning of next trial | ||
+ | * !! Cuts and appends last 1 second of streams to beginning of next trial | ||
+ | * !! excludes trials without physiology data And/or NOT matching condition | ||
+ | * resort data by unit/ | ||
+ | * plot waveforms/ | ||
+ | * exclude units dependent on excel entries (SNR/ | ||
+ | * plot waveforms/ | ||
+ | * run ANOVAs (ph_ANOVAS) and create tuning table | ||
+ | * create single cell plots (ph_plot_unit_per_condition) | ||
+ | * save files per session | ||
+ | - format tuning table (create tuning_table_combined_CI.mat and tuning_table_combined.xls) | ||
+ | - ph_get_filelist for crossreferencing with behavior | ||
+ | - ph_initiate_population_analysis also runs population analysis | ||
+ | * | ||
===== Synchronization ===== | ===== Synchronization ===== | ||
- | | + | |
+ | | ||
===== Associated code ===== | ===== Associated code ===== | ||
- | Data conversion functions are located in Github External_modified/ | + | |
- | * PLX2SPK | + | ... |
- | * PLX2TDT | + | |
- | * SEV2mat_working | + | |
- | * SPK2PLX | + | |
- | * TDT2PLX | + | |
- | * TDTbin2mat_working | + | |
- | * WC32SPK | + | |
- | * WC32SPK_concatenated | + | |
- | * WC32SPK_directly | + | |
- | The remaining code related to phys preprocessing (not including Waveclus and Plexon) can be found on Github Phys_preprocessing repository | ||
- | * Core functions | ||
- | - phys_gui_working.m | ||
- | - phys_gui_execute.m | ||
- | - TDT_trial_struct.m | ||
- | - ph_combine_MP_and_TDT_data | ||
- | - DAG_update_sorting_table.m | ||
- | * Waveclus pipeline specific | ||
- | - DAG_WC3_preprocessing.m | ||
- | - DAG_parse_data_tdt.m | ||
- | - DAG_SpikefilterChan.m | ||
- | - WC32SPK_directly.m | ||
- | - ph_readout_broadband_lag.m | ||
- | * Plexon pipeline specific | ||
- | - DAG_create_PLX.m | ||
- | - DAG_update_plx_file_table.m | ||
- | - ph_get_new_plx_extension.m | ||
- | * Extra standalone functions | ||
- | - DAG_derive_TDT_streamer_broadband_lag.m | ||
- | - ph_debugging_GUI.m | ||
- | - DAG_take_over_sortcode_PLX2PLX.m | ||
- | * Only of historical relevance | ||
- | - DAG_move_sorting_files.m | ||
- | - ph_derive_electrode_depth.m | ||
- | - ph_derive_same_cells.m | ||
- | - ph_simulate_history.m |
spike_analysis_pipeline/pipeline_overview.1641835037.txt.gz · Last modified: 2022/12/29 07:15 (external edit)