Google Tag Manager
Our Difference
Whole Genome Sequencing
Privacy Forever
Products
Reports Market
Support
Sign In
Sign Up
Chain83: High blood pressue sensitive to salt
« Back to App Chain search
Developer Center
Fork me on GitHub
Additional info
Related chains
API responses
Code
Developer
Dr. Colby
Genetic info
Genes
Genetic variants
AGT
rs699,rs5041,rs4762,rs5049,chr1:230849872
Chain18
Predisposed to excel at endurance-based physical activities and sports
Chain16
Likely to have exercise-induced fatigue (cannot be overcome)
Chain19
Likely to have exercise-induced fatigue (can be overcome through exercise program)
Chain20
At risk for exercise-induced muscle damage
Chain73
Heart attack risk (Analysis A)
Chain30
Wolff-Parkinson-White Syndrome
Chain74
Heart attack risk (Analysis B)
Chain1072
Mucopolysaccharidosis Type VI
Chain84
Idiopathic pancreatitis
Qualitative
Type
text
Possible responses
INCREASED RISK, Increased Risk Detected, No Increased Risk Detected
Swift
Objective-C
Java
Perl
Python
PHP
C#/.NET
Copy code to clipboard
let appChainsManager = AppChains.init(token: "<YOUR TOKEN HERE>" as String, withHostName: "api.sequencing.com") appChainsManager.getReportWithApplicationMethodName("Chain83", withDatasourceId: "<FILE ID HERE>", withSuccessBlock: { (result) in let resultReport: Report = result as Report! if resultReport.isSucceeded() { if resultReport.getResults() != nil { for item: AnyObject in resultReport.getResults() { let resultObj = item as! Result let resultValue: ResultValue = resultObj.getValue() if resultValue.getType() == ResultType.Text { print(resultObj.getName() + " = " + (resultValue as! TextResultValue).getData()) } } } } else { print("Error occured while getting genetic information") } }) { (error) in print("Error occured while getting genetic information. " + error.localizedDescription) }
Copy code to clipboard
AppChains *appChains = [[AppChains alloc] initWithToken:@"<YOUR TOKEN HERE>" withHostName:@"api.sequencing.com"]; [appChains getReportWithApplicationMethodName:@"Chain83" withDatasourceId:@"<FILE ID HERE>" withSuccessBlock:^(Report *result) { for (Result *obj in [result getResults]) { ResultValue *frv = [obj getValue]; if ([frv getType] == kResultTypeText) { NSLog(@"\nvalue %@ = %@\n", [obj getName], [(TextResultValue *)frv getData]); } } } withFailureBlock:^(NSError *error) { NSLog(@"Error occured: %@", [error description]); }];
Copy code to clipboard
AppChains chains = new AppChains("<YOUR TOKEN HERE>", "api.sequencing.com"); Report result = chains.getReport("StartApp", "Chain83", "<FILE ID HERE>"); if (result.isSucceeded() == false) System.out.println("Request has failed"); else System.out.println("Request has succeeded"); for (Result r : result.getResults()) { ResultType type = r.getValue().getType(); if (type == ResultType.TEXT) { TextResultValue v = (TextResultValue) r.getValue(); System.out.println(String.format(" -> text result type %s = %s", r.getName(), v.getData())); } }
Copy code to clipboard
my $chains = AppChains->new("<YOUR TOKEN HERE>", "api.sequencing.com"); my $chainsResult = $chains->getReport("StartApp", "Chain83", "<FILE ID HERE>"); if ($chainsResult->isSucceeded()) { print "Request has succeeded\n"; } else { print "Request has failed\n"; } foreach (@{$chainsResult->getResults()}) { my $type = $_->getValue()->getType(); if ($type == ResultType->TEXT) { my $v = $_->getValue(); print sprintf("-> text result type %s = %s\n", $_->getName(), $v->getData()); } }
Copy code to clipboard
self.chains = AppChains('<YOUR TOKEN HERE>', 'api.sequencing.com') chains_result = self.chains.getReport('StartApp', 'Chain83', '<FILE ID HERE>') if chains_result.isSucceeded(): print('Request has succeeded') else: print('Request has failed') for r in chains_result.getResults(): file_type = r.getValue().getType() v = r.getValue() if file_type == 'TEXT': print('-> text result type {} = {}'.format( r.getName(), v.getData()))
Copy code to clipboard
$chains = new AppChains("<YOUR TOKEN HERE>", "api.sequencing.com"); $chainsResult = $chains->getReport("StartApp", "Chain83", "<FILE ID HERE>"); if ($chainsResult->isSucceeded()) echo "Request has succeeded\n"; else echo "Request has failed\n"; foreach ($chainsResult->getResults() as $r) { $type = $r->getValue()->getType(); switch ($type) { case ResultType::TEXT: $v = $r->getValue(); echo sprintf("-> text result type %s = %s\n", $r->getName(), $v->getData()); break; } }
Copy code to clipboard
var chains = new AppChains("<YOUR TOKEN HERE>", "https://api.sequencing.com/v1", "https://beacon.sequencing.com/"); Report result = chains.GetReport("Chain83", "<FILE ID HERE>"); if (result.Succeeded == false) Console.WriteLine("Request has failed"); else Console.WriteLine("Request has succeeded"); foreach (Result r in result.getResults()) { ResultType type = r.getValue().getType(); if (type == ResultType.TEXT) { var v = (TextResultValue) r.getValue(); Console.WriteLine(" -> text result type {0} = {1}", r.getName(), v.Data); } }