Hi all,
Could anyone tell me how to get from a sequence file the sequence which is delimited from certain positions? As an example:
Original file:
asdfgh
qwert
Get sequence from positions 2 to 8:
I tried the following:
cat original.txt | cut -c 2-8 >result file
Result file:
sdfgh
wert
Instead of that I would like to obtain:
sdfghqwe
Can anyone help me?
Could anyone tell me how to get from a sequence file the sequence which is delimited from certain positions? As an example:
Original file:
asdfgh
qwert
Get sequence from positions 2 to 8:
I tried the following:
cat original.txt | cut -c 2-8 >result file
Result file:
sdfgh
wert
Instead of that I would like to obtain:
sdfghqwe
Can anyone help me?
Comment