Код: Выделить всё
GENERSID1RSID2VALUE
ENSG00000242220rs2826052rs28260520.20961262553802
ENSG00000242220rs2826052rs798932040.00583452893352463
ENSG00000242220rs2826052rs117256228-0.003012912482066
Код: Выделить всё
GENE RSID1 RSID2 VALUE
ENSG00000242220 rs2826052 rs2826052 0.20961262553802
ENSG00000242220 rs2826052 rs79893204 0.00583452893352463
ENSG00000242220 rs2826052 rs117256228 -0.003012912482066
sed "s/rs/ &/g" Model_training_chr21_covariances.txt > Model_training_chr21_covariances1.txt
sed "s/-0/ &/" Model_training_chr21_covariances1.txt > Model_training_chr21_covariances2.txt
Код: Выделить всё
ENSG00000242220 rs2826052 rs28260520.20961262553802
ENSG00000242220 rs2826052 rs798932040.00583452893352463
ENSG00000242220 rs2826052 rs117256228 -0.003012912482066
Есть ли способ решить эту проблему.
Спасибо
Подробнее здесь: https://stackoverflow.com/questions/783 ... mal-number