Description Usage Arguments Value Examples
View source: R/vcf2GT2dsg2DP.R
extract infomation of STR from gangSTR vcfs
1 | vcf2GT(vcf_file)
|
vcf_file |
the out file of gangSTR |
GT, a dataframe extracted from eachvcf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | s=vcf2GT(vcf_file) %>% GT2maxlen()
s=vcf2GT(vcf_file) %>% GT2dsg()
s=vcf2DP(vcf_file)
GT
ChromKey,POS,Indiv,gt_GT,gt_GT_alleles,REF
1,14070,SRR656421Aligned.sortedByCoord.out,.,,cctccctccctc
1,16620,SRR656421Aligned.sortedByCoord.out,0/0,gctgctgctgct/gctgctgctgct,gctgctgctgct
1,22812,SRR656421Aligned.sortedByCoord.out,0/0,aggaaaggaa/aggaaaggaa,aggaaaggaa
1,26454,SRR656421Aligned.sortedByCoord.out,.,,gtgtgtgtgtgt
dsg:
ChromKey POS SRR600493Aligned.sortedByCoord.out
1 16620 0
1 22812 10
1 138589 -12
maxlen:
1 16620 12
1 22812 15
1 138589 12
DP:
CHROM POS DP
chr1 14070 <NA>
chr1 16620 6
chr1 22812 2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.