-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
will concatenating sequences returned from chado_get_feature_sequences be in the right order? #82
Comments
lets consider the feature in residues vs the built feature for $options = [];
$residues_seq = chado_get_feature_sequences(['feature_id' => 7008813], $options);
dpm($residues_seq[0]['residues']);
$options['derive_from_parent'] = 1;
$derived_array = chado_get_feature_sequences(['feature_id' => 7008813], $options);
$seq_build = '';
foreach ($derived_array as $sequence) {
$seq_string = $sequence['residues'];
dpm($seq_string);
if ($seq_string) {
$seq_build .= $seq_build . $seq_string;
}
}
$statement = ($seq_build === $residues_seq[0]['residues']);
dpm($statement); Pretty clear the sequences are built "backwards". Here is hte protein sequence from i5k, which matches the i5k CDS
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
we cant sort by rank.
This is the order the sequences are returned to me:
but since its negative strand im not positive if this is the right order or not!
In fact, none of the keys we have are helpful:
The text was updated successfully, but these errors were encountered: