in reply to Re: merge multiple files based on a common column and each having 2k-3k columns
in thread merge multiple files based on a common column and each having 2k-3k columns

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^2: merge multiple files based on a common column and each having 2k-3k columns

Replies are listed 'Best First'.
Re^3: merge multiple files based on a common column and each having 2k-3k columns
by Laurent_R (Canon) on Sep 06, 2018 at 10:13 UTC
    No, I can't write the script for you because (1) Perl Monks is not a free code-writing service, (2) you would not learn anything from having someone else do the work for you, and (3) you did not provide enough details about your input files (e.g. how are your columns delimited).

    But, of course, many monks here, including myself, are willing to help if you show some effort at trying to do it.

      i have first column heading as "marker" and from 2nd column onwards genotypic id for 1000s of samples like geno-1, 2, ............ geno1x2..........................genonxn than do i have to mention "marker" as hash key and all geno ids as hash values in the script my @files = qw( input1.txt input2.txt inputn.txt ); %combinations = (’marker’ => ’geno-1’, ’marker’ => ’geno-2’, ’marker’ => ’geno-3’, ’marker’ => ’geno-nxn’,)
Re^3: merge multiple files based on a common column and each having 2k-3k columns
by marto (Cardinal) on Sep 06, 2018 at 10:36 UTC
Re^3: merge multiple files based on a common column and each having 2k-3k columns
by karlgoethebier (Abbot) on Sep 06, 2018 at 14:49 UTC

    Sorry, i‘m retired and don’t program anymore.

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help