2087 days ago
Generate simulated polyploid genome !
#Generate 3% divergence msbar -point 4 -count 16558 toy.fasta > toyheterozygous...sta > toyheterozygous3percent.fasta #generated 50X of Illumina paired-end reads sim_reads --depth 50 toyheterozygous3pe...2065 days ago
2046 days ago
1845 days ago
1737 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...1614 days ago
Bash script to download SRA file !
#We can use the sratoolkit to directly pull the sequence data (in paired FASTQ forma...format when aligning. wget ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra instant/reads/ByRun/sra/SRR/SRR177/SRR17704...1571 days ago
Bash script to alignment of short reads against reference genome !
bwa mem -t 40 -R '@RG\tID:K12\tSM:K12' \...#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...1571 days ago
Installing ggplot2 and its dependencies on Ubuntu !
jit@jit-HP-Pro-3335-MT:~/Downloads/MitoHunter/minidot/bin$ sudo R [sudo] password for.... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep ch...yes checking whether the C++ compiler supports the long...1562 days ago
To convert just one specific read group to fastq
# Stop script on error. set -uex # The SRR BioPr...d -$N > selected.txt # Store the data in the reads folder. mkdir -p reads # Download the SRR data fo...ll.bam # Reverting the process is to extract reads, tagged with readgroups to pa...1554 days ago