2154 days ago
Bash oneliner to extract all ids from a multifasta file
#List of ids - one per line in allIds.txt $ awk 'BEGIN{while((getline0)l[">"$1]=1}/^>/{f=!l[$1]}f' seq.fa # You can play with this f=!l[$1 ] if wanted to extract or not extract the ids1566 days ago
Install Parrot Virtual Machine !
...ure.pl line 84. Deleting gcov-generated files Deleting cover-generated html files init::manifest - Che...one. auto::ops - Which opcode files should be compiled in..........Generate a list of platform object files...........done. auto::align...1565 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, '2153 days ago
Long reads mapper bash script !
...apper.sh minimap2 ref.fa reads.fa/fq 48 ont" exit 1 fi fileName=$(basename "$refFasta"); #fileName=$(basename "$refFasta" .f...$minimap2Loc -ax map-ont $refFasta $longReads -t $thread > $fileName.out.sam elif [ $readsTy...2151 days ago
2151 days ago
1544 days ago
Installing Porechop on Ubuntu !
...nts to porechop.egg-info/entry_points.txt writing top-level names to porechop.egg-info/top_level.txt writing manifest file 'porechop.egg-info/SOURCES.txt' reading manifest file 'porechop.egg-info/SOURCES.tx...2134 days ago
2127 days ago
Install Python locally on shared Linux server !
...t variables to force the shell to use our new python. Edit #~/.bashrc_profile and add the following lines:...fresh the current session by running the command: source ~/.bashrc_profile #You might need to logout...2126 days ago