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
SELECT fr.rfam_acc, fr.rfamseq_acc | |
FROM full_region fr, rfamseq rs | |
WHERE fr.rfamseq_acc=rs.rfamseq_acc | |
AND fr.is_significant=1 AND rs.ncbi_id=6239 -- C.elegans | |
ORDER BY fr.rfam_acc; |
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
SELECT f.rfam_acc | |
from family f, family_ncbi fn, taxonomy tx | |
where f.rfam_acc=fn.rfam_acc | |
AND fn.ncbi_id=tx.ncbi_id | |
AND tax_string like '%Mammal%'; |
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
SELECT fr.rfamseq_acc | |
FROM full_region fr, family f | |
WHERE fr.rfam_acc=f.rfam_acc | |
AND f.rfam_id='5S_rRNA'; |
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
SELECT rfamseq_acc | |
FROM full_region | |
WHERE rfam_acc='RF00001'; |
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
SELECT fr.rfamseq_acc | |
FROM full_region fr, rfamseq rf, taxonomy tx | |
WHERE rf.ncbi_id=tx.ncbi_id | |
AND fr.rfamseq_acc=rf.rfamseq_acc | |
AND tx.tax_string LIKE '%Viridiplantae%'; |
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
SELECT fr.rfam_acc, fr.rfamseq_acc, fr.seq_start, fr.seq_end | |
FROM full_region fr,rfamseq rf,taxonomy tx | |
WHERE rf.ncbi_id=tx.ncbi_id | |
AND fr.rfamseq_acc=rf.rfamseq_acc | |
AND tx.ncbi_id = 10116 -- ncbi tax id | |
AND fr.is_significant = 1; |