2917 days ago
Converting from Windows-style to UNIX-style line endings with dos2unix
Lenovo-ideapad-320-15ISK:~/Downloads/abc/bin$ sudo apt install dos2unix [sudo] passwo...deb ... Unpacking dos2unix (7.3.4-3) ... Setting up dos2unix (7.3.4-3) ... Processing triggers for man-db (2.8.3-2u...1178 days ago
Install ATOM editor on Elemantory OS / Ubuntu
#Download ATOM deb file from https://atom.io/ https://ato.... Setting up gconf-service (3.2.6-4ubuntu1) ... Processing triggers for bamfdaemon (0.5....building /usr/share/applications/bamf-2.index... Processing triggers for libc-bin (2.27-3...1177 days ago
Calculate ATGC percentage in parallel with perl
#!/usr/bin/perl use strict; use Parallel::ForkManager; use Bio::SeqIO; #usage: perl testParallel.pl my %sequences; my $seqio = Bio::SeqIO->new(-file =>...ve PID's back to child specific information my $pm = new Parallel::...2657 days ago
Download the genome from NCBI using bash script/command
#!/bin/bash # Download the genome from NCBI using command # Create a Directory...he url from file and download FILES=$(pwd)/* for f in $FILES do echo "Processing $f file..." filename=$(bas...2534 days ago
Unzip all the genome file and remove all fasta header except first one
#!/bin/bash gzip -d *.gz FILES=$(pwd)/* for f in $FILES do echo "Processing $f file..." if [[ $f =~ \.f...2533 days ago
Download the gff files from NCBI using bash script/command
#!/bin/bash # Download the genome from NCBI using command # Create a Directory...e uerl from file and download FILES=$(pwd)/* for f in $FILES do echo "Processing $f file..." filename=$(bas...2525 days ago
Loop over with all files in a directory in bash
#!/bin/bash FILES=/media/ComparativeGenomics/ncbi-genomes-2017-11-13/* ref=/media/Co...tsuma-code-0 for f in $FILES do if [ ${f: -4} == ".fna" ]; then echo "Processing $f file..." ff=$(basename...2333 days ago
Create genome scaffolding with Perl
#!/usr/bin/perl use warnings; use strict; use English; use Pod::Usage; ## uses pod documentation in usage code use Getopt::Long qw(:config auto_version auto_help...2310 days ago
2153 days ago