Originally posted by KaiYe
View Post
Thanks,
Boel
You are currently viewing the SEQanswers forums as a guest, which limits your access. Click here to register now, and join the discussion
cat XXXX_D.vcf | grep DEL | awk '{print $1,"\t",$2,"\t&&&"$4}'| sed -e 's/&&&./-/'> XXXX_D.dindel.del
cat XXXX_SI.vcf | grep INS | awk '{print $1,"\t",$2,"\t&&&"$5}'| sed -e 's/&&&./+/' > XXXX_SI.dindel.ins
cat XXXX_D.dindel.del XXXX_SI.dindel.ins > XXXX.dindel.pindel
cat XXXX_D.vcf XXXX_INV.vcf XXXX_SI.vcf XXXX_TD.vcf | awk '/DEL/ {pos=$2+1; print $1,"\t",pos,"\t-"substr($4,2)}; /RPL|INV/ {pos=$2+1; print $1,"\t",pos,"\t-"substr($4,2)"\n"$1,"\t",pos,"\t+"substr($5,2)}; /INS/ {pos=$2+1; print $1"\t"pos"\t+"substr($5,2)}' > XXXX-all.pindel.dindel
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 10-22-2026, 11:13 AM
|
0 responses
38 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 11:13 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 10:48 AM
|
0 responses
28 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 10:48 AM
|
||
|
Started by SEQadmin2, 10-15-2026, 10:52 AM
|
0 responses
41 views
0 reactions
|
Last Post
by SEQadmin2
10-15-2026, 10:52 AM
|
||
|
Started by SEQadmin2, 10-14-2026, 05:39 AM
|
0 responses
45 views
0 reactions
|
Last Post
by SEQadmin2
10-14-2026, 05:39 AM
|
Comment