2069 days ago
Generate simulated polyploid genome !
#Generate 3% divergence msbar -point 4 -count 16558 toy.fasta > toyheterozygous3per...a > toyheterozygous3percent.fasta #generated 50X of Illumina paired-end reads sim_reads --depth 50 toyheterozygous3pe...2047 days ago
2028 days ago
1828 days ago
1719 days ago
Samtools commands for bioinformatician !
...le into fasta samtools fasta reads_mapped.sam > reads.fasta #..._sej.bam | less ### sort reads by flag specified and show th...sej.bam | less ### count reads (-c) by flag specified samto...le has two columns: QC-passed reads and QC-failed reads # and ro...1597 days ago
Bash script to download SRA file !
#We can use the sratoolkit to directly pull the sequence data (in paired FASTQ format) f...ormat when aligning. wget ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra instant/reads/ByRun/sra/SRR/SRR177/SRR17704...1553 days ago
Bash script to alignment of short reads against reference genome !
bwa mem -t 40 -R '@RG\tID:K12\tSM:K12' \ E....#alignment with bwa: bwa mem -t $threads -R '@RG\tID:K12\tSM:K12' --- this says "align using so many threads" and also "give the reads the...n to BAM: samtools view -b - --- this reads SAM from stdin (the - specifi...1553 days ago
To convert just one specific read group to fastq
# Stop script on error. set -uex # The SRR BioProject...-$N > selected.txt # Store the data in the reads folder. mkdir -p reads # Download the SRR data fo...l.bam # Reverting the process is to extract reads, tagged with readgroups to pa...1536 days ago
Perl script to reads and extract webpage contents !
use 5.010; use strict; use warnings; use WWW::Mechanize; my ($url) = @ARGV; die "Usage: $0 URL\n" if not $url; my $w = WWW::Mechanize->new; $w->get($url); say $w->content; #Run #jit@jit-HP-Pro-3335-MT:~/Downloads/testDock$ perl web.pl https://bioinformaticsonline.com1507 days ago