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, 11-17-2026, 06:27 AM
|
0 responses
32 views
0 reactions
|
Last Post
by SEQadmin2
11-17-2026, 06:27 AM
|
||
|
Started by SEQadmin2, 11-12-2026, 07:59 AM
|
0 responses
43 views
0 reactions
|
Last Post
by SEQadmin2
11-12-2026, 07:59 AM
|
||
|
Started by SEQadmin2, 11-05-2026, 09:25 AM
|
0 responses
55 views
0 reactions
|
Last Post
by SEQadmin2
11-05-2026, 09:25 AM
|
||
|
Started by SEQadmin2, 11-03-2026, 11:54 AM
|
0 responses
79 views
0 reactions
|
Last Post
by SEQadmin2
11-03-2026, 11:54 AM
|
Comment