NOTE: the code contained in this repository is just a prototype. It has not been checked for consistency, correctness, or tested against experimental data.
The Melting, Unfolding and Denaturants in FISH (or MUD-FISH) project contains code to select optimal uniFISH 1st and 2nd hybridization conditions for probes composed of oligonucleotides with the following structure: color sequence (C), forward sequence (F), target sequence (T), and reverse sequence (R), from 5' to 3'. Below, I will refer to the longest flap comprising R and C as L (i.e., L=R+C) and to the whole oligo as O (i.e., O=C+F+T+R).
- Install OligoArrayAux if not already available. To check if the software is already available run
command -v melt.pl
ormelt.pl --version
. The first will give no output if the software is not installed, and the second will show the version of the currently installed software, if any. OligoArrayAux is available here. - Install GNU parallel if not already available. To check if the software is already available run
command -v parallel
orparallel --version
. The first will give no output if the software is not installed, and the second will show the version of the currently installed software, if any. GNU parallel is available here. - Install datamash if not already available. To check if the software is already available run
command -v datamash
ordatamash --version
. The first will give no output if the software is not installed, and the second will show the version of the currently installed software, if any. Datamash is available here. - Download
fish-conditions
repository and submodules.
git clone https://github.com/ggirelli/fish-conditions
cd fish-conditions
git submodule init
git submodule update
- Test the installation with
./test/test.sh
from within the main code folder (e.g.,fish-conditions
).
Homebrew package manager is needed to install required software. To install homebrew, check out this page.
If not yet available, please install gnu-getopt
, parallel
, datamash
and python3
as follows:
brew install gnu-getopt
brew link --force gnu-getopt
brew install parallel
brew link --force parallel
brew install datamash
brew install python3
Before starting the analysis, the setting are showed and, after pressing "q", the user has the option to either review the settings again (s), abort the analysis (a) or confirm the settings and start the run (y).
-
Consult help page. Run
find_fish_conditions.single_probe.sh -h
orfind_fish_conditions.sh -h
for single- or multi-probe manual, respectively. -
Single probe evaluation. Use
find_fish_conditions.single_probe.sh -i input.fa -o output_dir/
to run the default parameters over a single probe fasta file. -
Multi-probe evaluation. Use
find_fish_conditions.sh -i input.fa -o output_dir/
to run the default parameters over a single probe fasta file. -
Multi-probe harmonization. Use
find_fish_conditions.sh -i input.fa -o output_dir/ --harmonize
to run the default parameters over a single probe fasta file.
Plot generation is implemented in R and requires the R packages argparse
and ggplot2
. The script automatically checks for the packages, and tries to automatically install them, providing help in manually installing them if the automatic installation fails.
MIT License
Copyright (c) 2017 Gabriele Girelli