-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AIBS version merge - bug fixes, clarification, feature adds, and refactor to object-oriented execution #8
Open
PRNicovich
wants to merge
54
commits into
ZhuangLab:master
Choose a base branch
from
AllenInstitute:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+274,077
−89
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Multitude of error corrections throughout original code. Added ./outputForLIMS/ folder for helper scripts to convert MATLAB output to LIMS output. However - Python library 'mFISHCodebookPermutation/ is current supported version of these functins.
…alysis Merge in remote repo README edits.
…robe concentration for TRDesigner input.wq
./MERFISH_Examples2/library_design_example.m now supplanted by ./probe_construction/MERFISHProbeDesign.m. Copy required files from matlab-storm.m to remove dependency on that library. Copied files in ./fileIO/. Edit README.md to include newly-named variables and default values.
this version works with LIMS references changed "transferAbund" to "true" under "if useUniformWeights" output the same probes each run
Transcriptome object now deleted after generating slicedTranscriptome, immediately before building TRDesigner object.
The human_MTG sequential codebook revealed a bug that the allOligos were not collected correctly with the original version. I rewrote the logic to collect allOligos.
1. Check whether gene and ids match with each other in the reference, send a warning if not 2. allOligos file is written in a different way to avoid empty cells when there are mismatched gene+ids in the codebook 3. change the selection process of probes to stop picking duplicated probes for genes with multiple transcripts
executeProbeDesign.m accumulating edits from use.
If true, will use ordering from codebook. If false, use ordering from readouts.fasta file. Will import settings from log file.
Pre-allocating TargetRegions object avoids duplication of array in 'flattening' step, bypasses memory error line. Fixed issues with 'debugMode' in MERFISHProbeDesign, TRDesigner. DebugMode on TRDEsigner.DesignTargetRegions actually does something now.
Modified TRDesigner.DesignTargetRegions to avoid out of memory errors.
pseudo-random order of readouts given a sequence of integer representations of characters.
for permuteBySequence to operate.
Readout order specified
Readout specified, memErrors fix
Mem errors
Tested. We can keep the ensemble and NCBI choice as long as we remove the NCBI _ to , modification.
Update MERFISHProbeDesign.m
Fixed the bug for smELT mode and added a table to list probe numbers generated for each gene.
readoutOrderSmELT
generated target regions.
regions, expanding acceptable isospecificity, or by a specified parameter range. Added targetRegionsFilteringDemo.m to demonstrate three methods to do TargetRegions filtering. Modified MERFISHProbeDesign, probeDesign, executeProbeDesign to support the new parameters.
support targetRegions filtering, spaceOutProbes parameters.
regions are returned. Cumulative sum of isospecificty values in findExpandedIsospecificityTargetRegions was backwards. Now corrected.
for numProbesPerGene.
… target regions would be minValue + 1, not minValue. Changed <= in if statements leading to break or continue to <.
Target regions filters
Buffer output data into a struct and save in chunks for every 100 genes Add progress information
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Have implemented a number of changes to support our work with MERFISH and probe design. Changes summarized below.
Have tested these changes on various panel builds and against demo code + input examples. I have confirmed that the probes generated with this edited fork are same as those in base repo w/ provided input files.
Key edits and notes: