You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a bioinformatics worker and often deal with some genotype files like this :
chr10 111 A T T
chr10 222 A T T
chr11 111 A T T
chr1 122 A T T
chr20 111 A T T
chr20 222 A T T
chr2 111 A T T
The frist column was out-of-order when cat all chromosome genotype files. So I used
csvtk -H -t sort -k 1:N text.txt
The result is :
chr1 122 A T T
chr2 111 A T T
chr10 111 A T T
chr10 222 A T T
chr11 111 A T T
chr20 222 A T T
chr20 111 A T T
OK~,The first column was ordered correctly,but the chr20 snp site of second column is out-of-order,even if I used csvtk -H -t sort -k 1:N -k 2:n text.txt, The result was not changed:
chr1 122 A T T
chr2 111 A T T
chr10 111 A T T
chr10 222 A T T
chr11 111 A T T
chr20 222 A T T
chr20 111 A T T
I don't know what happened inside the program.
The text was updated successfully, but these errors were encountered:
I am a bioinformatics worker and often deal with some genotype files like this :
The frist column was out-of-order when
cat
all chromosome genotype files. So I usedThe result is :
OK~,The first column was ordered correctly,but the chr20 snp site of second column is out-of-order,even if I used
csvtk -H -t sort -k 1:N -k 2:n text.txt
, The result was not changed:I don't know what happened inside the program.
The text was updated successfully, but these errors were encountered: