This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONSTRUCT {?concept a skos:Concept . | |
?concept skos:prefLabel ?label . | |
?concept skos:notation ?identifier . | |
} | |
WHERE { | |
?concept a skos:Concept . | |
OPTIONAL { ?resource2 a gpml:requiresCurationAttention . FILTER(?resource2 = ?concept) } | |
FILTER(!bound(?resource2)) | |
?concept rdfs:label ?label . | |
?concept dc:identifier ?identifier. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
construct {?identifier skos:relatedMatch ?relatedId . | |
} | |
where { | |
?uniprotconcept dc:identifier ?identifier . | |
?uniprotconcept wp:bdbEnsembl ?relatedId . | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONSTRUCT {?concept a skos:Concept . | |
?concept skos:prefLabel ?label . | |
?concept skos:notation ?identifier . | |
} | |
WHERE { | |
?concept a skos:Concept . | |
OPTIONAL { ?resource2 a gpml:requiresCurationAttention . FILTER(?resource2 = ?concept) } | |
FILTER(!bound(?resource2)) | |
?concept rdfs:label ?label . | |
?concept dc:identifier ?identifier. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a= 43; | |
If (a > 34) then | |
m=”1”; | |
elseif (a<3) then | |
m=”2”; | |
elseif (a<=34) then | |
m=”3”; else | |
m=”4”; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create subject and identify them with family URI | |
adam = familyUri["adam"] | |
beth = familyUri["beth"] | |
chuck = familyUri["chuck"] | |
dotty = familyUri["dotty"] | |
edward = familyUri["edward"] | |
fran = familyUri["fran"] | |
greg = familyUri["greg"] | |
harriet = familyUri["harriet"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@fruit = ("apple", "banana", "orange", "kiwi"); | |
foreach (@fruit) { | |
print $_."\n"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%fruitcolor = ("apple", "red", "banana", "yellow", "orange", "orange", "kiwi", "brown"); | |
print $fruitcolor{"apple"}."\n"; | |
print $fruitcolor{"banana"}."\n"; | |
print $fruitcolor{"orange"}."\n"; | |
print $fruitcolor{"kiwi"}."\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open EXPRESSIONFILE, "N:/FHML_BIGCAT/Bioinformatics/Programming/GeneExpression.txt"; | |
while ($line = <FILE>){ | |
@fields = split('\t', $line); | |
if ($fields[2]<0){ | |
print $line; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open EXPRESSIONFILE, "N:/FHML_BIGCAT/Bioinformatics/Programming/GeneExpression.txt"; | |
$counter = 0; | |
while ($line = <FILE>){ | |
@fields = split('\t', $line); | |
if ($fields[2]<0){ | |
$counter = $counter + 1; | |
} | |
} | |
print $counter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@fruit = ("apple", "banana", "orange", "kiwi"); | |
print $fruit[0]."\n"; | |
print $fruit[1]."\n"; | |
print $fruit[2]."\n"; | |
print $fruit[3]."\n"; |