Crates.io | oligo4sshic |
lib.rs | oligo4sshic |
version | 0.1.1 |
source | src |
created_at | 2024-11-22 14:30:58.445619 |
updated_at | 2024-12-11 09:45:08.370426 |
description | A command line tools to design oligonucleotide for ssHi-C experiment |
homepage | https://gitbio.ens-lyon.fr/LBMC/GM/oligo4sshic |
repository | https://gitbio.ens-lyon.fr/LBMC/GM/oligo4sshic |
max_upload_size | |
id | 1457429 |
size | 165,196 |
oligo4sshic
is a small rust program to generate oligonucleotides for single-strand Hi-C experiments
You need cargo
installed
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt install cargo
sudo pacman -S rust
brew install rust
Then run the following command:
git clone git@gitbio.ens-lyon.fr:LBMC/GM/oligo4sshic.git
cargo install --path oligo4sshic
or
cargo install oligo4sshic
From a fasta file and a restriction site (e.g. 'GATC'), and a list of secondary restriction sites this program will provide a list of oligonucleotides of size N with the following characteristic.
CAATTG
,AATATT
,GANTC
)Usage: oligo4sshic [OPTIONS] --fasta <FASTA> --output-snp <OUTPUT_SNP> --output-raw <OUTPUT_RAW>
Options:
-f, --fasta <FASTA>
fasta file of the genome
--forward-intervals <FORWARD_INTERVALS>
comma separated list of chromosomic interval to work on, on the forward strand (e.g. chr_a:1-100,chr_b:200-300) [default: all]
--reverse-intervals <REVERSE_INTERVALS>
comma separated list of chromosomic interval to work on, on the reverse strand (e.g. chr_a:1-100,chr_b:200-300) [default: ]
--output-snp <OUTPUT_SNP>
output file with the list of oligos sequence in fasta format with snp
--output-raw <OUTPUT_RAW>
output file with the list of oligos sequence in fasta format without snp
--site <SITE>
sequence of the site to look for for [default: GATC]
--secondary-sites <SECONDARY_SITES>
comma separated list of site sequences that will be disabled by SNPs [default: CAATTG,AATATT,GANTC]
--size <SIZE>
site of the oligonucleotides [default: 75]
--site-start <SITE_START>
site start position withing the oligonucleotide sequences [default: 5]
--no-snp-zone <NO_SNP_ZONE>
number of nucleotides that will not be transformed in SNPs after the site and before the end of the oligonucleotide sequences [default: 5]
--complementary-size <COMPLEMENTARY_SIZE>
maximum number of complementary bases between two oligonucleotides [default: 7]
--snp-number <SNP_NUMBER>
number of snp to add to the oligonucleotide sequence [default: 5]
--tries <TRIES>
number of run to try to find the highest number of oligos [default: 10]
-v, --verbose
work with the reverse complement of the fasta file
-h, --help
Print help
-V, --version
Print version