bliako, what an interesting subject matter! As of yet, I'm unable to follow you. My first problem is that I get nothing from the wget command:
$ wget ftp://ftp.ncbi.nih.gov/genomes/Homo_sapiens/CHR_20/hs_ref_GRCh3 +8.p12_chr20.fa.gz --2019-01-23 07:54:51-- ftp://ftp.ncbi.nih.gov/genomes/Homo_sapiens/C +HR_20/hs_ref_GRCh38.p12_chr20.fa.gz => ‘hs_ref_GRCh38.p12_chr20.fa.gz’ Resolving ftp.ncbi.nih.gov (ftp.ncbi.nih.gov)... 130.14.250.12, 2607:f +220:41e:250::12 Connecting to ftp.ncbi.nih.gov (ftp.ncbi.nih.gov)|130.14.250.12|:21... + failed: Connection timed out. Connecting to ftp.ncbi.nih.gov (ftp.ncbi.nih.gov)|2607:f220:41e:250::1 +2|:21... failed: Network is unreachable. $
I took some care that newlines, spaces and plusses were removed from the foldover effect, but that is error-prone. I do see 'nih' in the url and suspect that it might be closed because of Orange Ulbricht.(?)
I can't call the package properly. I usually don't have packages with scope, so I don't know what to do with this. I tried to imitate what cpan does for module and then use as a lib. Perl isn't impressed:
$ mkdir Markov $ cd Markov/ $ touch Ndimensional.pm $ gedit Ndimensional.pm & [1] 20524 $ pwd /home/bob/2.scripts/pages/7.cw/template_stuff/crosswords/eugene/Markov [1]+ Done gedit Ndimensional.pm ^^^^ pasted in source $ cd .. $ ls 1.bliako.pl bliako1.pm Markov $ ./1.bliako.pl Can't locate Markov/Ndimensional.pm in @INC (you may need to install t +he Markov::Ndimensional module) (@INC contains: Markov /home/bob/perl +5/lib/perl5/x86_64-linux-gnu-thread-multi /home/bob/perl5/lib/perl5 / +etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share +/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /u +sr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib +/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./1.bliako.pl line + 13. BEGIN failed--compilation aborted at ./1.bliako.pl line 13. $
, where caller looks like this:
$ cat 1.bliako.pl #!/usr/bin/env perl # FILE: analyse_DNA_sequence.pl # by bliako use strict; use warnings; use Getopt::Long; use Data::Dump qw/dump/; use lib 'Markov'; use Markov::Ndimensional;
My question then is whether the download is there for anyone else and where to put Ndimensional.pm and how to call it correctly.
I think it's a way in which perl truly is relevant.
In reply to Re: n-dimensional statistical analysis of DNA sequences (or text, or ...)
by Aldebaran
in thread n-dimensional statistical analysis of DNA sequences (or text, or ...)
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |