Perl subroutine to read genome/reads fasta file !
...$file:$!\n"); while(){ chomp; if($_ =~ /^>/){ if(defined $id && defined $seq){ $map{$id} = $seq; $seq=""; } ($id) = split(' ',$_); $id=~s/>//; }...2192 days ago
2186 days ago
2185 days ago
Perl script to merge LastZ overlaps
#!/usr/bin/perl use strict; use warnings; use 5.010; # Filter out the exact/direct overlaps from tab seperated alignment file. (lastz format=general- ready) # Do not inclide header in lastz outfile # USAGE: perl filterOverlaps.pl infile > outfile open my $fh, '2184 days ago
2182 days ago
1575 days ago
Installing Porechop on Ubuntu !
➜ Tools git:(master) ✗ git clone https://github.com/rrwick/Porechop.git C...orechop copying porechop/__init__.py -> build/lib/porechop C...urbe/anaconda3/lib/python3.6/site-packages/porechop/adapters.p...(incompatible with --output) --barcode_thres...2165 days ago
2158 days ago
2157 days ago
Install Python locally on shared Linux server !
...nload the python source and extract it mkdir ~/python cd ~...hen I compiled the source following its guideline ./configure --p...output of make command, by default it is in the /usr/local/ and we...run this command: which python #it should show you the path to t...2157 days ago