Skip to content

Instantly share code, notes, and snippets.

@dbolser
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbolser/8705076 to your computer and use it in GitHub Desktop.
Save dbolser/8705076 to your computer and use it in GitHub Desktop.
SELECT
s.name
FROM
seq_region s
INNER JOIN
seq_region_attrib USING (seq_region_id)
INNER JOIN
coord_system c USING (coord_system_id)
LEFT JOIN
assembly ON seq_region_id = asm_seq_region_id
WHERE
attrib_type_id = 6
AND
c.attrib NOT LIKE '%sequence_level%'
AND
asm_seq_region_id IS NULL
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment