Extracting FASTA sequences based on position with perl script !!
#!/usr/bin/env perl #Uses: perl sub-seq.pl input.txt range use strict; use warnings; my $end = pop; my $start = pop; local $/ = '>'; while () {...2634 days ago
Create genome scaffolding with Perl
#!/usr/bin/perl use warnings; use strict; use English; use Pod::Usag...RSION = "1.00"; =head1 NAME psl_scaffolder.pl - use self-mapped PSL file to scaff...query sequences "prefix" => "psl_scaffold_", #...for (my $i = 0; $i {"prefix"}, $nextScaffoldI...2321 days ago
2140 days ago
2139 days ago
2136 days ago
Installing Porechop on Ubuntu !
➜ Tools git:(master) ✗ git clone https://github.com/rrwick/Porechop.git Cloning into 'Po..., the format will be chosen based on the o...code binning settings: Control the binning of reads based on...2119 days ago
2088 days ago
Perl script to break the contigs by 'N'
#!/usr/bin/perl -w use Bio::SeqIO; use strict; my $fasta = Bio::SeqIO->new( -file => "$ARGV...$seq = uc $seq; #now all bases are in uppercase #Searches for NNNNN regions (scaffold...2075 days ago
Bash script to alignment of short reads against reference genome !
bwa mem -t 40 -R '@RG\tID:K12\tSM:K12' \ E.coli_K12_MG1655.fa SRR1770413_1.fastq.gz SRR177041...bam SRR1770413.bam --- this marks reads which appear to be redundant PCR duplicates based on...1572 days ago
Installing ggplot2 and its dependencies on Ubuntu !
jit@jit-HP-Pro-3335-MT:~/Downloads/MitoHunter/minidot/bin$ sudo R [sudo] password for jit: R...equired CPPFLAGS, LDFLAGS, and LIBS... done checking whether we may build an ICU4C-based pro...1563 days ago