Perl script to extract sequence by Ids from multifasta file !
...my $idsfile = "$ARGV[0]"; my $seqfile = "$ARGV[1]"; my %ids = (); open FILE, $idsfile; while() {..._} += 1; } close FILE; local $/ = "\n>"; # read by FASTA record open FASTA, $seqfile; while () {...2092 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[0].parts.fasta",-format=>'fasta'); open(SCAFF,">$ARGV[0].parts.scaff"); while ( m...2058 days ago
Perl script to split fasta sequence / overlaps
#!/usr/bin/perl use strict; use warnings; my $len = 5000; my $over = 200; my $seq_id=$ARGV[0]; my $seqFile = $ARGV[1]; my $seq; open(my $fh, "2039 days ago
Perl script to split fasta sequence and create overlaps
#!/usr/bin/perl use strict; use warnings; my $len = 5000; my $over = 200; my $seq_id=$ARGV[0]; my $seqFile = $ARGV[1]; my $seq; open(my $fh, "1968 days ago
Perl script to run in parellel !
...n"; touch( "$chr_set.out", $chr_seq ); print "finished run with parameters $chr_set!\n"; } sub touch { my ($fn, $seq) = @_; open FILE, ">$fn" or die $!;...1682 days ago
Bash commandline to install Anaconda !
...2019.1.23-0 ... installing: intel-openmp-2019.3-199 ... installing:...es-6.1-he6710b0_1 ... installing: openssl-1.1.1b-h7b6447c_1 ... ins...: nltk-3.4-py37_1 ... installing: openpyxl-2.6.1-py37_1 ... install...anges to take effect, close and re-open your current shell....1551 days ago
Bash command to install Miniconda !
...df63c60_0 - ncurses==6.1=he6710b0_1 - openssl==1.1.1d=h7b6447c_3 -...4c3975_0 - pycparser==2.19=py37_0 - pyopenssl==19.0.0=py37_0 - pyso...==> For changes to take effect, close and re-open your current shell....1551 days ago
Commands to install conda in Ubuntu !
...============= Anaconda Distribution contains open source software packages from...distribution that relate to cryptogr aphy: openssl The OpenSSL Project i.... installing: nltk-3.4-py37_1 ... installing: openpyxl-2.6.1-py37_1 ... install...1507 days ago
1503 days ago
1438 days ago