Bash commandline to install Anaconda !
#The line begins with $ are the commands $ mkdir tmp $ cd tmp/ $ curl -O https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh % Total %...1549 days ago
Bash command to install bwa, samtools, picard !
...amd-2 tmp]$ conda install bwa Collecting package metadata (repodata.json): done Solving environment: - The environment is inconsistent, please check the package plan carefully T...1549 days ago
Perl script to delete the adjacent repeats !
...eated character .... $string='ATTTTTTGGC'; # This should be converted to ATGC $string =~ s/(\w)\1/$1/g; print $string; #For more helps ... check out this #This bit of code...1544 days ago
1532 days ago
Commands to install conda in Ubuntu !
...ions on the import, possession, use, and/or re-exp ort to another country, of encryption software. BEFORE using any encryption soft ware, please check your country's laws, regulati...1505 days ago
1503 days ago
1501 days ago
Python script to check sequence length in multifasta file
#!/usr/bin/python from Bio import SeqIO import sys cmdargs = str(sys.argv) for seq_record in SeqIO.parse(str(sys.argv[1]), "fasta"): output_line = '%s\t%i' % \ (seq_record.id, len(seq_record)) print(output_line)1209 days ago
Download minikraken database !
..._UPDATE/database150mers.kmer_distrib minikraken2_v2_8GB_201904_UPDATE/database200mers.kmer_distrib minikraken2_v2_8GB_201904_UPDATE/hash.k2d #Check for pe reads #kraken2 --use-...1208 days ago
Create random 10000 SNPs in genome !
...pl -refseq SGDref.R64-2-1.dups.fa -snp_count 10000 -prefix simuSNP [Sun Jan 10 16:05:57 2021] Starting simuG .. [Sun Jan 10 16:05:57 2021] Check specified options .. Running...1205 days ago