This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Perl programming to create a matrix by specific columns and rows name

how can I create a matrix in Perl by using columns and rows name provided in two different text files . One file contain the chromosome name and another contain samples name. I want to do sample names as row and chromosome names as column.

file1:- chr1: chr13 chr10 chr4: chr7: chr20 chr14

file2:- gw6.0006 gw6.00033 gw6.0002 gw6.00027 gw6.00024

help will be greatly appreciated

perl

You just want to transpose one of the files, and stick them together? Is this matrix intended to be empty for now?

Yes, this matrix intended to be empty for now. I am new with perl programming.

Hello rochiritz!

We believe that this post does not fit the main topic of this site.

rochiritz You have already had a thread like this closed once for not being relevant/high enough quality. Do not open duplicates.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.