- a variant graphql server for visualizing the variant using the GraphQL.
- There are five methods in this:
cargo build
- To access the variant graphql
http://127.0.0.1:4000/graphql
-
There are five methods in the GraphQL
-
To build the variant
VariantBuilder {
variantbuilder {
path_of_file
}
}
- To search the specific variant by position
VariantBuilder {
variant_a {
position
}
}
- To search the variant by id
VariantBuilder {
variant_b {
id
}
}
- To get the variant by reference name
VariantBuilder {
variant_c {
refname
}
}
- To get the variant by the alt allele
VariantBuilder {
variant_d {
altlallele
}
}
- To get the variant between specific range
VariantBuilder {
variant_e {
startrange
endrange
}
}
- To get the variant allele by the ref allele and then search for the alt allele
VariantBuilder {
variant_f {
refallele
altallele
}
}
Gaurav Sablok
codeprog@icloud.com