123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882 |
- create table tableinfo (
- tableinfo_id serial not null,
- primary key (tableinfo_id),
- name varchar(30) not null,
- primary_key_column varchar(30) null,
- is_view int not null default 0,
- view_on_table_id int null,
- superclass_table_id int null,
- is_updateable int not null default 1,
- modification_date date not null default now(),
- constraint tableinfo_c1 unique (name)
- );
- COMMENT ON TABLE tableinfo IS NULL;
- create table db (
- db_id serial not null,
- primary key (db_id),
- name varchar(255) not null,
- description varchar(255) null,
- urlprefix varchar(255) null,
- url varchar(255) null,
- constraint db_c1 unique (name)
- );
- COMMENT ON TABLE db IS 'A database authority. Typical databases in
- bioinformatics are FlyBase, GO, UniProt, NCBI, MGI, etc. The authority
- is generally known by this shortened form, which is unique within the
- bioinformatics and biomedical realm. To Do - add support for URIs,
- URNs (e.g. LSIDs). We can do this by treating the URL as a URI -
- however, some applications may expect this to be resolvable - to be
- decided.';
- create table dbxref (
- dbxref_id serial not null,
- primary key (dbxref_id),
- db_id int not null,
- foreign key (db_id) references db (db_id) on delete cascade INITIALLY DEFERRED,
- accession varchar(255) not null,
- version varchar(255) not null default '',
- description text,
- constraint dbxref_c1 unique (db_id,accession,version)
- );
- create index dbxref_idx1 on dbxref (db_id);
- create index dbxref_idx2 on dbxref (accession);
- create index dbxref_idx3 on dbxref (version);
- COMMENT ON TABLE dbxref IS 'A unique, global, public, stable identifier. Not necessarily an external reference - can reference data items inside the particular chado instance being used. Typically a row in a table can be uniquely identified with a primary identifier (called dbxref_id); a table may also have secondary identifiers (in a linking table <T>_dbxref). A dbxref is generally written as <DB>:<ACCESSION> or as <DB>:<ACCESSION>:<VERSION>.';
- COMMENT ON COLUMN dbxref.accession IS 'The local part of the identifier. Guaranteed by the db authority to be unique for that db.';
- create table project (
- project_id serial not null,
- primary key (project_id),
- name varchar(255) not null,
- description varchar(255) not null,
- constraint project_c1 unique (name)
- );
- COMMENT ON TABLE project IS NULL;
- CREATE VIEW db_dbxref_count AS
- SELECT db.name,count(*) AS num_dbxrefs FROM db INNER JOIN dbxref USING (db_id) GROUP BY db.name;
- COMMENT ON VIEW db_dbxref_count IS 'per-db dbxref counts';
- CREATE OR REPLACE FUNCTION store_db (VARCHAR)
- RETURNS INT AS
- 'DECLARE
- v_name ALIAS FOR $1;
- v_db_id INTEGER;
- BEGIN
- SELECT INTO v_db_id db_id
- FROM db
- WHERE name=v_name;
- IF NOT FOUND THEN
- INSERT INTO db
- (name)
- VALUES
- (v_name);
- RETURN currval(''db_db_id_seq'');
- END IF;
- RETURN v_db_id;
- END;
- ' LANGUAGE 'plpgsql';
-
- CREATE OR REPLACE FUNCTION store_dbxref (VARCHAR,VARCHAR)
- RETURNS INT AS
- 'DECLARE
- v_dbname ALIAS FOR $1;
- v_accession ALIAS FOR $1;
- v_db_id INTEGER;
- v_dbxref_id INTEGER;
- BEGIN
- SELECT INTO v_db_id
- store_db(v_dbname);
- SELECT INTO v_dbxref_id dbxref_id
- FROM dbxref
- WHERE db_id=v_db_id AND
- accession=v_accession;
- IF NOT FOUND THEN
- INSERT INTO dbxref
- (db_id,accession)
- VALUES
- (v_db_id,v_accession);
- RETURN currval(''dbxref_dbxref_id_seq'');
- END IF;
- RETURN v_dbxref_id;
- END;
- ' LANGUAGE 'plpgsql';
-
- create table cv (
- cv_id serial not null,
- primary key (cv_id),
- name varchar(255) not null,
- definition text,
- constraint cv_c1 unique (name)
- );
- COMMENT ON TABLE cv IS 'A controlled vocabulary or ontology. A cv is
- composed of cvterms (AKA terms, classes, types, universals - relations
- and properties are also stored in cvterm) and the relationships
- between them.';
- COMMENT ON COLUMN cv.name IS 'The name of the ontology. This
- corresponds to the obo-format -namespace-. cv names uniquely identify
- the cv. In OBO file format, the cv.name is known as the namespace.';
- COMMENT ON COLUMN cv.definition IS 'A text description of the criteria for
- membership of this ontology.';
- create table cvterm (
- cvterm_id serial not null,
- primary key (cvterm_id),
- cv_id int not null,
- foreign key (cv_id) references cv (cv_id) on delete cascade INITIALLY DEFERRED,
- name varchar(1024) not null,
- definition text,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- is_obsolete int not null default 0,
- is_relationshiptype int not null default 0,
- constraint cvterm_c1 unique (name,cv_id,is_obsolete),
- constraint cvterm_c2 unique (dbxref_id)
- );
- create index cvterm_idx1 on cvterm (cv_id);
- create index cvterm_idx2 on cvterm (name);
- create index cvterm_idx3 on cvterm (dbxref_id);
- COMMENT ON TABLE cvterm IS 'A term, class, universal or type within an
- ontology or controlled vocabulary. This table is also used for
- relations and properties. cvterms constitute nodes in the graph
- defined by the collection of cvterms and cvterm_relationships.';
- COMMENT ON COLUMN cvterm.cv_id IS 'The cv or ontology or namespace to which
- this cvterm belongs.';
- COMMENT ON COLUMN cvterm.name IS 'A concise human-readable name or
- label for the cvterm. Uniquely identifies a cvterm within a cv.';
- COMMENT ON COLUMN cvterm.definition IS 'A human-readable text
- definition.';
- COMMENT ON COLUMN cvterm.dbxref_id IS 'Primary identifier dbxref - The
- unique global OBO identifier for this cvterm. Note that a cvterm may
- have multiple secondary dbxrefs - see also table: cvterm_dbxref.';
- COMMENT ON COLUMN cvterm.is_obsolete IS 'Boolean 0=false,1=true; see
- GO documentation for details of obsoletion. Note that two terms with
- different primary dbxrefs may exist if one is obsolete.';
- COMMENT ON COLUMN cvterm.is_relationshiptype IS 'Boolean
- 0=false,1=true relations or relationship types (also known as Typedefs
- in OBO format, or as properties or slots) form a cv/ontology in
- themselves. We use this flag to indicate whether this cvterm is an
- actual term/class/universal or a relation. Relations may be drawn from
- the OBO Relations ontology, but are not exclusively drawn from there.';
- COMMENT ON INDEX cvterm_c1 IS 'A name can mean different things in
- different contexts; for example "chromosome" in SO and GO. A name
- should be unique within an ontology or cv. A name may exist twice in a
- cv, in both obsolete and non-obsolete forms - these will be for
- different cvterms with different OBO identifiers; so GO documentation
- for more details on obsoletion. Note that occasionally multiple
- obsolete terms with the same name will exist in the same cv. If this
- is a possibility for the ontology under consideration (e.g. GO) then the
- ID should be appended to the name to ensure uniqueness.';
- COMMENT ON INDEX cvterm_c2 IS 'The OBO identifier is globally unique.';
- create table cvterm_relationship (
- cvterm_relationship_id serial not null,
- primary key (cvterm_relationship_id),
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- subject_id int not null,
- foreign key (subject_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- constraint cvterm_relationship_c1 unique (subject_id,object_id,type_id)
- );
- create index cvterm_relationship_idx1 on cvterm_relationship (type_id);
- create index cvterm_relationship_idx2 on cvterm_relationship (subject_id);
- create index cvterm_relationship_idx3 on cvterm_relationship (object_id);
- COMMENT ON TABLE cvterm_relationship IS 'A relationship linking two
- cvterms. Each cvterm_relationship constitutes an edge in the graph
- defined by the collection of cvterms and cvterm_relationships. The
- meaning of the cvterm_relationship depends on the definition of the
- cvterm R refered to by type_id. However, in general the definitions
- are such that the statement "all SUBJs REL some OBJ" is true. The
- cvterm_relationship statement is about the subject, not the
- object. For example "insect wing part_of thorax".';
- COMMENT ON COLUMN cvterm_relationship.subject_id IS 'The subject of
- the subj-predicate-obj sentence. The cvterm_relationship is about the
- subject. In a graph, this typically corresponds to the child node.';
- COMMENT ON COLUMN cvterm_relationship.object_id IS 'The object of the
- subj-predicate-obj sentence. The cvterm_relationship refers to the
- object. In a graph, this typically corresponds to the parent node.';
- COMMENT ON COLUMN cvterm_relationship.type_id IS 'The nature of the
- relationship between subject and object. Note that relations are also
- housed in the cvterm table, typically from the OBO relationship
- ontology, although other relationship types are allowed.';
- create table cvtermpath (
- cvtermpath_id serial not null,
- primary key (cvtermpath_id),
- type_id int,
- foreign key (type_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- subject_id int not null,
- foreign key (subject_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- cv_id int not null,
- foreign key (cv_id) references cv (cv_id) on delete cascade INITIALLY DEFERRED,
- pathdistance int,
- constraint cvtermpath_c1 unique (subject_id,object_id,type_id,pathdistance)
- );
- create index cvtermpath_idx1 on cvtermpath (type_id);
- create index cvtermpath_idx2 on cvtermpath (subject_id);
- create index cvtermpath_idx3 on cvtermpath (object_id);
- create index cvtermpath_idx4 on cvtermpath (cv_id);
- COMMENT ON TABLE cvtermpath IS 'The reflexive transitive closure of
- the cvterm_relationship relation.';
- COMMENT ON COLUMN cvtermpath.type_id IS 'The relationship type that
- this is a closure over. If null, then this is a closure over ALL
- relationship types. If non-null, then this references a relationship
- cvterm - note that the closure will apply to both this relationship
- AND the OBO_REL:is_a (subclass) relationship.';
- COMMENT ON COLUMN cvtermpath.cv_id IS 'Closures will mostly be within
- one cv. If the closure of a relationship traverses a cv, then this
- refers to the cv of the object_id cvterm.';
- COMMENT ON COLUMN cvtermpath.pathdistance IS 'The number of steps
- required to get from the subject cvterm to the object cvterm, counting
- from zero (reflexive relationship).';
- create table cvtermsynonym (
- cvtermsynonym_id serial not null,
- primary key (cvtermsynonym_id),
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- synonym varchar(1024) not null,
- type_id int,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- constraint cvtermsynonym_c1 unique (cvterm_id,synonym)
- );
- create index cvtermsynonym_idx1 on cvtermsynonym (cvterm_id);
- COMMENT ON TABLE cvtermsynonym IS 'A cvterm actually represents a
- distinct class or concept. A concept can be refered to by different
- phrases or names. In addition to the primary name (cvterm.name) there
- can be a number of alternative aliases or synonyms. For example, "T
- cell" as a synonym for "T lymphocyte".';
- COMMENT ON COLUMN cvtermsynonym.type_id IS 'A synonym can be exact,
- narrower, or broader than.';
- create table cvterm_dbxref (
- cvterm_dbxref_id serial not null,
- primary key (cvterm_dbxref_id),
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- is_for_definition int not null default 0,
- constraint cvterm_dbxref_c1 unique (cvterm_id,dbxref_id)
- );
- create index cvterm_dbxref_idx1 on cvterm_dbxref (cvterm_id);
- create index cvterm_dbxref_idx2 on cvterm_dbxref (dbxref_id);
- COMMENT ON TABLE cvterm_dbxref IS 'In addition to the primary
- identifier (cvterm.dbxref_id) a cvterm can have zero or more secondary
- identifiers/dbxrefs, which may refer to records in external
- databases. The exact semantics of cvterm_dbxref are not fixed. For
- example: the dbxref could be a pubmed ID that is pertinent to the
- cvterm, or it could be an equivalent or similar term in another
- ontology. For example, GO cvterms are typically linked to InterPro
- IDs, even though the nature of the relationship between them is
- largely one of statistical association. The dbxref may be have data
- records attached in the same database instance, or it could be a
- "hanging" dbxref pointing to some external database. NOTE: If the
- desired objective is to link two cvterms together, and the nature of
- the relation is known and holds for all instances of the subject
- cvterm then consider instead using cvterm_relationship together with a
- well-defined relation.';
- COMMENT ON COLUMN cvterm_dbxref.is_for_definition IS 'A
- cvterm.definition should be supported by one or more references. If
- this column is true, the dbxref is not for a term in an external database -
- it is a dbxref for provenance information for the definition.';
- create table cvtermprop (
- cvtermprop_id serial not null,
- primary key (cvtermprop_id),
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- value text not null default '',
- rank int not null default 0,
- unique(cvterm_id, type_id, value, rank)
- );
- create index cvtermprop_idx1 on cvtermprop (cvterm_id);
- create index cvtermprop_idx2 on cvtermprop (type_id);
- COMMENT ON TABLE cvtermprop IS 'Additional extensible properties can be attached to a cvterm using this table. Corresponds to -AnnotationProperty- in W3C OWL format.';
- COMMENT ON COLUMN cvtermprop.type_id IS 'The name of the property or slot is a cvterm. The meaning of the property is defined in that cvterm.';
- COMMENT ON COLUMN cvtermprop.value IS 'The value of the property, represented as text. Numeric values are converted to their text representation.';
- COMMENT ON COLUMN cvtermprop.rank IS 'Property-Value ordering. Any
- cvterm can have multiple values for any particular property type -
- these are ordered in a list using rank, counting from zero. For
- properties that are single-valued rather than multi-valued, the
- default 0 value should be used.';
- create table dbxrefprop (
- dbxrefprop_id serial not null,
- primary key (dbxrefprop_id),
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) INITIALLY DEFERRED,
- value text not null default '',
- rank int not null default 0,
- constraint dbxrefprop_c1 unique (dbxref_id,type_id,rank)
- );
- create index dbxrefprop_idx1 on dbxrefprop (dbxref_id);
- create index dbxrefprop_idx2 on dbxrefprop (type_id);
- COMMENT ON TABLE dbxrefprop IS 'Metadata about a dbxref. Note that this is not defined in the dbxref module, as it depends on the cvterm table. This table has a structure analagous to cvtermprop.';
- CREATE OR REPLACE VIEW cv_root AS
- SELECT
- cv_id,
- cvterm_id AS root_cvterm_id
- FROM cvterm
- WHERE
- cvterm_id NOT IN ( SELECT subject_id FROM cvterm_relationship) AND
- is_obsolete=0;
- COMMENT ON VIEW cv_root IS 'the roots of a cv are the set of terms
- which have no parents (terms that are not the subject of a
- relation). Most cvs will have a single root, some may have >1. All
- will have at least 1';
- CREATE OR REPLACE VIEW cv_leaf AS
- SELECT
- cv_id,
- cvterm_id
- FROM cvterm
- WHERE
- cvterm_id NOT IN ( SELECT object_id FROM cvterm_relationship);
- COMMENT ON VIEW cv_leaf IS 'the leaves of a cv are the set of terms
- which have no children (terms that are not the object of a
- relation). All cvs will have at least 1 leaf';
- CREATE OR REPLACE VIEW common_ancestor_cvterm AS
- SELECT
- p1.subject_id AS cvterm1_id,
- p2.subject_id AS cvterm2_id,
- p1.object_id AS ancestor_cvterm_id,
- p1.pathdistance AS pathdistance1,
- p2.pathdistance AS pathdistance2,
- p1.pathdistance + p2.pathdistance
- AS total_pathdistance
- FROM
- cvtermpath AS p1,
- cvtermpath AS p2
- WHERE
- p1.object_id = p2.object_id;
- COMMENT ON VIEW common_ancestor_cvterm IS 'The common ancestor of any
- two terms is the intersection of both terms ancestors. Two terms can
- have multiple common ancestors. Use total_pathdistance to get the
- least common ancestor';
- CREATE OR REPLACE VIEW common_descendant_cvterm AS
- SELECT
- p1.object_id AS cvterm1_id,
- p2.object_id AS cvterm2_id,
- p1.subject_id AS ancestor_cvterm_id,
- p1.pathdistance AS pathdistance1,
- p2.pathdistance AS pathdistance2,
- p1.pathdistance + p2.pathdistance
- AS total_pathdistance
- FROM
- cvtermpath AS p1,
- cvtermpath AS p2
- WHERE
- p1.subject_id = p2.subject_id;
- COMMENT ON VIEW common_descendant_cvterm IS 'The common descendant of
- any two terms is the intersection of both terms descendants. Two terms
- can have multiple common descendants. Use total_pathdistance to get
- the least common ancestor';
- CREATE OR REPLACE VIEW stats_paths_to_root AS
- SELECT
- subject_id AS cvterm_id,
- count(DISTINCT cvtermpath_id) AS total_paths,
- avg(pathdistance) AS avg_distance,
- min(pathdistance) AS min_distance,
- max(pathdistance) AS max_distance
- FROM cvtermpath INNER JOIN cv_root ON (object_id=root_cvterm_id)
- GROUP BY cvterm_id;
- COMMENT ON VIEW stats_paths_to_root IS 'per-cvterm statistics on its
- placement in the DAG relative to the root. There may be multiple paths
- from any term to the root. This gives the total number of paths, and
- the average minimum and maximum distances. Here distance is defined by
- cvtermpath.pathdistance';
- CREATE VIEW cv_cvterm_count AS
- SELECT cv.name,count(*) AS num_terms_excl_obs FROM cv INNER JOIN cvterm USING (cv_id) WHERE is_obsolete=0 GROUP BY cv.name;
- COMMENT ON VIEW cv_cvterm_count IS 'per-cv terms counts (excludes obsoletes)';
- CREATE VIEW cv_cvterm_count_with_obs AS
- SELECT cv.name,count(*) AS num_terms_incl_obs FROM cv INNER JOIN cvterm USING (cv_id) GROUP BY cv.name;
- COMMENT ON VIEW cv_cvterm_count_with_obs IS 'per-cv terms counts (includes obsoletes)';
- CREATE VIEW cv_link_count AS
- SELECT cv.name AS cv_name,
- relation.name AS relation_name,
- relation_cv.name AS relation_cv_name,
- count(*) AS num_links
- FROM cv
- INNER JOIN cvterm ON (cvterm.cv_id=cv.cv_id)
- INNER JOIN cvterm_relationship ON (cvterm.cvterm_id=subject_id)
- INNER JOIN cvterm AS relation ON (type_id=relation.cvterm_id)
- INNER JOIN cv AS relation_cv ON (relation.cv_id=relation_cv.cv_id)
- GROUP BY cv.name,relation.name,relation_cv.name;
- COMMENT ON VIEW cv_link_count IS 'per-cv summary of number of
- links (cvterm_relationships) broken down by
- relationship_type. num_links is the total # of links of the specified
- type in which the subject_id of the link is in the named cv';
- CREATE VIEW cv_path_count AS
- SELECT cv.name AS cv_name,
- relation.name AS relation_name,
- relation_cv.name AS relation_cv_name,
- count(*) AS num_paths
- FROM cv
- INNER JOIN cvterm ON (cvterm.cv_id=cv.cv_id)
- INNER JOIN cvtermpath ON (cvterm.cvterm_id=subject_id)
- INNER JOIN cvterm AS relation ON (type_id=relation.cvterm_id)
- INNER JOIN cv AS relation_cv ON (relation.cv_id=relation_cv.cv_id)
- GROUP BY cv.name,relation.name,relation_cv.name;
- COMMENT ON VIEW cv_path_count IS 'per-cv summary of number of
- paths (cvtermpaths) broken down by relationship_type. num_paths is the
- total # of paths of the specified type in which the subject_id of the
- path is in the named cv. See also: cv_distinct_relations';
- CREATE OR REPLACE FUNCTION _get_all_subject_ids(integer) RETURNS SETOF cvtermpath AS
- '
- DECLARE
- root alias for $1;
- cterm cvtermpath%ROWTYPE;
- cterm2 cvtermpath%ROWTYPE;
- BEGIN
- FOR cterm IN SELECT * FROM cvterm_relationship WHERE object_id = root LOOP
- RETURN NEXT cterm;
- FOR cterm2 IN SELECT * FROM _get_all_subject_ids(cterm.subject_id) LOOP
- RETURN NEXT cterm2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_all_subject_ids(integer) RETURNS SETOF cvtermpath AS
- '
- DECLARE
- root alias for $1;
- cterm cvtermpath%ROWTYPE;
- exist_c int;
- BEGIN
- SELECT INTO exist_c count(*) FROM cvtermpath WHERE object_id = root and pathdistance <= 0;
- IF (exist_c > 0) THEN
- FOR cterm IN SELECT * FROM cvtermpath WHERE object_id = root and pathdistance > 0 LOOP
- RETURN NEXT cterm;
- END LOOP;
- ELSE
- FOR cterm IN SELECT * FROM _get_all_subject_ids(root) LOOP
- RETURN NEXT cterm;
- END LOOP;
- END IF;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_graph_below(integer) RETURNS SETOF cvtermpath AS
- '
- DECLARE
- root alias for $1;
- cterm cvtermpath%ROWTYPE;
- cterm2 cvtermpath%ROWTYPE;
- BEGIN
- FOR cterm IN SELECT * FROM cvterm_relationship WHERE object_id = root LOOP
- RETURN NEXT cterm;
- FOR cterm2 IN SELECT * FROM get_all_subject_ids(cterm.subject_id) LOOP
- RETURN NEXT cterm2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_graph_above(integer) RETURNS SETOF cvtermpath AS
- '
- DECLARE
- leaf alias for $1;
- cterm cvtermpath%ROWTYPE;
- cterm2 cvtermpath%ROWTYPE;
- BEGIN
- FOR cterm IN SELECT * FROM cvterm_relationship WHERE subject_id = leaf LOOP
- RETURN NEXT cterm;
- FOR cterm2 IN SELECT * FROM get_all_object_ids(cterm.object_id) LOOP
- RETURN NEXT cterm2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION _get_all_object_ids(integer) RETURNS SETOF cvtermpath AS
- '
- DECLARE
- leaf alias for $1;
- cterm cvtermpath%ROWTYPE;
- cterm2 cvtermpath%ROWTYPE;
- BEGIN
- FOR cterm IN SELECT * FROM cvterm_relationship WHERE subject_id = leaf LOOP
- RETURN NEXT cterm;
- FOR cterm2 IN SELECT * FROM _get_all_object_ids(cterm.object_id) LOOP
- RETURN NEXT cterm2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_all_object_ids(integer) RETURNS SETOF cvtermpath AS
- '
- DECLARE
- leaf alias for $1;
- cterm cvtermpath%ROWTYPE;
- exist_c int;
- BEGIN
- SELECT INTO exist_c count(*) FROM cvtermpath WHERE object_id = leaf and pathdistance <= 0;
- IF (exist_c > 0) THEN
- FOR cterm IN SELECT * FROM cvtermpath WHERE subject_id = leaf AND pathdistance > 0 LOOP
- RETURN NEXT cterm;
- END LOOP;
- ELSE
- FOR cterm IN SELECT * FROM _get_all_object_ids(leaf) LOOP
- RETURN NEXT cterm;
- END LOOP;
- END IF;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_it_sub_cvterm_ids(text) RETURNS SETOF cvterm AS
- '
- DECLARE
- query alias for $1;
- cterm cvterm%ROWTYPE;
- cterm2 cvterm%ROWTYPE;
- BEGIN
- FOR cterm IN EXECUTE query LOOP
- RETURN NEXT cterm;
- FOR cterm2 IN SELECT subject_id as cvterm_id FROM get_all_subject_ids(cterm.cvterm_id) LOOP
- RETURN NEXT cterm2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION _fill_cvtermpath4node(INTEGER, INTEGER, INTEGER, INTEGER, INTEGER) RETURNS INTEGER AS
- '
- DECLARE
- origin alias for $1;
- child_id alias for $2;
- cvid alias for $3;
- typeid alias for $4;
- depth alias for $5;
- cterm cvterm_relationship%ROWTYPE;
- exist_c int;
- BEGIN
- --- RAISE NOTICE ''depth=% root=%'', depth,child_id;
- --- not check type_id as it may be null and not very meaningful in cvtermpath when pathdistance > 1
- SELECT INTO exist_c count(*) FROM cvtermpath WHERE cv_id = cvid AND object_id = origin AND subject_id = child_id AND pathdistance = depth;
- IF (exist_c = 0) THEN
- INSERT INTO cvtermpath (object_id, subject_id, cv_id, type_id, pathdistance) VALUES(origin, child_id, cvid, typeid, depth);
- END IF;
- FOR cterm IN SELECT * FROM cvterm_relationship WHERE object_id = child_id LOOP
- PERFORM _fill_cvtermpath4node(origin, cterm.subject_id, cvid, cterm.type_id, depth+1);
- END LOOP;
- RETURN 1;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION _fill_cvtermpath4root(INTEGER, INTEGER) RETURNS INTEGER AS
- '
- DECLARE
- rootid alias for $1;
- cvid alias for $2;
- ttype int;
- cterm cvterm_relationship%ROWTYPE;
- child cvterm_relationship%ROWTYPE;
- BEGIN
- SELECT INTO ttype cvterm_id FROM cvterm WHERE (name = ''isa'' OR name = ''is_a'');
- PERFORM _fill_cvtermpath4node(rootid, rootid, cvid, ttype, 0);
- FOR cterm IN SELECT * FROM cvterm_relationship WHERE object_id = rootid LOOP
- PERFORM _fill_cvtermpath4root(cterm.subject_id, cvid);
- -- RAISE NOTICE ''DONE for term, %'', cterm.subject_id;
- END LOOP;
- RETURN 1;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION fill_cvtermpath(INTEGER) RETURNS INTEGER AS
- '
- DECLARE
- cvid alias for $1;
- root cvterm%ROWTYPE;
- BEGIN
- DELETE FROM cvtermpath WHERE cv_id = cvid;
- FOR root IN SELECT DISTINCT t.* from cvterm t LEFT JOIN cvterm_relationship r ON (t.cvterm_id = r.subject_id) INNER JOIN cvterm_relationship r2 ON (t.cvterm_id = r2.object_id) WHERE t.cv_id = cvid AND r.subject_id is null LOOP
- PERFORM _fill_cvtermpath4root(root.cvterm_id, root.cv_id);
- END LOOP;
- RETURN 1;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION fill_cvtermpath(cv.name%TYPE) RETURNS INTEGER AS
- '
- DECLARE
- cvname alias for $1;
- cv_id int;
- rtn int;
- BEGIN
- SELECT INTO cv_id cv.cv_id from cv WHERE cv.name = cvname;
- SELECT INTO rtn fill_cvtermpath(cv_id);
- RETURN rtn;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION _fill_cvtermpath4node2detect_cycle(INTEGER, INTEGER, INTEGER, INTEGER, INTEGER) RETURNS INTEGER AS
- '
- DECLARE
- origin alias for $1;
- child_id alias for $2;
- cvid alias for $3;
- typeid alias for $4;
- depth alias for $5;
- cterm cvterm_relationship%ROWTYPE;
- exist_c int;
- ccount int;
- ecount int;
- rtn int;
- BEGIN
- EXECUTE ''SELECT * FROM tmpcvtermpath p1, tmpcvtermpath p2 WHERE p1.subject_id=p2.object_id AND p1.object_id=p2.subject_id AND p1.object_id = ''|| origin || '' AND p2.subject_id = '' || child_id || ''AND '' || depth || ''> 0'';
- GET DIAGNOSTICS ccount = ROW_COUNT;
- IF (ccount > 0) THEN
- --RAISE EXCEPTION ''FOUND CYCLE: node % on cycle path'',origin;
- RETURN origin;
- END IF;
- EXECUTE ''SELECT * FROM tmpcvtermpath WHERE cv_id = '' || cvid || '' AND object_id = '' || origin || '' AND subject_id = '' || child_id || '' AND '' || origin || ''<>'' || child_id;
- GET DIAGNOSTICS ecount = ROW_COUNT;
- IF (ecount > 0) THEN
- --RAISE NOTICE ''FOUND TWICE (node), will check root obj % subj %'',origin, child_id;
- SELECT INTO rtn _fill_cvtermpath4root2detect_cycle(child_id, cvid);
- IF (rtn > 0) THEN
- RETURN rtn;
- END IF;
- END IF;
- EXECUTE ''SELECT * FROM tmpcvtermpath WHERE cv_id = '' || cvid || '' AND object_id = '' || origin || '' AND subject_id = '' || child_id || '' AND pathdistance = '' || depth;
- GET DIAGNOSTICS exist_c = ROW_COUNT;
- IF (exist_c = 0) THEN
- EXECUTE ''INSERT INTO tmpcvtermpath (object_id, subject_id, cv_id, type_id, pathdistance) VALUES('' || origin || '', '' || child_id || '', '' || cvid || '', '' || typeid || '', '' || depth || '')'';
- END IF;
- FOR cterm IN SELECT * FROM cvterm_relationship WHERE object_id = child_id LOOP
- --RAISE NOTICE ''DOING for node, % %'', origin, cterm.subject_id;
- SELECT INTO rtn _fill_cvtermpath4node2detect_cycle(origin, cterm.subject_id, cvid, cterm.type_id, depth+1);
- IF (rtn > 0) THEN
- RETURN rtn;
- END IF;
- END LOOP;
- RETURN 0;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION _fill_cvtermpath4root2detect_cycle(INTEGER, INTEGER) RETURNS INTEGER AS
- '
- DECLARE
- rootid alias for $1;
- cvid alias for $2;
- ttype int;
- ccount int;
- cterm cvterm_relationship%ROWTYPE;
- child cvterm_relationship%ROWTYPE;
- rtn int;
- BEGIN
- SELECT INTO ttype cvterm_id FROM cvterm WHERE (name = ''isa'' OR name = ''is_a'');
- SELECT INTO rtn _fill_cvtermpath4node2detect_cycle(rootid, rootid, cvid, ttype, 0);
- IF (rtn > 0) THEN
- RETURN rtn;
- END IF;
- FOR cterm IN SELECT * FROM cvterm_relationship WHERE object_id = rootid LOOP
- EXECUTE ''SELECT * FROM tmpcvtermpath p1, tmpcvtermpath p2 WHERE p1.subject_id=p2.object_id AND p1.object_id=p2.subject_id AND p1.object_id='' || rootid || '' AND p1.subject_id='' || cterm.subject_id;
- GET DIAGNOSTICS ccount = ROW_COUNT;
- IF (ccount > 0) THEN
- --RAISE NOTICE ''FOUND TWICE (root), will check root obj % subj %'',rootid,cterm.subject_id;
- SELECT INTO rtn _fill_cvtermpath4node2detect_cycle(rootid, cterm.subject_id, cvid, ttype, 0);
- IF (rtn > 0) THEN
- RETURN rtn;
- END IF;
- ELSE
- SELECT INTO rtn _fill_cvtermpath4root2detect_cycle(cterm.subject_id, cvid);
- IF (rtn > 0) THEN
- RETURN rtn;
- END IF;
- END IF;
- END LOOP;
- RETURN 0;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_cycle_cvterm_id(INTEGER, INTEGER) RETURNS INTEGER AS
- '
- DECLARE
- cvid alias for $1;
- rootid alias for $2;
- rtn int;
- BEGIN
- CREATE TEMP TABLE tmpcvtermpath(object_id int, subject_id int, cv_id int, type_id int, pathdistance int);
- CREATE INDEX tmp_cvtpath1 ON tmpcvtermpath(object_id, subject_id);
- SELECT INTO rtn _fill_cvtermpath4root2detect_cycle(rootid, cvid);
- IF (rtn > 0) THEN
- DROP TABLE tmpcvtermpath;
- RETURN rtn;
- END IF;
- DROP TABLE tmpcvtermpath;
- RETURN 0;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_cycle_cvterm_ids(INTEGER) RETURNS SETOF INTEGER AS
- '
- DECLARE
- cvid alias for $1;
- root cvterm%ROWTYPE;
- rtn int;
- BEGIN
- FOR root IN SELECT DISTINCT t.* from cvterm t WHERE cv_id = cvid LOOP
- SELECT INTO rtn get_cycle_cvterm_id(cvid,root.cvterm_id);
- IF (rtn > 0) THEN
- RETURN NEXT rtn;
- END IF;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_cycle_cvterm_id(INTEGER) RETURNS INTEGER AS
- '
- DECLARE
- cvid alias for $1;
- root cvterm%ROWTYPE;
- rtn int;
- BEGIN
- CREATE TEMP TABLE tmpcvtermpath(object_id int, subject_id int, cv_id int, type_id int, pathdistance int);
- CREATE INDEX tmp_cvtpath1 ON tmpcvtermpath(object_id, subject_id);
- FOR root IN SELECT DISTINCT t.* from cvterm t LEFT JOIN cvterm_relationship r ON (t.cvterm_id = r.subject_id) INNER JOIN cvterm_relationship r2 ON (t.cvterm_id = r2.object_id) WHERE t.cv_id = cvid AND r.subject_id is null LOOP
- SELECT INTO rtn _fill_cvtermpath4root2detect_cycle(root.cvterm_id, root.cv_id);
- IF (rtn > 0) THEN
- DROP TABLE tmpcvtermpath;
- RETURN rtn;
- END IF;
- END LOOP;
- DROP TABLE tmpcvtermpath;
- RETURN 0;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_cycle_cvterm_id(cv.name%TYPE) RETURNS INTEGER AS
- '
- DECLARE
- cvname alias for $1;
- cv_id int;
- rtn int;
- BEGIN
- SELECT INTO cv_id cv.cv_id from cv WHERE cv.name = cvname;
- SELECT INTO rtn get_cycle_cvterm_id(cv_id);
- RETURN rtn;
- END;
- '
- LANGUAGE 'plpgsql';
- create table pub (
- pub_id serial not null,
- primary key (pub_id),
- title text,
- volumetitle text,
- volume varchar(255),
- series_name varchar(255),
- issue varchar(255),
- pyear varchar(255),
- pages varchar(255),
- miniref varchar(255),
- uniquename text not null,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- is_obsolete boolean default 'false',
- publisher varchar(255),
- pubplace varchar(255),
- constraint pub_c1 unique (uniquename)
- );
- CREATE INDEX pub_idx1 ON pub (type_id);
- COMMENT ON TABLE pub IS 'A documented provenance artefact - publications,
- documents, personal communication.';
- COMMENT ON COLUMN pub.title IS 'Descriptive general heading.';
- COMMENT ON COLUMN pub.volumetitle IS 'Title of part if one of a series.';
- COMMENT ON COLUMN pub.series_name IS 'Full name of (journal) series.';
- COMMENT ON COLUMN pub.pages IS 'Page number range[s], e.g. 457--459, viii + 664pp, lv--lvii.';
- COMMENT ON COLUMN pub.type_id IS 'The type of the publication (book, journal, poem, graffiti, etc). Uses pub cv.';
- create table pub_relationship (
- pub_relationship_id serial not null,
- primary key (pub_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- constraint pub_relationship_c1 unique (subject_id,object_id,type_id)
- );
- create index pub_relationship_idx1 on pub_relationship (subject_id);
- create index pub_relationship_idx2 on pub_relationship (object_id);
- create index pub_relationship_idx3 on pub_relationship (type_id);
- COMMENT ON TABLE pub_relationship IS 'Handle relationships between
- publications, e.g. when one publication makes others obsolete, when one
- publication contains errata with respect to other publication(s), or
- when one publication also appears in another pub.';
- create table pub_dbxref (
- pub_dbxref_id serial not null,
- primary key (pub_dbxref_id),
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- is_current boolean not null default 'true',
- constraint pub_dbxref_c1 unique (pub_id,dbxref_id)
- );
- create index pub_dbxref_idx1 on pub_dbxref (pub_id);
- create index pub_dbxref_idx2 on pub_dbxref (dbxref_id);
- COMMENT ON TABLE pub_dbxref IS 'Handle links to repositories,
- e.g. Pubmed, Biosis, zoorec, OCLC, Medline, ISSN, coden...';
- create table pubauthor (
- pubauthor_id serial not null,
- primary key (pubauthor_id),
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- rank int not null,
- editor boolean default 'false',
- surname varchar(100) not null,
- givennames varchar(100),
- suffix varchar(100),
- constraint pubauthor_c1 unique (pub_id, rank)
- );
- create index pubauthor_idx2 on pubauthor (pub_id);
- COMMENT ON TABLE pubauthor IS 'An author for a publication. Note the denormalisation (hence lack of _ in table name) - this is deliberate as it is in general too hard to assign IDs to authors.';
- COMMENT ON COLUMN pubauthor.givennames IS 'First name, initials';
- COMMENT ON COLUMN pubauthor.suffix IS 'Jr., Sr., etc';
- COMMENT ON COLUMN pubauthor.rank IS 'Order of author in author list for this pub - order is important.';
- COMMENT ON COLUMN pubauthor.editor IS 'Indicates whether the author is an editor for linked publication. Note: this is a boolean field but does not follow the normal chado convention for naming booleans.';
- create table pubprop (
- pubprop_id serial not null,
- primary key (pubprop_id),
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text not null,
- rank integer,
- constraint pubprop_c1 unique (pub_id,type_id,rank)
- );
- create index pubprop_idx1 on pubprop (pub_id);
- create index pubprop_idx2 on pubprop (type_id);
- COMMENT ON TABLE pubprop IS 'Property-value pairs for a pub. Follows standard chado pattern.';
- create table organism (
- organism_id serial not null,
- primary key (organism_id),
- abbreviation varchar(255) null,
- genus varchar(255) not null,
- species varchar(255) not null,
- common_name varchar(255) null,
- comment text null,
- constraint organism_c1 unique (genus,species)
- );
- COMMENT ON TABLE organism IS 'The organismal taxonomic
- classification. Note that phylogenies are represented using the
- phylogeny module, and taxonomies can be represented using the cvterm
- module or the phylogeny module.';
- COMMENT ON COLUMN organism.species IS 'A type of organism is always
- uniquely identified by genus and species. When mapping from the NCBI
- taxonomy names.dmp file, this column must be used where it
- is present, as the common_name column is not always unique (e.g. environmental
- samples). If a particular strain or subspecies is to be represented,
- this is appended onto the species name. Follows standard NCBI taxonomy
- pattern.';
- create table organism_dbxref (
- organism_dbxref_id serial not null,
- primary key (organism_dbxref_id),
- organism_id int not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- constraint organism_dbxref_c1 unique (organism_id,dbxref_id)
- );
- create index organism_dbxref_idx1 on organism_dbxref (organism_id);
- create index organism_dbxref_idx2 on organism_dbxref (dbxref_id);
- create table organismprop (
- organismprop_id serial not null,
- primary key (organismprop_id),
- organism_id int not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint organismprop_c1 unique (organism_id,type_id,rank)
- );
- create index organismprop_idx1 on organismprop (organism_id);
- create index organismprop_idx2 on organismprop (type_id);
- COMMENT ON TABLE organismprop IS 'Tag-value properties - follows standard chado model.';
- CREATE OR REPLACE FUNCTION get_organism_id(VARCHAR,VARCHAR) RETURNS INT
- AS '
- SELECT organism_id
- FROM organism
- WHERE genus=$1
- AND species=$2
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_organism_id(VARCHAR) RETURNS INT
- AS '
- SELECT organism_id
- FROM organism
- WHERE genus=substring($1,1,position('' '' IN $1)-1)
- AND species=substring($1,position('' '' IN $1)+1)
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_organism_id_abbrev(VARCHAR) RETURNS INT
- AS '
- SELECT organism_id
- FROM organism
- WHERE substr(genus,1,1)=substring($1,1,1)
- AND species=substring($1,position('' '' IN $1)+1)
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION store_organism (VARCHAR,VARCHAR,VARCHAR)
- RETURNS INT AS
- 'DECLARE
- v_genus ALIAS FOR $1;
- v_species ALIAS FOR $2;
- v_common_name ALIAS FOR $3;
- v_organism_id INTEGER;
- BEGIN
- SELECT INTO v_organism_id organism_id
- FROM organism
- WHERE genus=v_genus AND
- species=v_species;
- IF NOT FOUND THEN
- INSERT INTO organism
- (genus,species,common_name)
- VALUES
- (v_genus,v_species,v_common_name);
- RETURN currval(''organism_organism_id_seq'');
- ELSE
- UPDATE organism
- SET common_name=v_common_name
- WHERE organism_id = v_organism_id;
- END IF;
- RETURN v_organism_id;
- END;
- ' LANGUAGE 'plpgsql';
-
- create table feature (
- feature_id serial not null,
- primary key (feature_id),
- dbxref_id int,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- organism_id int not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY DEFERRED,
- name varchar(255),
- uniquename text not null,
- residues text,
- seqlen int,
- md5checksum char(32),
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- is_analysis boolean not null default 'false',
- is_obsolete boolean not null default 'false',
- timeaccessioned timestamp not null default current_timestamp,
- timelastmodified timestamp not null default current_timestamp,
- constraint feature_c1 unique (organism_id,uniquename,type_id)
- );
- create sequence feature_uniquename_seq;
- create index feature_name_ind1 on feature(name);
- create index feature_idx1 on feature (dbxref_id);
- create index feature_idx2 on feature (organism_id);
- create index feature_idx3 on feature (type_id);
- create index feature_idx4 on feature (uniquename);
- create index feature_idx5 on feature (lower(name));
- ALTER TABLE feature ALTER residues SET STORAGE EXTERNAL;
- COMMENT ON TABLE feature IS 'A feature is a biological sequence or a
- section of a biological sequence, or a collection of such
- sections. Examples include genes, exons, transcripts, regulatory
- regions, polypeptides, protein domains, chromosome sequences, sequence
- variations, cross-genome match regions such as hits and HSPs and so
- on; see the Sequence Ontology for more. The combination of
- organism_id, uniquename and type_id should be unique.';
- COMMENT ON COLUMN feature.dbxref_id IS 'An optional primary public stable
- identifier for this feature. Secondary identifiers and external
- dbxrefs go in the table feature_dbxref.';
- COMMENT ON COLUMN feature.organism_id IS 'The organism to which this feature
- belongs. This column is mandatory.';
- COMMENT ON COLUMN feature.name IS 'The optional human-readable common name for
- a feature, for display purposes.';
- COMMENT ON COLUMN feature.uniquename IS 'The unique name for a feature; may
- not be necessarily be particularly human-readable, although this is
- preferred. This name must be unique for this type of feature within
- this organism.';
- COMMENT ON COLUMN feature.residues IS 'A sequence of alphabetic characters
- representing biological residues (nucleic acids, amino acids). This
- column does not need to be manifested for all features; it is optional
- for features such as exons where the residues can be derived from the
- featureloc. It is recommended that the value for this column be
- manifested for features which may may non-contiguous sublocations (e.g.
- transcripts), since derivation at query time is non-trivial. For
- expressed sequence, the DNA sequence should be used rather than the
- RNA sequence. The default storage method for the residues column is
- EXTERNAL, which will store it uncompressed to make substring operations
- faster.';
- COMMENT ON COLUMN feature.seqlen IS 'The length of the residue feature. See
- column:residues. This column is partially redundant with the residues
- column, and also with featureloc. This column is required because the
- location may be unknown and the residue sequence may not be
- manifested, yet it may be desirable to store and query the length of
- the feature. The seqlen should always be manifested where the length
- of the sequence is known.';
- COMMENT ON COLUMN feature.md5checksum IS 'The 32-character checksum of the sequence,
- calculated using the MD5 algorithm. This is practically guaranteed to
- be unique for any feature. This column thus acts as a unique
- identifier on the mathematical sequence.';
- COMMENT ON COLUMN feature.type_id IS 'A required reference to a table:cvterm
- giving the feature type. This will typically be a Sequence Ontology
- identifier. This column is thus used to subclass the feature table.';
- COMMENT ON COLUMN feature.is_analysis IS 'Boolean indicating whether this
- feature is annotated or the result of an automated analysis. Analysis
- results also use the companalysis module. Note that the dividing line
- between analysis and annotation may be fuzzy, this should be determined on
- a per-project basis in a consistent manner. One requirement is that
- there should only be one non-analysis version of each wild-type gene
- feature in a genome, whereas the same gene feature can be predicted
- multiple times in different analyses.';
- COMMENT ON COLUMN feature.is_obsolete IS 'Boolean indicating whether this
- feature has been obsoleted. Some chado instances may choose to simply
- remove the feature altogether, others may choose to keep an obsolete
- row in the table.';
- COMMENT ON COLUMN feature.timeaccessioned IS 'For handling object
- accession or modification timestamps (as opposed to database auditing data,
- handled elsewhere). The expectation is that these fields would be
- available to software interacting with chado.';
- COMMENT ON COLUMN feature.timelastmodified IS 'For handling object
- accession or modification timestamps (as opposed to database auditing data,
- handled elsewhere). The expectation is that these fields would be
- available to software interacting with chado.';
- create table featureloc (
- featureloc_id serial not null,
- primary key (featureloc_id),
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- srcfeature_id int,
- foreign key (srcfeature_id) references feature (feature_id) on delete set null INITIALLY DEFERRED,
- fmin int,
- is_fmin_partial boolean not null default 'false',
- fmax int,
- is_fmax_partial boolean not null default 'false',
- strand smallint,
- phase int,
- residue_info text,
- locgroup int not null default 0,
- rank int not null default 0,
- constraint featureloc_c1 unique (feature_id,locgroup,rank),
- constraint featureloc_c2 check (fmin <= fmax)
- );
- create index featureloc_idx1 on featureloc (feature_id);
- create index featureloc_idx2 on featureloc (srcfeature_id);
- create index featureloc_idx3 on featureloc (srcfeature_id,fmin,fmax);
- COMMENT ON TABLE featureloc IS 'The location of a feature relative to
- another feature. Important: interbase coordinates are used. This is
- vital as it allows us to represent zero-length features e.g. splice
- sites, insertion points without an awkward fuzzy system. Features
- typically have exactly ONE location, but this need not be the
- case. Some features may not be localized (e.g. a gene that has been
- characterized genetically but no sequence or molecular information is
- available). Note on multiple locations: Each feature can have 0 or
- more locations. Multiple locations do NOT indicate non-contiguous
- locations (if a feature such as a transcript has a non-contiguous
- location, then the subfeatures such as exons should always be
- manifested). Instead, multiple featurelocs for a feature designate
- alternate locations or grouped locations; for instance, a feature
- designating a blast hit or hsp will have two locations, one on the
- query feature, one on the subject feature. Features representing
- sequence variation could have alternate locations instantiated on a
- feature on the mutant strain. The column:rank is used to
- differentiate these different locations. Reflexive locations should
- never be stored - this is for -proper- (i.e. non-self) locations only; nothing should be located relative to itself.';
- COMMENT ON COLUMN featureloc.feature_id IS 'The feature that is being located. Any feature can have zero or more featurelocs.';
- COMMENT ON COLUMN featureloc.srcfeature_id IS 'The source feature which this location is relative to. Every location is relative to another feature (however, this column is nullable, because the srcfeature may not be known). All locations are -proper- that is, nothing should be located relative to itself. No cycles are allowed in the featureloc graph.';
- COMMENT ON COLUMN featureloc.fmin IS 'The leftmost/minimal boundary in the linear range represented by the featureloc. Sometimes (e.g. in Bioperl) this is called -start- although this is confusing because it does not necessarily represent the 5-prime coordinate. Important: This is space-based (interbase) coordinates, counting from zero. To convert this to the leftmost position in a base-oriented system (eg GFF, Bioperl), add 1 to fmin.';
- COMMENT ON COLUMN featureloc.fmax IS 'The rightmost/maximal boundary in the linear range represented by the featureloc. Sometimes (e.g. in bioperl) this is called -end- although this is confusing because it does not necessarily represent the 3-prime coordinate. Important: This is space-based (interbase) coordinates, counting from zero. No conversion is required to go from fmax to the rightmost coordinate in a base-oriented system that counts from 1 (e.g. GFF, Bioperl).';
- COMMENT ON COLUMN featureloc.strand IS 'The orientation/directionality of the
- location. Should be 0, -1 or +1.';
- COMMENT ON COLUMN featureloc.rank IS 'Used when a feature has >1
- location, otherwise the default rank 0 is used. Some features (e.g.
- blast hits and HSPs) have two locations - one on the query and one on
- the subject. Rank is used to differentiate these. Rank=0 is always
- used for the query, Rank=1 for the subject. For multiple alignments,
- assignment of rank is arbitrary. Rank is also used for
- sequence_variant features, such as SNPs. Rank=0 indicates the wildtype
- (or baseline) feature, Rank=1 indicates the mutant (or compared) feature.';
- COMMENT ON COLUMN featureloc.locgroup IS 'This is used to manifest redundant,
- derivable extra locations for a feature. The default locgroup=0 is
- used for the DIRECT location of a feature. Important: most Chado users may
- never use featurelocs WITH logroup > 0. Transitively derived locations
- are indicated with locgroup > 0. For example, the position of an exon on
- a BAC and in global chromosome coordinates. This column is used to
- differentiate these groupings of locations. The default locgroup 0
- is used for the main or primary location, from which the others can be
- derived via coordinate transformations. Another example of redundant
- locations is storing ORF coordinates relative to both transcript and
- genome. Redundant locations open the possibility of the database
- getting into inconsistent states; this schema gives us the flexibility
- of both warehouse instantiations with redundant locations (easier for
- querying) and management instantiations with no redundant
- locations. An example of using both locgroup and rank: imagine a
- feature indicating a conserved region between the chromosomes of two
- different species. We may want to keep redundant locations on both
- contigs and chromosomes. We would thus have 4 locations for the single
- conserved region feature - two distinct locgroups (contig level and
- chromosome level) and two distinct ranks (for the two species).';
- COMMENT ON COLUMN featureloc.residue_info IS 'Alternative residues,
- when these differ from feature.residues. For instance, a SNP feature
- located on a wild and mutant protein would have different alternative residues.
- for alignment/similarity features, the alternative residues is used to
- represent the alignment string (CIGAR format). Note on variation
- features; even if we do not want to instantiate a mutant
- chromosome/contig feature, we can still represent a SNP etc with 2
- locations, one (rank 0) on the genome, the other (rank 1) would have
- most fields null, except for alternative residues.';
- COMMENT ON COLUMN featureloc.phase IS 'Phase of translation with
- respect to srcfeature_id.
- Values are 0, 1, 2. It may not be possible to manifest this column for
- some features such as exons, because the phase is dependant on the
- spliceform (the same exon can appear in multiple spliceforms). This column is mostly useful for predicted exons and CDSs.';
- COMMENT ON COLUMN featureloc.is_fmin_partial IS 'This is typically
- false, but may be true if the value for column:fmin is inaccurate or
- the leftmost part of the range is unknown/unbounded.';
- COMMENT ON COLUMN featureloc.is_fmax_partial IS 'This is typically
- false, but may be true if the value for column:fmax is inaccurate or
- the rightmost part of the range is unknown/unbounded.';
- create table featureloc_pub (
- featureloc_pub_id serial not null,
- primary key (featureloc_pub_id),
- featureloc_id int not null,
- foreign key (featureloc_id) references featureloc (featureloc_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint featureloc_pub_c1 unique (featureloc_id,pub_id)
- );
- create index featureloc_pub_idx1 on featureloc_pub (featureloc_id);
- create index featureloc_pub_idx2 on featureloc_pub (pub_id);
- COMMENT ON TABLE featureloc_pub IS 'Provenance of featureloc. Linking table between featurelocs and publications that mention them.';
- create table feature_pub (
- feature_pub_id serial not null,
- primary key (feature_pub_id),
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint feature_pub_c1 unique (feature_id,pub_id)
- );
- create index feature_pub_idx1 on feature_pub (feature_id);
- create index feature_pub_idx2 on feature_pub (pub_id);
- COMMENT ON TABLE feature_pub IS 'Provenance. Linking table between features and publications that mention them.';
- create table feature_pubprop (
- feature_pubprop_id serial not null,
- primary key (feature_pubprop_id),
- feature_pub_id int not null,
- foreign key (feature_pub_id) references feature_pub (feature_pub_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint feature_pubprop_c1 unique (feature_pub_id,type_id,rank)
- );
- create index feature_pubprop_idx1 on feature_pubprop (feature_pub_id);
- COMMENT ON TABLE feature_pubprop IS 'Property or attribute of a feature_pub link.';
- create table featureprop (
- featureprop_id serial not null,
- primary key (featureprop_id),
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint featureprop_c1 unique (feature_id,type_id,rank)
- );
- create index featureprop_idx1 on featureprop (feature_id);
- create index featureprop_idx2 on featureprop (type_id);
- COMMENT ON TABLE featureprop IS 'A feature can have any number of slot-value property tags attached to it. This is an alternative to hardcoding a list of columns in the relational schema, and is completely extensible.';
- COMMENT ON COLUMN featureprop.type_id IS 'The name of the
- property/slot is a cvterm. The meaning of the property is defined in
- that cvterm. Certain property types will only apply to certain feature
- types (e.g. the anticodon property will only apply to tRNA features) ;
- the types here come from the sequence feature property ontology.';
- COMMENT ON COLUMN featureprop.value IS 'The value of the property, represented as text. Numeric values are converted to their text representation. This is less efficient than using native database types, but is easier to query.';
- COMMENT ON COLUMN featureprop.rank IS 'Property-Value ordering. Any
- feature can have multiple values for any particular property type -
- these are ordered in a list using rank, counting from zero. For
- properties that are single-valued rather than multi-valued, the
- default 0 value should be used';
- COMMENT ON INDEX featureprop_c1 IS 'For any one feature, multivalued
- property-value pairs must be differentiated by rank.';
- create table featureprop_pub (
- featureprop_pub_id serial not null,
- primary key (featureprop_pub_id),
- featureprop_id int not null,
- foreign key (featureprop_id) references featureprop (featureprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint featureprop_pub_c1 unique (featureprop_id,pub_id)
- );
- create index featureprop_pub_idx1 on featureprop_pub (featureprop_id);
- create index featureprop_pub_idx2 on featureprop_pub (pub_id);
- COMMENT ON TABLE featureprop_pub IS 'Provenance. Any featureprop assignment can optionally be supported by a publication.';
- create table feature_dbxref (
- feature_dbxref_id serial not null,
- primary key (feature_dbxref_id),
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- is_current boolean not null default 'true',
- constraint feature_dbxref_c1 unique (feature_id,dbxref_id)
- );
- create index feature_dbxref_idx1 on feature_dbxref (feature_id);
- create index feature_dbxref_idx2 on feature_dbxref (dbxref_id);
- COMMENT ON TABLE feature_dbxref IS 'Links a feature to dbxrefs. This is for secondary identifiers; primary identifiers should use feature.dbxref_id.';
- COMMENT ON COLUMN feature_dbxref.is_current IS 'True if this secondary dbxref is the most up to date accession in the corresponding db. Retired accessions should set this field to false';
- create table feature_relationship (
- feature_relationship_id serial not null,
- primary key (feature_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint feature_relationship_c1 unique (subject_id,object_id,type_id,rank)
- );
- create index feature_relationship_idx1 on feature_relationship (subject_id);
- create index feature_relationship_idx2 on feature_relationship (object_id);
- create index feature_relationship_idx3 on feature_relationship (type_id);
- COMMENT ON TABLE feature_relationship IS 'Features can be arranged in
- graphs, e.g. "exon part_of transcript part_of gene"; If type is
- thought of as a verb, the each arc or edge makes a statement
- [Subject Verb Object]. The object can also be thought of as parent
- (containing feature), and subject as child (contained feature or
- subfeature). We include the relationship rank/order, because even
- though most of the time we can order things implicitly by sequence
- coordinates, we can not always do this - e.g. transpliced genes. It is also
- useful for quickly getting implicit introns.';
- COMMENT ON COLUMN feature_relationship.subject_id IS 'The subject of the subj-predicate-obj sentence. This is typically the subfeature.';
- COMMENT ON COLUMN feature_relationship.object_id IS 'The object of the subj-predicate-obj sentence. This is typically the container feature.';
- COMMENT ON COLUMN feature_relationship.type_id IS 'Relationship type between subject and object. This is a cvterm, typically from the OBO relationship ontology, although other relationship types are allowed. The most common relationship type is OBO_REL:part_of. Valid relationship types are constrained by the Sequence Ontology.';
- COMMENT ON COLUMN feature_relationship.rank IS 'The ordering of subject features with respect to the object feature may be important (for example, exon ordering on a transcript - not always derivable if you take trans spliced genes into consideration). Rank is used to order these; starts from zero.';
- COMMENT ON COLUMN feature_relationship.value IS 'Additional notes or comments.';
-
- create table feature_relationship_pub (
- feature_relationship_pub_id serial not null,
- primary key (feature_relationship_pub_id),
- feature_relationship_id int not null,
- foreign key (feature_relationship_id) references feature_relationship (feature_relationship_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint feature_relationship_pub_c1 unique (feature_relationship_id,pub_id)
- );
- create index feature_relationship_pub_idx1 on feature_relationship_pub (feature_relationship_id);
- create index feature_relationship_pub_idx2 on feature_relationship_pub (pub_id);
- COMMENT ON TABLE feature_relationship_pub IS 'Provenance. Attach optional evidence to a feature_relationship in the form of a publication.';
-
- create table feature_relationshipprop (
- feature_relationshipprop_id serial not null,
- primary key (feature_relationshipprop_id),
- feature_relationship_id int not null,
- foreign key (feature_relationship_id) references feature_relationship (feature_relationship_id) on delete cascade,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint feature_relationshipprop_c1 unique (feature_relationship_id,type_id,rank)
- );
- create index feature_relationshipprop_idx1 on feature_relationshipprop (feature_relationship_id);
- create index feature_relationshipprop_idx2 on feature_relationshipprop (type_id);
- COMMENT ON TABLE feature_relationshipprop IS 'Extensible properties
- for feature_relationships. Analagous structure to featureprop. This
- table is largely optional and not used with a high frequency. Typical
- scenarios may be if one wishes to attach additional data to a
- feature_relationship - for example to say that the
- feature_relationship is only true in certain contexts.';
- COMMENT ON COLUMN feature_relationshipprop.type_id IS 'The name of the
- property/slot is a cvterm. The meaning of the property is defined in
- that cvterm. Currently there is no standard ontology for
- feature_relationship property types.';
- COMMENT ON COLUMN feature_relationshipprop.value IS 'The value of the
- property, represented as text. Numeric values are converted to their
- text representation. This is less efficient than using native database
- types, but is easier to query.';
- COMMENT ON COLUMN feature_relationshipprop.rank IS 'Property-Value
- ordering. Any feature_relationship can have multiple values for any particular
- property type - these are ordered in a list using rank, counting from
- zero. For properties that are single-valued rather than multi-valued,
- the default 0 value should be used.';
- create table feature_relationshipprop_pub (
- feature_relationshipprop_pub_id serial not null,
- primary key (feature_relationshipprop_pub_id),
- feature_relationshipprop_id int not null,
- foreign key (feature_relationshipprop_id) references feature_relationshipprop (feature_relationshipprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint feature_relationshipprop_pub_c1 unique (feature_relationshipprop_id,pub_id)
- );
- create index feature_relationshipprop_pub_idx1 on feature_relationshipprop_pub (feature_relationshipprop_id);
- create index feature_relationshipprop_pub_idx2 on feature_relationshipprop_pub (pub_id);
- COMMENT ON TABLE feature_relationshipprop_pub IS 'Provenance for feature_relationshipprop.';
- create table feature_cvterm (
- feature_cvterm_id serial not null,
- primary key (feature_cvterm_id),
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- is_not boolean not null default false,
- rank integer not null default 0,
- constraint feature_cvterm_c1 unique (feature_id,cvterm_id,pub_id,rank)
- );
- create index feature_cvterm_idx1 on feature_cvterm (feature_id);
- create index feature_cvterm_idx2 on feature_cvterm (cvterm_id);
- create index feature_cvterm_idx3 on feature_cvterm (pub_id);
- COMMENT ON TABLE feature_cvterm IS 'Associate a term from a cv with a feature, for example, GO annotation.';
- COMMENT ON COLUMN feature_cvterm.pub_id IS 'Provenance for the annotation. Each annotation should have a single primary publication (which may be of the appropriate type for computational analyses) where more details can be found. Additional provenance dbxrefs can be attached using feature_cvterm_dbxref.';
- COMMENT ON COLUMN feature_cvterm.is_not IS 'If this is set to true, then this annotation is interpreted as a NEGATIVE annotation - i.e. the feature does NOT have the specified function, process, component, part, etc. See GO docs for more details.';
- create table feature_cvtermprop (
- feature_cvtermprop_id serial not null,
- primary key (feature_cvtermprop_id),
- feature_cvterm_id int not null,
- foreign key (feature_cvterm_id) references feature_cvterm (feature_cvterm_id) on delete cascade,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint feature_cvtermprop_c1 unique (feature_cvterm_id,type_id,rank)
- );
- create index feature_cvtermprop_idx1 on feature_cvtermprop (feature_cvterm_id);
- create index feature_cvtermprop_idx2 on feature_cvtermprop (type_id);
- COMMENT ON TABLE feature_cvtermprop IS 'Extensible properties for
- feature to cvterm associations. Examples: GO evidence codes;
- qualifiers; metadata such as the date on which the entry was curated
- and the source of the association. See the featureprop table for
- meanings of type_id, value and rank.';
- COMMENT ON COLUMN feature_cvtermprop.type_id IS 'The name of the
- property/slot is a cvterm. The meaning of the property is defined in
- that cvterm. cvterms may come from the OBO evidence code cv.';
- COMMENT ON COLUMN feature_cvtermprop.value IS 'The value of the
- property, represented as text. Numeric values are converted to their
- text representation. This is less efficient than using native database
- types, but is easier to query.';
- COMMENT ON COLUMN feature_cvtermprop.rank IS 'Property-Value
- ordering. Any feature_cvterm can have multiple values for any particular
- property type - these are ordered in a list using rank, counting from
- zero. For properties that are single-valued rather than multi-valued,
- the default 0 value should be used.';
- create table feature_cvterm_dbxref (
- feature_cvterm_dbxref_id serial not null,
- primary key (feature_cvterm_dbxref_id),
- feature_cvterm_id int not null,
- foreign key (feature_cvterm_id) references feature_cvterm (feature_cvterm_id) on delete cascade,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- constraint feature_cvterm_dbxref_c1 unique (feature_cvterm_id,dbxref_id)
- );
- create index feature_cvterm_dbxref_idx1 on feature_cvterm_dbxref (feature_cvterm_id);
- create index feature_cvterm_dbxref_idx2 on feature_cvterm_dbxref (dbxref_id);
- COMMENT ON TABLE feature_cvterm_dbxref IS 'Additional dbxrefs for an association. Rows in the feature_cvterm table may be backed up by dbxrefs. For example, a feature_cvterm association that was inferred via a protein-protein interaction may be backed by by refering to the dbxref for the alternate protein. Corresponds to the WITH column in a GO gene association file (but can also be used for other analagous associations). See http://www.geneontology.org/doc/GO.annotation.shtml#file for more details.';
- create table feature_cvterm_pub (
- feature_cvterm_pub_id serial not null,
- primary key (feature_cvterm_pub_id),
- feature_cvterm_id int not null,
- foreign key (feature_cvterm_id) references feature_cvterm (feature_cvterm_id) on delete cascade,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint feature_cvterm_pub_c1 unique (feature_cvterm_id,pub_id)
- );
- create index feature_cvterm_pub_idx1 on feature_cvterm_pub (feature_cvterm_id);
- create index feature_cvterm_pub_idx2 on feature_cvterm_pub (pub_id);
- COMMENT ON TABLE feature_cvterm_pub IS 'Secondary pubs for an
- association. Each feature_cvterm association is supported by a single
- primary publication. Additional secondary pubs can be added using this
- linking table (in a GO gene association file, these corresponding to
- any IDs after the pipe symbol in the publications column.';
- create table synonym (
- synonym_id serial not null,
- primary key (synonym_id),
- name varchar(255) not null,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- synonym_sgml varchar(255) not null,
- constraint synonym_c1 unique (name,type_id)
- );
- create index synonym_idx1 on synonym (type_id);
- create index synonym_idx2 on synonym ((lower(synonym_sgml)));
- COMMENT ON TABLE synonym IS 'A synonym for a feature. One feature can have multiple synonyms, and the same synonym can apply to multiple features.';
- COMMENT ON COLUMN synonym.name IS 'The synonym itself. Should be human-readable machine-searchable ascii text.';
- COMMENT ON COLUMN synonym.synonym_sgml IS 'The fully specified synonym, with any non-ascii characters encoded in SGML.';
- COMMENT ON COLUMN synonym.type_id IS 'Types would be symbol and fullname for now.';
- create table feature_synonym (
- feature_synonym_id serial not null,
- primary key (feature_synonym_id),
- synonym_id int not null,
- foreign key (synonym_id) references synonym (synonym_id) on delete cascade INITIALLY DEFERRED,
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- is_current boolean not null default 'false',
- is_internal boolean not null default 'false',
- constraint feature_synonym_c1 unique (synonym_id,feature_id,pub_id)
- );
- create index feature_synonym_idx1 on feature_synonym (synonym_id);
- create index feature_synonym_idx2 on feature_synonym (feature_id);
- create index feature_synonym_idx3 on feature_synonym (pub_id);
- COMMENT ON TABLE feature_synonym IS 'Linking table between feature and synonym.';
- COMMENT ON COLUMN feature_synonym.pub_id IS 'The pub_id link is for relating the usage of a given synonym to the publication in which it was used.';
- COMMENT ON COLUMN feature_synonym.is_current IS 'The is_current boolean indicates whether the linked synonym is the current -official- symbol for the linked feature.';
- COMMENT ON COLUMN feature_synonym.is_internal IS 'Typically a synonym exists so that somebody querying the db with an obsolete name can find the object theyre looking for (under its current name. If the synonym has been used publicly and deliberately (e.g. in a paper), it may also be listed in reports as a synonym. If the synonym was not used deliberately (e.g. there was a typo which went public), then the is_internal boolean may be set to -true- so that it is known that the synonym is -internal- and should be queryable but should not be listed in reports as a valid synonym.';
- CREATE VIEW type_feature_count AS
- SELECT t.name AS type,count(*) AS num_features
- FROM cvterm AS t INNER JOIN feature ON (type_id=t.cvterm_id)
- GROUP BY t.name;
- COMMENT ON VIEW type_feature_count IS 'per-feature-type feature counts';
- CREATE SCHEMA genetic_code;
- SET search_path = genetic_code,public,pg_catalog;
- CREATE TABLE gencode (
- gencode_id INTEGER PRIMARY KEY NOT NULL,
- organismstr VARCHAR(512) NOT NULL
- );
- CREATE TABLE gencode_codon_aa (
- gencode_id INTEGER NOT NULL REFERENCES gencode(gencode_id),
- codon CHAR(3) NOT NULL,
- aa CHAR(1) NOT NULL
- );
- CREATE INDEX gencode_codon_aa_i1 ON gencode_codon_aa(gencode_id,codon,aa);
- CREATE TABLE gencode_startcodon (
- gencode_id INTEGER NOT NULL REFERENCES gencode(gencode_id),
- codon CHAR(3)
- );
- SET search_path = public,pg_catalog;
- CREATE OR REPLACE FUNCTION create_point (int, int) RETURNS point AS
- 'SELECT point ($1, $2)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION boxrange (int, int) RETURNS box AS
- 'SELECT box (create_point(0, $1), create_point($2,500000000))'
- LANGUAGE 'sql' IMMUTABLE;
- CREATE OR REPLACE FUNCTION boxquery (int, int) RETURNS box AS
- 'SELECT box (create_point($1, $2), create_point($1, $2))'
- LANGUAGE 'sql' IMMUTABLE;
- CREATE INDEX binloc_boxrange ON featureloc USING RTREE (boxrange(fmin, fmax));
- CREATE OR REPLACE FUNCTION featureloc_slice(int, int) RETURNS setof featureloc AS
- 'SELECT * from featureloc where boxquery($1, $2) @ boxrange(fmin,fmax)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION featureloc_slice(varchar, int, int)
- RETURNS setof featureloc AS
- 'SELECT featureloc.*
- FROM featureloc
- INNER JOIN feature AS srcf ON (srcf.feature_id = featureloc.srcfeature_id)
- WHERE boxquery($2, $3) @ boxrange(fmin,fmax)
- AND srcf.name = $1 '
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION featureloc_slice(int, int, int)
- RETURNS setof featureloc AS
- 'SELECT *
- FROM featureloc
- WHERE boxquery($2, $3) @ boxrange(fmin,fmax)
- AND srcfeature_id = $1 '
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION feature_overlaps(int)
- RETURNS setof feature AS
- 'SELECT feature.*
- FROM feature
- INNER JOIN featureloc AS x ON (x.feature_id=feature.feature_id)
- INNER JOIN featureloc AS y ON (y.feature_id = $1)
- WHERE
- x.srcfeature_id = y.srcfeature_id AND
- ( x.fmax >= y.fmin AND x.fmin <= y.fmax ) '
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION feature_disjoint_from(int)
- RETURNS setof feature AS
- 'SELECT feature.*
- FROM feature
- INNER JOIN featureloc AS x ON (x.feature_id=feature.feature_id)
- INNER JOIN featureloc AS y ON (y.feature_id = $1)
- WHERE
- x.srcfeature_id = y.srcfeature_id AND
- ( x.fmax < y.fmin OR x.fmin > y.fmax ) '
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION boxrange (int, int, int) RETURNS box AS
- 'SELECT box (create_point($1, $2), create_point($1,$3))'
- LANGUAGE 'sql' IMMUTABLE;
- CREATE OR REPLACE FUNCTION boxquery (int, int, int) RETURNS box AS
- 'SELECT box (create_point($1, $2), create_point($1, $3))'
- LANGUAGE 'sql' IMMUTABLE;
- CREATE INDEX binloc_boxrange_src ON featureloc USING RTREE (boxrange(srcfeature_id,fmin, fmax));
- CREATE OR REPLACE FUNCTION featureloc_slice(int, int, int)
- RETURNS setof featureloc AS
- 'SELECT *
- FROM featureloc
- WHERE boxquery($1, $2, $3) && boxrange(srcfeature_id,fmin,fmax)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION reverse_string(TEXT) RETURNS TEXT AS
- '
- DECLARE
- reversed_string TEXT;
- incoming ALIAS FOR $1;
- BEGIN
- reversed_string = '''';
- FOR i IN REVERSE char_length(incoming)..1 loop
- reversed_string = reversed_string || substring(incoming FROM i FOR 1);
- END loop;
- RETURN reversed_string;
- END'
- language plpgsql;
- CREATE OR REPLACE FUNCTION complement_residues(text) RETURNS text AS
- 'SELECT (translate($1,
- ''acgtrymkswhbvdnxACGTRYMKSWHBVDNX'',
- ''tgcayrkmswdvbhnxTGCAYRKMSWDVBHNX''))'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION reverse_complement(TEXT) RETURNS TEXT AS
- 'SELECT reverse_string(complement_residues($1))'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION translate_dna(TEXT,INT) RETURNS TEXT AS
- '
- DECLARE
- dnaseq ALIAS FOR $1;
- gcode ALIAS FOR $2;
- translation TEXT;
- dnaseqlen INT;
- codon CHAR(3);
- aa CHAR(1);
- i INT;
- BEGIN
- translation = '''';
- dnaseqlen = char_length(dnaseq);
- i=1;
- WHILE i+1 < dnaseqlen loop
- codon = substring(dnaseq,i,3);
- aa = translate_codon(codon,gcode);
- translation = translation || aa;
- i = i+3;
- END loop;
- RETURN translation;
- END'
- language plpgsql;
- CREATE OR REPLACE FUNCTION translate_dna(TEXT) RETURNS TEXT AS
- 'SELECT translate_dna($1,1)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION translate_codon(TEXT,INT) RETURNS CHAR AS
- 'SELECT aa FROM genetic_code.gencode_codon_aa WHERE codon=$1 AND gencode_id=$2'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION concat_pair (text, text) RETURNS text AS
- 'SELECT $1 || $2'
- LANGUAGE 'sql';
- CREATE AGGREGATE concat (
- sfunc = concat_pair,
- basetype = text,
- stype = text,
- initcond = ''
- );
- CREATE OR REPLACE FUNCTION share_exons () RETURNS void AS '
- DECLARE
- BEGIN
- /* Generate a table of shared exons */
- CREATE temporary TABLE shared_exons AS
- SELECT gene.feature_id as gene_feature_id
- , gene.uniquename as gene_uniquename
- , transcript1.uniquename as transcript1
- , exon1.feature_id as exon1_feature_id
- , exon1.uniquename as exon1_uniquename
- , transcript2.uniquename as transcript2
- , exon2.feature_id as exon2_feature_id
- , exon2.uniquename as exon2_uniquename
- , exon1_loc.fmin /* = exon2_loc.fmin */
- , exon1_loc.fmax /* = exon2_loc.fmax */
- FROM feature gene
- JOIN cvterm gene_type ON gene.type_id = gene_type.cvterm_id
- JOIN cv gene_type_cv USING (cv_id)
- JOIN feature_relationship gene_transcript1 ON gene.feature_id = gene_transcript1.object_id
- JOIN feature transcript1 ON gene_transcript1.subject_id = transcript1.feature_id
- JOIN cvterm transcript1_type ON transcript1.type_id = transcript1_type.cvterm_id
- JOIN cv transcript1_type_cv ON transcript1_type.cv_id = transcript1_type_cv.cv_id
- JOIN feature_relationship transcript1_exon1 ON transcript1_exon1.object_id = transcript1.feature_id
- JOIN feature exon1 ON transcript1_exon1.subject_id = exon1.feature_id
- JOIN cvterm exon1_type ON exon1.type_id = exon1_type.cvterm_id
- JOIN cv exon1_type_cv ON exon1_type.cv_id = exon1_type_cv.cv_id
- JOIN featureloc exon1_loc ON exon1_loc.feature_id = exon1.feature_id
- JOIN feature_relationship gene_transcript2 ON gene.feature_id = gene_transcript2.object_id
- JOIN feature transcript2 ON gene_transcript2.subject_id = transcript2.feature_id
- JOIN cvterm transcript2_type ON transcript2.type_id = transcript2_type.cvterm_id
- JOIN cv transcript2_type_cv ON transcript2_type.cv_id = transcript2_type_cv.cv_id
- JOIN feature_relationship transcript2_exon2 ON transcript2_exon2.object_id = transcript2.feature_id
- JOIN feature exon2 ON transcript2_exon2.subject_id = exon2.feature_id
- JOIN cvterm exon2_type ON exon2.type_id = exon2_type.cvterm_id
- JOIN cv exon2_type_cv ON exon2_type.cv_id = exon2_type_cv.cv_id
- JOIN featureloc exon2_loc ON exon2_loc.feature_id = exon2.feature_id
- WHERE gene_type_cv.name = ''sequence''
- AND gene_type.name = ''gene''
- AND transcript1_type_cv.name = ''sequence''
- AND transcript1_type.name = ''mRNA''
- AND transcript2_type_cv.name = ''sequence''
- AND transcript2_type.name = ''mRNA''
- AND exon1_type_cv.name = ''sequence''
- AND exon1_type.name = ''exon''
- AND exon2_type_cv.name = ''sequence''
- AND exon2_type.name = ''exon''
- AND exon1.feature_id < exon2.feature_id
- AND exon1_loc.rank = 0
- AND exon2_loc.rank = 0
- AND exon1_loc.fmin = exon2_loc.fmin
- AND exon1_loc.fmax = exon2_loc.fmax
- ;
-
- /* Choose one of the shared exons to be the canonical representative.
- We pick the one with the smallest feature_id.
- */
- CREATE temporary TABLE canonical_exon_representatives AS
- SELECT gene_feature_id, min(exon1_feature_id) AS canonical_feature_id, fmin
- FROM shared_exons
- GROUP BY gene_feature_id,fmin
- ;
-
- CREATE temporary TABLE exon_replacements AS
- SELECT DISTINCT shared_exons.exon2_feature_id AS actual_feature_id
- , canonical_exon_representatives.canonical_feature_id
- , canonical_exon_representatives.fmin
- FROM shared_exons
- JOIN canonical_exon_representatives USING (gene_feature_id)
- WHERE shared_exons.exon2_feature_id <> canonical_exon_representatives.canonical_feature_id
- AND shared_exons.fmin = canonical_exon_representatives.fmin
- ;
-
- UPDATE feature_relationship
- SET subject_id = (
- SELECT canonical_feature_id
- FROM exon_replacements
- WHERE feature_relationship.subject_id = exon_replacements.actual_feature_id)
- WHERE subject_id IN (
- SELECT actual_feature_id FROM exon_replacements
- );
-
- UPDATE feature_relationship
- SET object_id = (
- SELECT canonical_feature_id
- FROM exon_replacements
- WHERE feature_relationship.subject_id = exon_replacements.actual_feature_id)
- WHERE object_id IN (
- SELECT actual_feature_id FROM exon_replacements
- );
-
- UPDATE feature
- SET is_obsolete = true
- WHERE feature_id IN (
- SELECT actual_feature_id FROM exon_replacements
- );
- END;
- ' LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION order_exons (integer) RETURNS void AS '
- DECLARE
- parent_type ALIAS FOR $1;
- exon_id int;
- part_of int;
- exon_type int;
- strand int;
- arow RECORD;
- order_by varchar;
- rowcount int;
- exon_count int;
- ordered_exons int;
- transcript_id int;
- transcript_row feature%ROWTYPE;
- BEGIN
- SELECT INTO part_of cvterm_id FROM cvterm WHERE name=''part_of''
- AND cv_id IN (SELECT cv_id FROM cv WHERE name=''relationship'');
- --SELECT INTO exon_type cvterm_id FROM cvterm WHERE name=''exon''
- -- AND cv_id IN (SELECT cv_id FROM cv WHERE name=''sequence'');
- --RAISE NOTICE ''part_of %, exon %'',part_of,exon_type;
- FOR transcript_row IN
- SELECT * FROM feature WHERE type_id = parent_type
- LOOP
- transcript_id = transcript_row.feature_id;
- SELECT INTO rowcount count(*) FROM feature_relationship
- WHERE object_id = transcript_id
- AND rank = 0;
- --Dont modify this transcript if there are already numbered exons or
- --if there is only one exon
- IF rowcount = 1 THEN
- --RAISE NOTICE ''skipping transcript %, row count %'',transcript_id,rowcount;
- CONTINUE;
- END IF;
- --need to reverse the order if the strand is negative
- SELECT INTO strand strand FROM featureloc WHERE feature_id=transcript_id;
- IF strand > 0 THEN
- order_by = ''fl.fmin'';
- ELSE
- order_by = ''fl.fmax desc'';
- END IF;
- exon_count = 0;
- FOR arow IN EXECUTE
- ''SELECT fr.*, fl.fmin, fl.fmax
- FROM feature_relationship fr, featureloc fl
- WHERE fr.object_id = ''||transcript_id||''
- AND fr.subject_id = fl.feature_id
- AND fr.type_id = ''||part_of||''
- ORDER BY ''||order_by
- LOOP
- --number the exons for a given transcript
- UPDATE feature_relationship
- SET rank = exon_count
- WHERE feature_relationship_id = arow.feature_relationship_id;
- exon_count = exon_count + 1;
- END LOOP;
- END LOOP;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION project_point_up(int,int,int,int)
- RETURNS int AS
- 'SELECT
- CASE WHEN $4<0
- THEN $3-$1 -- rev strand
- ELSE $1-$2 -- fwd strand
- END AS p'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION project_point_down(int,int,int,int)
- RETURNS int AS
- 'SELECT
- CASE WHEN $4<0
- THEN $3-$1
- ELSE $1+$2
- END AS p'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION project_featureloc_up(int,int)
- RETURNS featureloc AS
- '
- DECLARE
- in_featureloc_id alias for $1;
- up_srcfeature_id alias for $2;
- in_featureloc featureloc%ROWTYPE;
- up_featureloc featureloc%ROWTYPE;
- nu_featureloc featureloc%ROWTYPE;
- nu_fmin INT;
- nu_fmax INT;
- nu_strand INT;
- BEGIN
- SELECT INTO in_featureloc
- featureloc.*
- FROM featureloc
- WHERE featureloc_id = in_featureloc_id;
- SELECT INTO up_featureloc
- up_fl.*
- FROM featureloc AS in_fl
- INNER JOIN featureloc AS up_fl
- ON (in_fl.srcfeature_id = up_fl.feature_id)
- WHERE
- in_fl.featureloc_id = in_featureloc_id AND
- up_fl.srcfeature_id = up_srcfeature_id;
- IF up_featureloc.strand IS NULL
- THEN RETURN NULL;
- END IF;
-
- IF up_featureloc.strand < 0
- THEN
- nu_fmin = project_point_up(in_featureloc.fmax,
- up_featureloc.fmin,up_featureloc.fmax,-1);
- nu_fmax = project_point_up(in_featureloc.fmin,
- up_featureloc.fmin,up_featureloc.fmax,-1);
- nu_strand = -in_featureloc.strand;
- ELSE
- nu_fmin = project_point_up(in_featureloc.fmin,
- up_featureloc.fmin,up_featureloc.fmax,1);
- nu_fmax = project_point_up(in_featureloc.fmax,
- up_featureloc.fmin,up_featureloc.fmax,1);
- nu_strand = in_featureloc.strand;
- END IF;
- in_featureloc.fmin = nu_fmin;
- in_featureloc.fmax = nu_fmax;
- in_featureloc.strand = nu_strand;
- in_featureloc.srcfeature_id = up_featureloc.srcfeature_id;
- RETURN in_featureloc;
- END
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION project_point_g2t(int,int,int)
- RETURNS INT AS '
- DECLARE
- in_p alias for $1;
- srcf_id alias for $2;
- t_id alias for $3;
- e_floc featureloc%ROWTYPE;
- out_p INT;
- exon_cvterm_id INT;
- BEGIN
- SELECT INTO exon_cvterm_id get_feature_type_id(''exon'');
- SELECT INTO out_p
- CASE
- WHEN strand<0 THEN fmax-p
- ELSE p-fmin
- END AS p
- FROM featureloc
- INNER JOIN feature USING (feature_id)
- INNER JOIN feature_relationship ON (feature.feature_id=subject_id)
- WHERE
- object_id = t_id AND
- feature.type_id = exon_cvterm_id AND
- featureloc.srcfeature_id = srcf_id AND
- in_p >= fmin AND
- in_p <= fmax;
- RETURN in_featureloc;
- END
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_cv_id_for_feature() RETURNS INT
- AS 'SELECT cv_id FROM cv WHERE name=''sequence''' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_cv_id_for_featureprop() RETURNS INT
- AS 'SELECT cv_id FROM cv WHERE name=''feature_property''' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_cv_id_for_feature_relationsgip() RETURNS INT
- AS 'SELECT cv_id FROM cv WHERE name=''relationship''' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_feature_type_id(VARCHAR) RETURNS INT
- AS '
- SELECT cvterm_id
- FROM cv INNER JOIN cvterm USING (cv_id)
- WHERE cvterm.name=$1 AND cv.name=''sequence''
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_featureprop_type_id(VARCHAR) RETURNS INT
- AS '
- SELECT cvterm_id
- FROM cv INNER JOIN cvterm USING (cv_id)
- WHERE cvterm.name=$1 AND cv.name=''feature_property''
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_feature_relationship_type_id(VARCHAR) RETURNS INT
- AS '
- SELECT cvterm_id
- FROM cv INNER JOIN cvterm USING (cv_id)
- WHERE cvterm.name=$1 AND cv.name=''relationship''
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_feature_id(VARCHAR,VARCHAR,VARCHAR) RETURNS INT
- AS '
- SELECT feature_id
- FROM feature
- WHERE uniquename=$1
- AND type_id=get_feature_type_id($2)
- AND organism_id=get_organism_id($3)
- ' LANGUAGE 'sql';
- CREATE SCHEMA so;
- SET search_path=so,public,pg_catalog;
- CREATE VIEW region AS
- SELECT
- feature_id AS region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'biomaterial_region' OR cvterm.name = 'experimental_feature' OR cvterm.name = 'biological_region' OR cvterm.name = 'topologically_defined_region' OR cvterm.name = 'reagent' OR cvterm.name = 'engineered_region' OR cvterm.name = 'PCR_product' OR cvterm.name = 'clone' OR cvterm.name = 'rescue_region' OR cvterm.name = 'oligo' OR cvterm.name = 'clone_insert' OR cvterm.name = 'cloned_region' OR cvterm.name = 'databank_entry' OR cvterm.name = 'RAPD' OR cvterm.name = 'genomic_clone' OR cvterm.name = 'cDNA_clone' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'validated_cDNA_clone' OR cvterm.name = 'invalidated_cDNA_clone' OR cvterm.name = 'three_prime_RACE_clone' OR cvterm.name = 'chimeric_cDNA_clone' OR cvterm.name = 'genomically_contaminated_cDNA_clone' OR cvterm.name = 'polyA_primed_cDNA_clone' OR cvterm.name = 'partially_processed_cDNA_clone' OR cvterm.name = 'engineered_rescue_region' OR cvterm.name = 'aptamer' OR cvterm.name = 'probe' OR cvterm.name = 'tag' OR cvterm.name = 'ss_oligo' OR cvterm.name = 'ds_oligo' OR cvterm.name = 'DNAzyme' OR cvterm.name = 'synthetic_oligo' OR cvterm.name = 'DNA_aptamer' OR cvterm.name = 'RNA_aptamer' OR cvterm.name = 'microarray_oligo' OR cvterm.name = 'SAGE_tag' OR cvterm.name = 'STS' OR cvterm.name = 'EST' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'five_prime_EST' OR cvterm.name = 'three_prime_EST' OR cvterm.name = 'UST' OR cvterm.name = 'RST' OR cvterm.name = 'three_prime_UST' OR cvterm.name = 'five_prime_UST' OR cvterm.name = 'three_prime_RST' OR cvterm.name = 'five_prime_RST' OR cvterm.name = 'primer' OR cvterm.name = 'sequencing_primer' OR cvterm.name = 'forward_primer' OR cvterm.name = 'reverse_primer' OR cvterm.name = 'RNAi_reagent' OR cvterm.name = 'DNA_constraint_sequence' OR cvterm.name = 'morpholino_oligo' OR cvterm.name = 'PNA_oligo' OR cvterm.name = 'LNA_oligo' OR cvterm.name = 'TNA_oligo' OR cvterm.name = 'GNA_oligo' OR cvterm.name = 'R_GNA_oligo' OR cvterm.name = 'S_GNA_oligo' OR cvterm.name = 'cloned_cDNA_insert' OR cvterm.name = 'cloned_genomic_insert' OR cvterm.name = 'engineered_insert' OR cvterm.name = 'BAC_cloned_genomic_insert' OR cvterm.name = 'engineered_gene' OR cvterm.name = 'engineered_plasmid' OR cvterm.name = 'engineered_rescue_region' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'engineered_foreign_region' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'engineered_insert' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_repetitive_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'match_part' OR cvterm.name = 'assembly_component' OR cvterm.name = 'conserved_region' OR cvterm.name = 'match' OR cvterm.name = 'remark' OR cvterm.name = 'reading_frame' OR cvterm.name = 'QTL' OR cvterm.name = 'consensus_region' OR cvterm.name = 'low_complexity_region' OR cvterm.name = 'assembly' OR cvterm.name = 'transcribed_fragment' OR cvterm.name = 'transcribed_cluster' OR cvterm.name = 'read_pair' OR cvterm.name = 'contig' OR cvterm.name = 'read' OR cvterm.name = 'restriction_fragment' OR cvterm.name = 'golden_path_fragment' OR cvterm.name = 'tiling_path_fragment' OR cvterm.name = 'gap' OR cvterm.name = 'sonicate_fragment' OR cvterm.name = 'contig_read' OR cvterm.name = 'BAC_end' OR cvterm.name = 'dye_terminator_read' OR cvterm.name = 'pyrosequenced_read' OR cvterm.name = 'ligation_based_read' OR cvterm.name = 'polymerase_synthesis_read' OR cvterm.name = 'PAC_end' OR cvterm.name = 'RFLP_fragment' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'coding_conserved_region' OR cvterm.name = 'nc_conserved_region' OR cvterm.name = 'homologous_region' OR cvterm.name = 'syntenic_region' OR cvterm.name = 'paralogous_region' OR cvterm.name = 'orthologous_region' OR cvterm.name = 'nucleotide_match' OR cvterm.name = 'protein_match' OR cvterm.name = 'expressed_sequence_match' OR cvterm.name = 'cross_genome_match' OR cvterm.name = 'translated_nucleotide_match' OR cvterm.name = 'primer_match' OR cvterm.name = 'EST_match' OR cvterm.name = 'cDNA_match' OR cvterm.name = 'UST_match' OR cvterm.name = 'RST_match' OR cvterm.name = 'sequence_difference' OR cvterm.name = 'experimental_result_region' OR cvterm.name = 'polypeptide_sequencing_information' OR cvterm.name = 'possible_base_call_error' OR cvterm.name = 'possible_assembly_error' OR cvterm.name = 'overlapping_feature_set' OR cvterm.name = 'no_output' OR cvterm.name = 'overlapping_EST_set' OR cvterm.name = 'non_adjacent_residues' OR cvterm.name = 'non_terminal_residue' OR cvterm.name = 'sequence_conflict' OR cvterm.name = 'sequence_uncertainty' OR cvterm.name = 'ORF' OR cvterm.name = 'blocked_reading_frame' OR cvterm.name = 'mini_gene' OR cvterm.name = 'rescue_mini_gene' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'sequence_assembly' OR cvterm.name = 'fragment_assembly' OR cvterm.name = 'supercontig' OR cvterm.name = 'contig' OR cvterm.name = 'tiling_path' OR cvterm.name = 'virtual_sequence' OR cvterm.name = 'golden_path' OR cvterm.name = 'ultracontig' OR cvterm.name = 'expressed_sequence_assembly' OR cvterm.name = 'fingerprint_map' OR cvterm.name = 'STS_map' OR cvterm.name = 'RH_map' OR cvterm.name = 'unigene_cluster' OR cvterm.name = 'sequence_secondary_structure' OR cvterm.name = 'linkage_group' OR cvterm.name = 'polypeptide' OR cvterm.name = 'deletion' OR cvterm.name = 'origin_of_replication' OR cvterm.name = 'recombination_feature' OR cvterm.name = 'CpG_island' OR cvterm.name = 'binding_site' OR cvterm.name = 'pseudogenic_region' OR cvterm.name = 'cap' OR cvterm.name = 'intergenic_region' OR cvterm.name = 'oligo_U_tail' OR cvterm.name = 'polyA_sequence' OR cvterm.name = 'insertion' OR cvterm.name = 'gene' OR cvterm.name = 'nucleotide_motif' OR cvterm.name = 'chromosome_part' OR cvterm.name = 'gene_member_region' OR cvterm.name = 'transcript_region' OR cvterm.name = 'polypeptide_region' OR cvterm.name = 'gene_component_region' OR cvterm.name = 'mobile_genetic_element' OR cvterm.name = 'replicon' OR cvterm.name = 'base' OR cvterm.name = 'amino_acid' OR cvterm.name = 'gene_group' OR cvterm.name = 'substitution' OR cvterm.name = 'inversion' OR cvterm.name = 'retron' OR cvterm.name = 'G_quartet' OR cvterm.name = 'base_pair' OR cvterm.name = 'RNA_sequence_secondary_structure' OR cvterm.name = 'DNA_sequence_secondary_structure' OR cvterm.name = 'pseudoknot' OR cvterm.name = 'WC_base_pair' OR cvterm.name = 'sugar_edge_base_pair' OR cvterm.name = 'Hoogsteen_base_pair' OR cvterm.name = 'reverse_Hoogsteen_base_pair' OR cvterm.name = 'wobble_base_pair' OR cvterm.name = 'stem_loop' OR cvterm.name = 'tetraloop' OR cvterm.name = 'i_motif' OR cvterm.name = 'recoding_pseudoknot' OR cvterm.name = 'H_pseudoknot' OR cvterm.name = 'D_loop' OR cvterm.name = 'ARS' OR cvterm.name = 'oriT' OR cvterm.name = 'amplification_origin' OR cvterm.name = 'oriV' OR cvterm.name = 'oriC' OR cvterm.name = 'recombination_hotspot' OR cvterm.name = 'haplotype_block' OR cvterm.name = 'sequence_rearrangement_feature' OR cvterm.name = 'iDNA' OR cvterm.name = 'specific_recombination_site' OR cvterm.name = 'chromosome_breakage_sequence' OR cvterm.name = 'internal_eliminated_sequence' OR cvterm.name = 'macronucleus_destined_segment' OR cvterm.name = 'recombination_feature_of_rearranged_gene' OR cvterm.name = 'site_specific_recombination_target_region' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_feature' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_spacer' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_signal_feature' OR cvterm.name = 'D_gene' OR cvterm.name = 'V_gene' OR cvterm.name = 'J_gene' OR cvterm.name = 'C_gene' OR cvterm.name = 'D_J_C_cluster' OR cvterm.name = 'J_C_cluster' OR cvterm.name = 'J_cluster' OR cvterm.name = 'V_cluster' OR cvterm.name = 'V_J_cluster' OR cvterm.name = 'V_J_C_cluster' OR cvterm.name = 'C_cluster' OR cvterm.name = 'D_cluster' OR cvterm.name = 'D_J_cluster' OR cvterm.name = 'three_prime_D_spacer' OR cvterm.name = 'five_prime_D_spacer' OR cvterm.name = 'J_spacer' OR cvterm.name = 'V_spacer' OR cvterm.name = 'VD_gene' OR cvterm.name = 'DJ_gene' OR cvterm.name = 'VDJ_gene' OR cvterm.name = 'VJ_gene' OR cvterm.name = 'DJ_J_cluster' OR cvterm.name = 'VDJ_J_C_cluster' OR cvterm.name = 'VDJ_J_cluster' OR cvterm.name = 'VJ_C_cluster' OR cvterm.name = 'VJ_J_C_cluster' OR cvterm.name = 'VJ_J_cluster' OR cvterm.name = 'D_DJ_C_cluster' OR cvterm.name = 'D_DJ_cluster' OR cvterm.name = 'D_DJ_J_C_cluster' OR cvterm.name = 'D_DJ_J_cluster' OR cvterm.name = 'V_DJ_cluster' OR cvterm.name = 'V_DJ_J_cluster' OR cvterm.name = 'V_VDJ_C_cluster' OR cvterm.name = 'V_VDJ_cluster' OR cvterm.name = 'V_VDJ_J_cluster' OR cvterm.name = 'V_VJ_C_cluster' OR cvterm.name = 'V_VJ_cluster' OR cvterm.name = 'V_VJ_J_cluster' OR cvterm.name = 'V_D_DJ_C_cluster' OR cvterm.name = 'V_D_DJ_cluster' OR cvterm.name = 'V_D_DJ_J_C_cluster' OR cvterm.name = 'V_D_DJ_J_cluster' OR cvterm.name = 'V_D_J_C_cluster' OR cvterm.name = 'V_D_J_cluster' OR cvterm.name = 'DJ_C_cluster' OR cvterm.name = 'DJ_J_C_cluster' OR cvterm.name = 'VDJ_C_cluster' OR cvterm.name = 'V_DJ_C_cluster' OR cvterm.name = 'V_DJ_J_C_cluster' OR cvterm.name = 'V_VDJ_J_C_cluster' OR cvterm.name = 'V_VJ_J_C_cluster' OR cvterm.name = 'J_gene_recombination_feature' OR cvterm.name = 'D_gene_recombination_feature' OR cvterm.name = 'V_gene_recombination_feature' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'integration_excision_site' OR cvterm.name = 'resolution_site' OR cvterm.name = 'inversion_site' OR cvterm.name = 'inversion_site_part' OR cvterm.name = 'attI_site' OR cvterm.name = 'attP_site' OR cvterm.name = 'attB_site' OR cvterm.name = 'attL_site' OR cvterm.name = 'attR_site' OR cvterm.name = 'attC_site' OR cvterm.name = 'attCtn_site' OR cvterm.name = 'loxP_site' OR cvterm.name = 'dif_site' OR cvterm.name = 'FRT_site' OR cvterm.name = 'IRLinv_site' OR cvterm.name = 'IRRinv_site' OR cvterm.name = 'protein_binding_site' OR cvterm.name = 'miRNA_target_site' OR cvterm.name = 'epitope' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'DNA_binding_site' OR cvterm.name = 'primer_binding_site' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'nuclease_binding_site' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'histone_binding_site' OR cvterm.name = 'insulator_binding_site' OR cvterm.name = 'enhancer_binding_site' OR cvterm.name = 'restriction_enzyme_binding_site' OR cvterm.name = 'nuclease_sensitive_site' OR cvterm.name = 'homing_endonuclease_binding_site' OR cvterm.name = 'nuclease_hypersensitive_site' OR cvterm.name = 'group_1_intron_homing_endonuclease_target_region' OR cvterm.name = 'DNAseI_hypersensitive_site' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'pseudogene' OR cvterm.name = 'decayed_exon' OR cvterm.name = 'pseudogenic_exon' OR cvterm.name = 'pseudogenic_transcript' OR cvterm.name = 'pseudogenic_rRNA' OR cvterm.name = 'pseudogenic_tRNA' OR cvterm.name = 'processed_pseudogene' OR cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'nuclear_gene' OR cvterm.name = 'mt_gene' OR cvterm.name = 'plastid_gene' OR cvterm.name = 'nucleomorph_gene' OR cvterm.name = 'plasmid_gene' OR cvterm.name = 'proviral_gene' OR cvterm.name = 'transposable_element_gene' OR cvterm.name = 'silenced_gene' OR cvterm.name = 'engineered_gene' OR cvterm.name = 'foreign_gene' OR cvterm.name = 'fusion_gene' OR cvterm.name = 'recombinationally_rearranged_gene' OR cvterm.name = 'gene_with_trans_spliced_transcript' OR cvterm.name = 'gene_with_polycistronic_transcript' OR cvterm.name = 'rescue_gene' OR cvterm.name = 'post_translationally_regulated_gene' OR cvterm.name = 'negatively_autoregulated_gene' OR cvterm.name = 'positively_autoregulated_gene' OR cvterm.name = 'translationally_regulated_gene' OR cvterm.name = 'epigenetically_modified_gene' OR cvterm.name = 'transgene' OR cvterm.name = 'predicted_gene' OR cvterm.name = 'protein_coding_gene' OR cvterm.name = 'retrogene' OR cvterm.name = 'ncRNA_gene' OR cvterm.name = 'cryptic_gene' OR cvterm.name = 'gene_cassette' OR cvterm.name = 'kinetoplast_gene' OR cvterm.name = 'maxicircle_gene' OR cvterm.name = 'minicircle_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'apicoplast_gene' OR cvterm.name = 'ct_gene' OR cvterm.name = 'chromoplast_gene' OR cvterm.name = 'cyanelle_gene' OR cvterm.name = 'leucoplast_gene' OR cvterm.name = 'proplastid_gene' OR cvterm.name = 'endogenous_retroviral_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'gene_silenced_by_DNA_modification' OR cvterm.name = 'gene_silenced_by_RNA_interference' OR cvterm.name = 'gene_silenced_by_histone_modification' OR cvterm.name = 'gene_silenced_by_DNA_methylation' OR cvterm.name = 'gene_silenced_by_histone_methylation' OR cvterm.name = 'gene_silenced_by_histone_deacetylation' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'recombinationally_inverted_gene' OR cvterm.name = 'recombinationally_rearranged_vertebrate_immune_system_gene' OR cvterm.name = 'gene_with_dicistronic_transcript' OR cvterm.name = 'gene_with_dicistronic_primary_transcript' OR cvterm.name = 'gene_with_dicistronic_mRNA' OR cvterm.name = 'wild_type_rescue_gene' OR cvterm.name = 'gene_rearranged_at_DNA_level' OR cvterm.name = 'maternally_imprinted_gene' OR cvterm.name = 'paternally_imprinted_gene' OR cvterm.name = 'allelically_excluded_gene' OR cvterm.name = 'floxed_gene' OR cvterm.name = 'gene_with_polyadenylated_mRNA' OR cvterm.name = 'gene_with_mRNA_with_frameshift' OR cvterm.name = 'gene_with_edited_transcript' OR cvterm.name = 'gene_with_recoded_mRNA' OR cvterm.name = 'gene_with_stop_codon_read_through' OR cvterm.name = 'gene_with_mRNA_recoded_by_translational_bypass' OR cvterm.name = 'gene_with_transcript_with_translational_frameshift' OR cvterm.name = 'gene_with_stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'gene_with_stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'gRNA_gene' OR cvterm.name = 'miRNA_gene' OR cvterm.name = 'scRNA_gene' OR cvterm.name = 'snoRNA_gene' OR cvterm.name = 'snRNA_gene' OR cvterm.name = 'SRP_RNA_gene' OR cvterm.name = 'stRNA_gene' OR cvterm.name = 'tmRNA_gene' OR cvterm.name = 'tRNA_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'DNA_motif' OR cvterm.name = 'RNA_motif' OR cvterm.name = 'PSE_motif' OR cvterm.name = 'GC_rich_promoter_region' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DMv4_motif' OR cvterm.name = 'DMv5_motif' OR cvterm.name = 'DMv3_motif' OR cvterm.name = 'DMv2_motif' OR cvterm.name = 'DPE1_motif' OR cvterm.name = 'DMv1_motif' OR cvterm.name = 'NDM2_motif' OR cvterm.name = 'NDM3_motif' OR cvterm.name = 'RNA_internal_loop' OR cvterm.name = 'A_minor_RNA_motif' OR cvterm.name = 'RNA_junction_loop' OR cvterm.name = 'hammerhead_ribozyme' OR cvterm.name = 'asymmetric_RNA_internal_loop' OR cvterm.name = 'symmetric_RNA_internal_loop' OR cvterm.name = 'K_turn_RNA_motif' OR cvterm.name = 'sarcin_like_RNA_motif' OR cvterm.name = 'RNA_hook_turn' OR cvterm.name = 'chromosome_arm' OR cvterm.name = 'chromosome_band' OR cvterm.name = 'interband' OR cvterm.name = 'chromosomal_regulatory_element' OR cvterm.name = 'chromosomal_structural_element' OR cvterm.name = 'introgressed_chromosome_region' OR cvterm.name = 'matrix_attachment_site' OR cvterm.name = 'centromere' OR cvterm.name = 'telomere' OR cvterm.name = 'transcript' OR cvterm.name = 'regulatory_region' OR cvterm.name = 'polycistronic_transcript' OR cvterm.name = 'transcript_with_translational_frameshift' OR cvterm.name = 'primary_transcript' OR cvterm.name = 'mature_transcript' OR cvterm.name = 'transcript_bound_by_nucleic_acid' OR cvterm.name = 'transcript_bound_by_protein' OR cvterm.name = 'enzymatic_RNA' OR cvterm.name = 'trans_spliced_transcript' OR cvterm.name = 'monocistronic_transcript' OR cvterm.name = 'aberrant_processed_transcript' OR cvterm.name = 'edited_transcript' OR cvterm.name = 'alternatively_spliced_transcript' OR cvterm.name = 'dicistronic_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'protein_coding_primary_transcript' OR cvterm.name = 'nc_primary_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'mini_exon_donor_RNA' OR cvterm.name = 'antisense_primary_transcript' OR cvterm.name = 'capped_primary_transcript' OR cvterm.name = 'pre_edited_mRNA' OR cvterm.name = 'scRNA_primary_transcript' OR cvterm.name = 'rRNA_primary_transcript' OR cvterm.name = 'tRNA_primary_transcript' OR cvterm.name = 'snRNA_primary_transcript' OR cvterm.name = 'snoRNA_primary_transcript' OR cvterm.name = 'tmRNA_primary_transcript' OR cvterm.name = 'SRP_RNA_primary_transcript' OR cvterm.name = 'miRNA_primary_transcript' OR cvterm.name = 'rRNA_small_subunit_primary_transcript' OR cvterm.name = 'rRNA_large_subunit_primary_transcript' OR cvterm.name = 'alanine_tRNA_primary_transcript' OR cvterm.name = 'arginine_tRNA_primary_transcript' OR cvterm.name = 'asparagine_tRNA_primary_transcript' OR cvterm.name = 'aspartic_acid_tRNA_primary_transcript' OR cvterm.name = 'cysteine_tRNA_primary_transcript' OR cvterm.name = 'glutamic_acid_tRNA_primary_transcript' OR cvterm.name = 'glutamine_tRNA_primary_transcript' OR cvterm.name = 'glycine_tRNA_primary_transcript' OR cvterm.name = 'histidine_tRNA_primary_transcript' OR cvterm.name = 'isoleucine_tRNA_primary_transcript' OR cvterm.name = 'leucine_tRNA_primary_transcript' OR cvterm.name = 'lysine_tRNA_primary_transcript' OR cvterm.name = 'methionine_tRNA_primary_transcript' OR cvterm.name = 'phenylalanine_tRNA_primary_transcript' OR cvterm.name = 'proline_tRNA_primary_transcript' OR cvterm.name = 'serine_tRNA_primary_transcript' OR cvterm.name = 'threonine_tRNA_primary_transcript' OR cvterm.name = 'tryptophan_tRNA_primary_transcript' OR cvterm.name = 'tyrosine_tRNA_primary_transcript' OR cvterm.name = 'valine_tRNA_primary_transcript' OR cvterm.name = 'pyrrolysine_tRNA_primary_transcript' OR cvterm.name = 'selenocysteine_tRNA_primary_transcript' OR cvterm.name = 'methylation_guide_snoRNA_primary_transcript' OR cvterm.name = 'rRNA_cleavage_snoRNA_primary_transcript' OR cvterm.name = 'C_D_box_snoRNA_primary_transcript' OR cvterm.name = 'H_ACA_box_snoRNA_primary_transcript' OR cvterm.name = 'U14_snoRNA_primary_transcript' OR cvterm.name = 'stRNA_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'mRNA' OR cvterm.name = 'ncRNA' OR cvterm.name = 'mRNA_with_frameshift' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'exemplar_mRNA' OR cvterm.name = 'capped_mRNA' OR cvterm.name = 'polyadenylated_mRNA' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'recoded_mRNA' OR cvterm.name = 'mRNA_with_minus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_2_frameshift' OR cvterm.name = 'mRNA_with_minus_2_frameshift' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'mRNA_recoded_by_translational_bypass' OR cvterm.name = 'mRNA_recoded_by_codon_redefinition' OR cvterm.name = 'scRNA' OR cvterm.name = 'rRNA' OR cvterm.name = 'tRNA' OR cvterm.name = 'snRNA' OR cvterm.name = 'snoRNA' OR cvterm.name = 'small_regulatory_ncRNA' OR cvterm.name = 'RNase_MRP_RNA' OR cvterm.name = 'RNase_P_RNA' OR cvterm.name = 'telomerase_RNA' OR cvterm.name = 'vault_RNA' OR cvterm.name = 'Y_RNA' OR cvterm.name = 'rasiRNA' OR cvterm.name = 'SRP_RNA' OR cvterm.name = 'guide_RNA' OR cvterm.name = 'antisense_RNA' OR cvterm.name = 'siRNA' OR cvterm.name = 'stRNA' OR cvterm.name = 'class_II_RNA' OR cvterm.name = 'class_I_RNA' OR cvterm.name = 'piRNA' OR cvterm.name = 'lincRNA' OR cvterm.name = 'rRNA_cleavage_RNA' OR cvterm.name = 'small_subunit_rRNA' OR cvterm.name = 'large_subunit_rRNA' OR cvterm.name = 'rRNA_18S' OR cvterm.name = 'rRNA_16S' OR cvterm.name = 'rRNA_5_8S' OR cvterm.name = 'rRNA_5S' OR cvterm.name = 'rRNA_28S' OR cvterm.name = 'rRNA_23S' OR cvterm.name = 'rRNA_25S' OR cvterm.name = 'rRNA_21S' OR cvterm.name = 'alanyl_tRNA' OR cvterm.name = 'asparaginyl_tRNA' OR cvterm.name = 'aspartyl_tRNA' OR cvterm.name = 'cysteinyl_tRNA' OR cvterm.name = 'glutaminyl_tRNA' OR cvterm.name = 'glutamyl_tRNA' OR cvterm.name = 'glycyl_tRNA' OR cvterm.name = 'histidyl_tRNA' OR cvterm.name = 'isoleucyl_tRNA' OR cvterm.name = 'leucyl_tRNA' OR cvterm.name = 'lysyl_tRNA' OR cvterm.name = 'methionyl_tRNA' OR cvterm.name = 'phenylalanyl_tRNA' OR cvterm.name = 'prolyl_tRNA' OR cvterm.name = 'seryl_tRNA' OR cvterm.name = 'threonyl_tRNA' OR cvterm.name = 'tryptophanyl_tRNA' OR cvterm.name = 'tyrosyl_tRNA' OR cvterm.name = 'valyl_tRNA' OR cvterm.name = 'pyrrolysyl_tRNA' OR cvterm.name = 'arginyl_tRNA' OR cvterm.name = 'selenocysteinyl_tRNA' OR cvterm.name = 'U1_snRNA' OR cvterm.name = 'U2_snRNA' OR cvterm.name = 'U4_snRNA' OR cvterm.name = 'U4atac_snRNA' OR cvterm.name = 'U5_snRNA' OR cvterm.name = 'U6_snRNA' OR cvterm.name = 'U6atac_snRNA' OR cvterm.name = 'U11_snRNA' OR cvterm.name = 'U12_snRNA' OR cvterm.name = 'C_D_box_snoRNA' OR cvterm.name = 'H_ACA_box_snoRNA' OR cvterm.name = 'U14_snoRNA' OR cvterm.name = 'U3_snoRNA' OR cvterm.name = 'methylation_guide_snoRNA' OR cvterm.name = 'pseudouridylation_guide_snoRNA' OR cvterm.name = 'miRNA' OR cvterm.name = 'RNA_6S' OR cvterm.name = 'CsrB_RsmB_RNA' OR cvterm.name = 'DsrA_RNA' OR cvterm.name = 'OxyS_RNA' OR cvterm.name = 'RprA_RNA' OR cvterm.name = 'RRE_RNA' OR cvterm.name = 'spot_42_RNA' OR cvterm.name = 'tmRNA' OR cvterm.name = 'GcvB_RNA' OR cvterm.name = 'MicF_RNA' OR cvterm.name = 'ribozyme' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'edited_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'attenuator' OR cvterm.name = 'terminator' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'polyA_signal_sequence' OR cvterm.name = 'gene_group_regulatory_region' OR cvterm.name = 'transcriptional_cis_regulatory_region' OR cvterm.name = 'splicing_regulatory_region' OR cvterm.name = 'cis_regulatory_frameshift_element' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'eukaryotic_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'terminator_of_type_2_RNApol_III_promoter' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'promoter' OR cvterm.name = 'insulator' OR cvterm.name = 'CRM' OR cvterm.name = 'promoter_targeting_sequence' OR cvterm.name = 'bidirectional_promoter' OR cvterm.name = 'RNA_polymerase_promoter' OR cvterm.name = 'RNApol_I_promoter' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'Phage_RNA_Polymerase_Promoter' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'SP6_RNA_Polymerase_Promoter' OR cvterm.name = 'T3_RNA_Polymerase_Promoter' OR cvterm.name = 'T7_RNA_Polymerase_Promoter' OR cvterm.name = 'locus_control_region' OR cvterm.name = 'enhancer' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'exon' OR cvterm.name = 'edited_transcript_feature' OR cvterm.name = 'mature_transcript_region' OR cvterm.name = 'primary_transcript_region' OR cvterm.name = 'exon_region' OR cvterm.name = 'anchor_binding_site' OR cvterm.name = 'coding_exon' OR cvterm.name = 'noncoding_exon' OR cvterm.name = 'interior_exon' OR cvterm.name = 'exon_of_single_exon_gene' OR cvterm.name = 'interior_coding_exon' OR cvterm.name = 'five_prime_coding_exon' OR cvterm.name = 'three_prime_coding_exon' OR cvterm.name = 'three_prime_noncoding_exon' OR cvterm.name = 'five_prime_noncoding_exon' OR cvterm.name = 'pre_edited_region' OR cvterm.name = 'editing_block' OR cvterm.name = 'editing_domain' OR cvterm.name = 'unedited_region' OR cvterm.name = 'mRNA_region' OR cvterm.name = 'tmRNA_region' OR cvterm.name = 'guide_RNA_region' OR cvterm.name = 'tRNA_region' OR cvterm.name = 'riboswitch' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' OR cvterm.name = 'codon' OR cvterm.name = 'five_prime_open_reading_frame' OR cvterm.name = 'UTR_region' OR cvterm.name = 'CDS_region' OR cvterm.name = 'translational_frameshift' OR cvterm.name = 'recoding_stimulatory_region' OR cvterm.name = 'five_prime_UTR' OR cvterm.name = 'three_prime_UTR' OR cvterm.name = 'internal_UTR' OR cvterm.name = 'untranslated_region_polycistronic_mRNA' OR cvterm.name = 'edited_CDS' OR cvterm.name = 'CDS_fragment' OR cvterm.name = 'CDS_independently_known' OR cvterm.name = 'CDS_predicted' OR cvterm.name = 'orphan_CDS' OR cvterm.name = 'CDS_supported_by_sequence_similarity_data' OR cvterm.name = 'CDS_supported_by_domain_match_data' OR cvterm.name = 'CDS_supported_by_EST_or_cDNA_data' OR cvterm.name = 'recoded_codon' OR cvterm.name = 'start_codon' OR cvterm.name = 'stop_codon' OR cvterm.name = 'stop_codon_read_through' OR cvterm.name = 'stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'non_canonical_start_codon' OR cvterm.name = 'four_bp_start_codon' OR cvterm.name = 'CTG_start_codon' OR cvterm.name = 'ribosome_entry_site' OR cvterm.name = 'polyA_site' OR cvterm.name = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'plus_1_translational_frameshift' OR cvterm.name = 'plus_2_translational_frameshift' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'SECIS_element' OR cvterm.name = 'three_prime_recoding_site' OR cvterm.name = 'five_prime_recoding_site' OR cvterm.name = 'stop_codon_signal' OR cvterm.name = 'three_prime_stem_loop_structure' OR cvterm.name = 'flanking_three_prime_quadruplet_recoding_signal' OR cvterm.name = 'three_prime_repeat_recoding_signal' OR cvterm.name = 'distant_three_prime_recoding_signal' OR cvterm.name = 'UAG_stop_codon_signal' OR cvterm.name = 'UAA_stop_codon_signal' OR cvterm.name = 'UGA_stop_codon_signal' OR cvterm.name = 'tmRNA_coding_piece' OR cvterm.name = 'tmRNA_acceptor_piece' OR cvterm.name = 'anchor_region' OR cvterm.name = 'template_region' OR cvterm.name = 'anticodon_loop' OR cvterm.name = 'anticodon' OR cvterm.name = 'CCA_tail' OR cvterm.name = 'DHU_loop' OR cvterm.name = 'T_loop' OR cvterm.name = 'splice_site' OR cvterm.name = 'intron' OR cvterm.name = 'clip' OR cvterm.name = 'TSS' OR cvterm.name = 'transcription_end_site' OR cvterm.name = 'spliced_leader_RNA' OR cvterm.name = 'rRNA_primary_transcript_region' OR cvterm.name = 'spliceosomal_intron_region' OR cvterm.name = 'intron_domain' OR cvterm.name = 'miRNA_primary_transcript_region' OR cvterm.name = 'outron' OR cvterm.name = 'cis_splice_site' OR cvterm.name = 'trans_splice_site' OR cvterm.name = 'five_prime_cis_splice_site' OR cvterm.name = 'three_prime_cis_splice_site' OR cvterm.name = 'recursive_splice_site' OR cvterm.name = 'canonical_five_prime_splice_site' OR cvterm.name = 'non_canonical_five_prime_splice_site' OR cvterm.name = 'canonical_three_prime_splice_site' OR cvterm.name = 'non_canonical_three_prime_splice_site' OR cvterm.name = 'trans_splice_acceptor_site' OR cvterm.name = 'trans_splice_donor_site' OR cvterm.name = 'SL1_acceptor_site' OR cvterm.name = 'SL2_acceptor_site' OR cvterm.name = 'five_prime_intron' OR cvterm.name = 'interior_intron' OR cvterm.name = 'three_prime_intron' OR cvterm.name = 'twintron' OR cvterm.name = 'UTR_intron' OR cvterm.name = 'autocatalytically_spliced_intron' OR cvterm.name = 'spliceosomal_intron' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'endonuclease_spliced_intron' OR cvterm.name = 'five_prime_UTR_intron' OR cvterm.name = 'three_prime_UTR_intron' OR cvterm.name = 'group_I_intron' OR cvterm.name = 'group_II_intron' OR cvterm.name = 'group_III_intron' OR cvterm.name = 'group_IIA_intron' OR cvterm.name = 'group_IIB_intron' OR cvterm.name = 'U2_intron' OR cvterm.name = 'U12_intron' OR cvterm.name = 'archaeal_intron' OR cvterm.name = 'tRNA_intron' OR cvterm.name = 'five_prime_clip' OR cvterm.name = 'three_prime_clip' OR cvterm.name = 'major_TSS' OR cvterm.name = 'minor_TSS' OR cvterm.name = 'transcribed_spacer_region' OR cvterm.name = 'internal_transcribed_spacer_region' OR cvterm.name = 'external_transcribed_spacer_region' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'branch_site' OR cvterm.name = 'polypyrimidine_tract' OR cvterm.name = 'internal_guide_sequence' OR cvterm.name = 'mirtron' OR cvterm.name = 'pre_miRNA' OR cvterm.name = 'miRNA_stem' OR cvterm.name = 'miRNA_loop' OR cvterm.name = 'miRNA_antiguide' OR cvterm.name = 'noncoding_region_of_exon' OR cvterm.name = 'coding_region_of_exon' OR cvterm.name = 'three_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_coding_region' OR cvterm.name = 'three_prime_coding exon_coding_region' OR cvterm.name = 'mature_protein_region' OR cvterm.name = 'immature_peptide_region' OR cvterm.name = 'compositionally_biased_region_of_peptide' OR cvterm.name = 'polypeptide_structural_region' OR cvterm.name = 'polypeptide_variation_site' OR cvterm.name = 'cleaved_peptide_region' OR cvterm.name = 'hydrophobic_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_region' OR cvterm.name = 'active_peptide' OR cvterm.name = 'polypeptide_domain' OR cvterm.name = 'membrane_structure' OR cvterm.name = 'extramembrane_polypeptide_region' OR cvterm.name = 'intramembrane_polypeptide_region' OR cvterm.name = 'polypeptide_secondary_structure' OR cvterm.name = 'polypeptide_structural_motif' OR cvterm.name = 'intrinsically_unstructured_polypeptide_region' OR cvterm.name = 'cytoplasmic_polypeptide_region' OR cvterm.name = 'non_cytoplasmic_polypeptide_region' OR cvterm.name = 'membrane_peptide_loop' OR cvterm.name = 'transmembrane_polypeptide_region' OR cvterm.name = 'asx_motif' OR cvterm.name = 'beta_bulge' OR cvterm.name = 'beta_bulge_loop' OR cvterm.name = 'beta_strand' OR cvterm.name = 'peptide_helix' OR cvterm.name = 'polypeptide_nest_motif' OR cvterm.name = 'schellmann_loop' OR cvterm.name = 'serine_threonine_motif' OR cvterm.name = 'serine_threonine_staple_motif' OR cvterm.name = 'polypeptide_turn_motif' OR cvterm.name = 'catmat_left_handed_three' OR cvterm.name = 'catmat_left_handed_four' OR cvterm.name = 'catmat_right_handed_three' OR cvterm.name = 'catmat_right_handed_four' OR cvterm.name = 'alpha_beta_motif' OR cvterm.name = 'peptide_coil' OR cvterm.name = 'beta_bulge_loop_five' OR cvterm.name = 'beta_bulge_loop_six' OR cvterm.name = 'antiparallel_beta_strand' OR cvterm.name = 'parallel_beta_strand' OR cvterm.name = 'left_handed_peptide_helix' OR cvterm.name = 'right_handed_peptide_helix' OR cvterm.name = 'alpha_helix' OR cvterm.name = 'pi_helix' OR cvterm.name = 'three_ten_helix' OR cvterm.name = 'polypeptide_nest_left_right_motif' OR cvterm.name = 'polypeptide_nest_right_left_motif' OR cvterm.name = 'schellmann_loop_seven' OR cvterm.name = 'schellmann_loop_six' OR cvterm.name = 'asx_turn' OR cvterm.name = 'beta_turn' OR cvterm.name = 'gamma_turn' OR cvterm.name = 'serine_threonine_turn' OR cvterm.name = 'asx_turn_left_handed_type_one' OR cvterm.name = 'asx_turn_left_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_two' OR cvterm.name = 'beta_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_right_handed_type_two' OR cvterm.name = 'beta_turn_type_six' OR cvterm.name = 'beta_turn_type_eight' OR cvterm.name = 'beta_turn_type_six_a' OR cvterm.name = 'beta_turn_type_six_b' OR cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'gamma_turn_classic' OR cvterm.name = 'gamma_turn_inverse' OR cvterm.name = 'st_turn_left_handed_type_one' OR cvterm.name = 'st_turn_left_handed_type_two' OR cvterm.name = 'st_turn_right_handed_type_one' OR cvterm.name = 'st_turn_right_handed_type_two' OR cvterm.name = 'coiled_coil' OR cvterm.name = 'helix_turn_helix' OR cvterm.name = 'natural_variant_site' OR cvterm.name = 'mutated_variant_site' OR cvterm.name = 'alternate_sequence_site' OR cvterm.name = 'signal_peptide' OR cvterm.name = 'cleaved_initiator_methionine' OR cvterm.name = 'transit_peptide' OR cvterm.name = 'intein' OR cvterm.name = 'propeptide_cleavage_site' OR cvterm.name = 'propeptide' OR cvterm.name = 'cleaved_for_gpi_anchor_region' OR cvterm.name = 'lipoprotein_signal_peptide' OR cvterm.name = 'n_terminal_region' OR cvterm.name = 'c_terminal_region' OR cvterm.name = 'central_hydrophobic_region_of_signal_peptide' OR cvterm.name = 'polypeptide_domain' OR cvterm.name = 'polypeptide_motif' OR cvterm.name = 'polypeptide_repeat' OR cvterm.name = 'biochemical_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_motif' OR cvterm.name = 'post_translationally_modified_region' OR cvterm.name = 'conformational_switch' OR cvterm.name = 'molecular_contact_region' OR cvterm.name = 'polypeptide_binding_motif' OR cvterm.name = 'polypeptide_catalytic_motif' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'non_transcribed_region' OR cvterm.name = 'gene_fragment' OR cvterm.name = 'TSS_region' OR cvterm.name = 'gene_segment' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'extrachromosomal_mobile_genetic_element' OR cvterm.name = 'integrated_mobile_genetic_element' OR cvterm.name = 'viral_sequence' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'transposable_element' OR cvterm.name = 'proviral_region' OR cvterm.name = 'integron' OR cvterm.name = 'genomic_island' OR cvterm.name = 'integrated_plasmid' OR cvterm.name = 'cointegrated_plasmid' OR cvterm.name = 'retrotransposon' OR cvterm.name = 'DNA_transposon' OR cvterm.name = 'foreign_transposable_element' OR cvterm.name = 'transgenic_transposable_element' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'transposon_fragment' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' OR cvterm.name = 'RR_tract' OR cvterm.name = 'LINE_element' OR cvterm.name = 'SINE_element' OR cvterm.name = 'terminal_inverted_repeat_element' OR cvterm.name = 'foldback_element' OR cvterm.name = 'conjugative_transposon' OR cvterm.name = 'helitron' OR cvterm.name = 'MITE' OR cvterm.name = 'insertion_sequence' OR cvterm.name = 'polinton' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'prophage' OR cvterm.name = 'pathogenic_island' OR cvterm.name = 'metabolic_island' OR cvterm.name = 'adaptive_island' OR cvterm.name = 'symbiosis_island' OR cvterm.name = 'cryptic_prophage' OR cvterm.name = 'defective_conjugative_transposon' OR cvterm.name = 'plasmid' OR cvterm.name = 'chromosome' OR cvterm.name = 'vector_replicon' OR cvterm.name = 'maxicircle' OR cvterm.name = 'minicircle' OR cvterm.name = 'viral_sequence' OR cvterm.name = 'engineered_plasmid' OR cvterm.name = 'episome' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'mitochondrial_chromosome' OR cvterm.name = 'chloroplast_chromosome' OR cvterm.name = 'chromoplast_chromosome' OR cvterm.name = 'cyanelle_chromosome' OR cvterm.name = 'leucoplast_chromosome' OR cvterm.name = 'macronuclear_chromosome' OR cvterm.name = 'micronuclear_chromosome' OR cvterm.name = 'nuclear_chromosome' OR cvterm.name = 'nucleomorphic_chromosome' OR cvterm.name = 'DNA_chromosome' OR cvterm.name = 'RNA_chromosome' OR cvterm.name = 'apicoplast_chromosome' OR cvterm.name = 'double_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_DNA_chromosome' OR cvterm.name = 'linear_double_stranded_DNA_chromosome' OR cvterm.name = 'circular_double_stranded_DNA_chromosome' OR cvterm.name = 'linear_single_stranded_DNA_chromosome' OR cvterm.name = 'circular_single_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_RNA_chromosome' OR cvterm.name = 'double_stranded_RNA_chromosome' OR cvterm.name = 'linear_single_stranded_RNA_chromosome' OR cvterm.name = 'circular_single_stranded_RNA_chromosome' OR cvterm.name = 'linear_double_stranded_RNA_chromosome' OR cvterm.name = 'circular_double_stranded_RNA_chromosome' OR cvterm.name = 'YAC' OR cvterm.name = 'BAC' OR cvterm.name = 'PAC' OR cvterm.name = 'cosmid' OR cvterm.name = 'phagemid' OR cvterm.name = 'fosmid' OR cvterm.name = 'lambda_vector' OR cvterm.name = 'plasmid_vector' OR cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'modified_RNA_base_feature' OR cvterm.name = 'modified_base_site' OR cvterm.name = 'inosine' OR cvterm.name = 'seven_methylguanine' OR cvterm.name = 'ribothymidine' OR cvterm.name = 'modified_adenosine' OR cvterm.name = 'modified_cytidine' OR cvterm.name = 'modified_guanosine' OR cvterm.name = 'modified_uridine' OR cvterm.name = 'modified_inosine' OR cvterm.name = 'methylinosine' OR cvterm.name = 'one_methylinosine' OR cvterm.name = 'one_two_prime_O_dimethylinosine' OR cvterm.name = 'two_prime_O_methylinosine' OR cvterm.name = 'one_methyladenosine' OR cvterm.name = 'two_methyladenosine' OR cvterm.name = 'N6_methyladenosine' OR cvterm.name = 'two_prime_O_methyladenosine' OR cvterm.name = 'two_methylthio_N6_methyladenosine' OR cvterm.name = 'N6_isopentenyladenosine' OR cvterm.name = 'two_methylthio_N6_isopentenyladenosine' OR cvterm.name = 'N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'two_methylthio_N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'N6_glycinylcarbamoyladenosine' OR cvterm.name = 'N6_threonylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_threonyl_carbamoyladenosine' OR cvterm.name = 'N6_methyl_N6_threonylcarbamoyladenosine' OR cvterm.name = 'N6_hydroxynorvalylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_hydroxynorvalyl_carbamoyladenosine' OR cvterm.name = 'two_prime_O_ribosyladenosine_phosphate' OR cvterm.name = 'N6_N6_dimethyladenosine' OR cvterm.name = 'N6_2_prime_O_dimethyladenosine' OR cvterm.name = 'N6_N6_2_prime_O_trimethyladenosine' OR cvterm.name = 'one_two_prime_O_dimethyladenosine' OR cvterm.name = 'N6_acetyladenosine' OR cvterm.name = 'three_methylcytidine' OR cvterm.name = 'five_methylcytidine' OR cvterm.name = 'two_prime_O_methylcytidine' OR cvterm.name = 'two_thiocytidine' OR cvterm.name = 'N4_acetylcytidine' OR cvterm.name = 'five_formylcytidine' OR cvterm.name = 'five_two_prime_O_dimethylcytidine' OR cvterm.name = 'N4_acetyl_2_prime_O_methylcytidine' OR cvterm.name = 'lysidine' OR cvterm.name = 'N4_methylcytidine' OR cvterm.name = 'N4_2_prime_O_dimethylcytidine' OR cvterm.name = 'five_hydroxymethylcytidine' OR cvterm.name = 'five_formyl_two_prime_O_methylcytidine' OR cvterm.name = 'N4_N4_2_prime_O_trimethylcytidine' OR cvterm.name = 'seven_deazaguanosine' OR cvterm.name = 'one_methylguanosine' OR cvterm.name = 'N2_methylguanosine' OR cvterm.name = 'seven_methylguanosine' OR cvterm.name = 'two_prime_O_methylguanosine' OR cvterm.name = 'N2_N2_dimethylguanosine' OR cvterm.name = 'N2_2_prime_O_dimethylguanosine' OR cvterm.name = 'N2_N2_2_prime_O_trimethylguanosine' OR cvterm.name = 'two_prime_O_ribosylguanosine_phosphate' OR cvterm.name = 'wybutosine' OR cvterm.name = 'peroxywybutosine' OR cvterm.name = 'hydroxywybutosine' OR cvterm.name = 'undermodified_hydroxywybutosine' OR cvterm.name = 'wyosine' OR cvterm.name = 'methylwyosine' OR cvterm.name = 'N2_7_dimethylguanosine' OR cvterm.name = 'N2_N2_7_trimethylguanosine' OR cvterm.name = 'one_two_prime_O_dimethylguanosine' OR cvterm.name = 'four_demethylwyosine' OR cvterm.name = 'isowyosine' OR cvterm.name = 'N2_7_2prirme_O_trimethylguanosine' OR cvterm.name = 'queuosine' OR cvterm.name = 'epoxyqueuosine' OR cvterm.name = 'galactosyl_queuosine' OR cvterm.name = 'mannosyl_queuosine' OR cvterm.name = 'seven_cyano_seven_deazaguanosine' OR cvterm.name = 'seven_aminomethyl_seven_deazaguanosine' OR cvterm.name = 'archaeosine' OR cvterm.name = 'dihydrouridine' OR cvterm.name = 'pseudouridine' OR cvterm.name = 'five_methyluridine' OR cvterm.name = 'two_prime_O_methyluridine' OR cvterm.name = 'five_two_prime_O_dimethyluridine' OR cvterm.name = 'one_methylpseudouridine' OR cvterm.name = 'two_prime_O_methylpseudouridine' OR cvterm.name = 'two_thiouridine' OR cvterm.name = 'four_thiouridine' OR cvterm.name = 'five_methyl_2_thiouridine' OR cvterm.name = 'two_thio_two_prime_O_methyluridine' OR cvterm.name = 'three_three_amino_three_carboxypropyl_uridine' OR cvterm.name = 'five_hydroxyuridine' OR cvterm.name = 'five_methoxyuridine' OR cvterm.name = 'uridine_five_oxyacetic_acid' OR cvterm.name = 'uridine_five_oxyacetic_acid_methyl_ester' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine_methyl_ester' OR cvterm.name = 'five_methoxycarbonylmethyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_thiouridine' OR cvterm.name = 'five_aminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyluridine' OR cvterm.name = 'five_methylaminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyl_two_selenouridine' OR cvterm.name = 'five_carbamoylmethyluridine' OR cvterm.name = 'five_carbamoylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_thiouridine' OR cvterm.name = 'three_methyluridine' OR cvterm.name = 'one_methyl_three_three_amino_three_carboxypropyl_pseudouridine' OR cvterm.name = 'five_carboxymethyluridine' OR cvterm.name = 'three_two_prime_O_dimethyluridine' OR cvterm.name = 'five_methyldihydrouridine' OR cvterm.name = 'three_methylpseudouridine' OR cvterm.name = 'five_taurinomethyluridine' OR cvterm.name = 'five_taurinomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_uridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'methylated_base_feature' OR cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' OR cvterm.name = 'catalytic_residue' OR cvterm.name = 'modified_amino_acid_feature' OR cvterm.name = 'alanine' OR cvterm.name = 'valine' OR cvterm.name = 'leucine' OR cvterm.name = 'isoleucine' OR cvterm.name = 'proline' OR cvterm.name = 'tryptophan' OR cvterm.name = 'phenylalanine' OR cvterm.name = 'methionine' OR cvterm.name = 'glycine' OR cvterm.name = 'serine' OR cvterm.name = 'threonine' OR cvterm.name = 'tyrosine' OR cvterm.name = 'cysteine' OR cvterm.name = 'glutamine' OR cvterm.name = 'asparagine' OR cvterm.name = 'lysine' OR cvterm.name = 'argenine' OR cvterm.name = 'histidine' OR cvterm.name = 'aspartic_acid' OR cvterm.name = 'glutamic_acid' OR cvterm.name = 'selenocysteine' OR cvterm.name = 'pyrrolysine' OR cvterm.name = 'modified_glycine' OR cvterm.name = 'modified_L_alanine' OR cvterm.name = 'modified_L_asparagine' OR cvterm.name = 'modified_L_aspartic_acid' OR cvterm.name = 'modified_L_cysteine' OR cvterm.name = 'modified_L_glutamic_acid' OR cvterm.name = 'modified_L_threonine' OR cvterm.name = 'modified_L_tryptophan' OR cvterm.name = 'modified_L_glutamine' OR cvterm.name = 'modified_L_methionine' OR cvterm.name = 'modified_L_isoleucine' OR cvterm.name = 'modified_L_phenylalanine' OR cvterm.name = 'modified_L_histidine' OR cvterm.name = 'modified_L_serine' OR cvterm.name = 'modified_L_lysine' OR cvterm.name = 'modified_L_leucine' OR cvterm.name = 'modified_L_selenocysteine' OR cvterm.name = 'modified_L_valine' OR cvterm.name = 'modified_L_proline' OR cvterm.name = 'modified_L_tyrosine' OR cvterm.name = 'modified_L_arginine' OR cvterm.name = 'operon' OR cvterm.name = 'gene_array' OR cvterm.name = 'gene_subarray' OR cvterm.name = 'gene_cassette_array' OR cvterm.name = 'regulon' OR cvterm.name = 'sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'point_mutation' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'MNP' OR cvterm.name = 'transition' OR cvterm.name = 'transversion' OR cvterm.name = 'pyrimidine_transition' OR cvterm.name = 'purine_transition' OR cvterm.name = 'C_to_T_transition' OR cvterm.name = 'T_to_C_transition' OR cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'A_to_G_transition' OR cvterm.name = 'G_to_A_transition' OR cvterm.name = 'pyrimidine_to_purine_transversion' OR cvterm.name = 'purine_to_pyrimidine_transversion' OR cvterm.name = 'C_to_A_transversion' OR cvterm.name = 'C_to_G_transversion' OR cvterm.name = 'T_to_A_transversion' OR cvterm.name = 'T_to_G_transversion' OR cvterm.name = 'A_to_C_transversion' OR cvterm.name = 'A_to_T_transversion' OR cvterm.name = 'G_to_C_transversion' OR cvterm.name = 'G_to_T_transversion' OR cvterm.name = 'flanking_region' OR cvterm.name = 'repeat_region' OR cvterm.name = 'repeat_unit' OR cvterm.name = 'repeat_component' OR cvterm.name = 'transposable_element_flanking_region' OR cvterm.name = 'five_prime_flanking_region' OR cvterm.name = 'three_prime_flanking_region' OR cvterm.name = 'long_terminal_repeat' OR cvterm.name = 'engineered_foreign_repetitive_element' OR cvterm.name = 'inverted_repeat' OR cvterm.name = 'direct_repeat' OR cvterm.name = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'dispersed_repeat' OR cvterm.name = 'tandem_repeat' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'five_prime_LTR' OR cvterm.name = 'three_prime_LTR' OR cvterm.name = 'solo_LTR' OR cvterm.name = 'terminal_inverted_repeat' OR cvterm.name = 'five_prime_terminal_inverted_repeat' OR cvterm.name = 'three_prime_terminal_inverted_repeat' OR cvterm.name = 'target_site_duplication' OR cvterm.name = 'CRISPR' OR cvterm.name = 'satellite_DNA' OR cvterm.name = 'microsatellite' OR cvterm.name = 'minisatellite' OR cvterm.name = 'dinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'trinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'tetranucleotide_repeat_microsatellite_feature' OR cvterm.name = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'LTR_component' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'U5_LTR_region' OR cvterm.name = 'R_LTR_region' OR cvterm.name = 'U3_LTR_region' OR cvterm.name = 'three_prime_LTR_component' OR cvterm.name = 'five_prime_LTR_component' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'R_three_prime_LTR_region' OR cvterm.name = 'U3_three_prime_LTR_region' OR cvterm.name = 'U5_three_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'region';
- CREATE VIEW sequence_secondary_structure AS
- SELECT
- feature_id AS sequence_secondary_structure_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'G_quartet' OR cvterm.name = 'base_pair' OR cvterm.name = 'RNA_sequence_secondary_structure' OR cvterm.name = 'DNA_sequence_secondary_structure' OR cvterm.name = 'pseudoknot' OR cvterm.name = 'WC_base_pair' OR cvterm.name = 'sugar_edge_base_pair' OR cvterm.name = 'Hoogsteen_base_pair' OR cvterm.name = 'reverse_Hoogsteen_base_pair' OR cvterm.name = 'wobble_base_pair' OR cvterm.name = 'stem_loop' OR cvterm.name = 'tetraloop' OR cvterm.name = 'i_motif' OR cvterm.name = 'recoding_pseudoknot' OR cvterm.name = 'H_pseudoknot' OR cvterm.name = 'sequence_secondary_structure';
- CREATE VIEW g_quartet AS
- SELECT
- feature_id AS g_quartet_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'G_quartet';
- CREATE VIEW interior_coding_exon AS
- SELECT
- feature_id AS interior_coding_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'interior_coding_exon';
- CREATE VIEW satellite_dna AS
- SELECT
- feature_id AS satellite_dna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'microsatellite' OR cvterm.name = 'minisatellite' OR cvterm.name = 'dinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'trinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'tetranucleotide_repeat_microsatellite_feature' OR cvterm.name = 'satellite_DNA';
- CREATE VIEW pcr_product AS
- SELECT
- feature_id AS pcr_product_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RAPD' OR cvterm.name = 'PCR_product';
- CREATE VIEW read_pair AS
- SELECT
- feature_id AS read_pair_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'read_pair';
- CREATE VIEW protein_coding AS
- SELECT
- feature_id AS protein_coding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intein_containing' OR cvterm.name = 'protein_coding';
- CREATE VIEW non_protein_coding AS
- SELECT
- feature_id AS non_protein_coding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA_encoding' OR cvterm.name = 'rRNA_encoding' OR cvterm.name = 'scRNA_encoding' OR cvterm.name = 'snoRNA_encoding' OR cvterm.name = 'snRNA_encoding' OR cvterm.name = 'SRP_RNA_encoding' OR cvterm.name = 'stRNA_encoding' OR cvterm.name = 'tmRNA_encoding' OR cvterm.name = 'tRNA_encoding' OR cvterm.name = 'gRNA_encoding' OR cvterm.name = 'C_D_box_snoRNA_encoding' OR cvterm.name = 'H_ACA_box_snoRNA_encoding' OR cvterm.name = 'non_protein_coding';
- CREATE VIEW scrna_primary_transcript AS
- SELECT
- feature_id AS scrna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'scRNA_primary_transcript';
- CREATE VIEW scrna AS
- SELECT
- feature_id AS scrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'scRNA';
- CREATE VIEW inr_motif AS
- SELECT
- feature_id AS inr_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'INR_motif';
- CREATE VIEW dpe_motif AS
- SELECT
- feature_id AS dpe_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DPE_motif';
- CREATE VIEW bre_motif AS
- SELECT
- feature_id AS bre_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'BRE_motif';
- CREATE VIEW pse_motif AS
- SELECT
- feature_id AS pse_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'PSE_motif';
- CREATE VIEW linkage_group AS
- SELECT
- feature_id AS linkage_group_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linkage_group';
- CREATE VIEW rna_internal_loop AS
- SELECT
- feature_id AS rna_internal_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asymmetric_RNA_internal_loop' OR cvterm.name = 'symmetric_RNA_internal_loop' OR cvterm.name = 'K_turn_RNA_motif' OR cvterm.name = 'sarcin_like_RNA_motif' OR cvterm.name = 'RNA_internal_loop';
- CREATE VIEW asymmetric_rna_internal_loop AS
- SELECT
- feature_id AS asymmetric_rna_internal_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'K_turn_RNA_motif' OR cvterm.name = 'sarcin_like_RNA_motif' OR cvterm.name = 'asymmetric_RNA_internal_loop';
- CREATE VIEW a_minor_rna_motif AS
- SELECT
- feature_id AS a_minor_rna_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'A_minor_RNA_motif';
- CREATE VIEW k_turn_rna_motif AS
- SELECT
- feature_id AS k_turn_rna_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'K_turn_RNA_motif';
- CREATE VIEW sarcin_like_rna_motif AS
- SELECT
- feature_id AS sarcin_like_rna_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sarcin_like_RNA_motif';
- CREATE VIEW symmetric_rna_internal_loop AS
- SELECT
- feature_id AS symmetric_rna_internal_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'symmetric_RNA_internal_loop';
- CREATE VIEW rna_junction_loop AS
- SELECT
- feature_id AS rna_junction_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNA_hook_turn' OR cvterm.name = 'RNA_junction_loop';
- CREATE VIEW rna_hook_turn AS
- SELECT
- feature_id AS rna_hook_turn_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNA_hook_turn';
- CREATE VIEW base_pair AS
- SELECT
- feature_id AS base_pair_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'WC_base_pair' OR cvterm.name = 'sugar_edge_base_pair' OR cvterm.name = 'Hoogsteen_base_pair' OR cvterm.name = 'reverse_Hoogsteen_base_pair' OR cvterm.name = 'wobble_base_pair' OR cvterm.name = 'base_pair';
- CREATE VIEW wc_base_pair AS
- SELECT
- feature_id AS wc_base_pair_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'WC_base_pair';
- CREATE VIEW sugar_edge_base_pair AS
- SELECT
- feature_id AS sugar_edge_base_pair_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sugar_edge_base_pair';
- CREATE VIEW aptamer AS
- SELECT
- feature_id AS aptamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DNA_aptamer' OR cvterm.name = 'RNA_aptamer' OR cvterm.name = 'aptamer';
- CREATE VIEW dna_aptamer AS
- SELECT
- feature_id AS dna_aptamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DNA_aptamer';
- CREATE VIEW rna_aptamer AS
- SELECT
- feature_id AS rna_aptamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNA_aptamer';
- CREATE VIEW morpholino_oligo AS
- SELECT
- feature_id AS morpholino_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'morpholino_oligo';
- CREATE VIEW riboswitch AS
- SELECT
- feature_id AS riboswitch_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'riboswitch';
- CREATE VIEW matrix_attachment_site AS
- SELECT
- feature_id AS matrix_attachment_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'matrix_attachment_site';
- CREATE VIEW locus_control_region AS
- SELECT
- feature_id AS locus_control_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'locus_control_region';
- CREATE VIEW match_part AS
- SELECT
- feature_id AS match_part_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'match_part';
- CREATE VIEW genomic_clone AS
- SELECT
- feature_id AS genomic_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'genomic_clone';
- CREATE VIEW processed_pseudogene AS
- SELECT
- feature_id AS processed_pseudogene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'processed_pseudogene';
- CREATE VIEW pseudogene_by_unequal_crossing_over AS
- SELECT
- feature_id AS pseudogene_by_unequal_crossing_over_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudogene_by_unequal_crossing_over';
- CREATE VIEW probe AS
- SELECT
- feature_id AS probe_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'microarray_oligo' OR cvterm.name = 'probe';
- CREATE VIEW sequence_variant_affecting_regulatory_region AS
- SELECT
- feature_id AS sequence_variant_affecting_regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_regulatory_region';
- CREATE VIEW aneuploid AS
- SELECT
- feature_id AS aneuploid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'hyperploid' OR cvterm.name = 'hypoploid' OR cvterm.name = 'aneuploid';
- CREATE VIEW hyperploid AS
- SELECT
- feature_id AS hyperploid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'hyperploid';
- CREATE VIEW hypoploid AS
- SELECT
- feature_id AS hypoploid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'hypoploid';
- CREATE VIEW operator AS
- SELECT
- feature_id AS operator_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'operator';
- CREATE VIEW nuclease_binding_site AS
- SELECT
- feature_id AS nuclease_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'restriction_enzyme_binding_site' OR cvterm.name = 'nuclease_sensitive_site' OR cvterm.name = 'homing_endonuclease_binding_site' OR cvterm.name = 'nuclease_hypersensitive_site' OR cvterm.name = 'group_1_intron_homing_endonuclease_target_region' OR cvterm.name = 'DNAseI_hypersensitive_site' OR cvterm.name = 'nuclease_binding_site';
- CREATE VIEW compound_chromosome_arm AS
- SELECT
- feature_id AS compound_chromosome_arm_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'compound_chromosome_arm';
- CREATE VIEW restriction_enzyme_binding_site AS
- SELECT
- feature_id AS restriction_enzyme_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'restriction_enzyme_binding_site';
- CREATE VIEW d_intrachr_transposition AS
- SELECT
- feature_id AS d_intrachr_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deficient_intrachromosomal_transposition';
- CREATE VIEW d_interchr_transposition AS
- SELECT
- feature_id AS d_interchr_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deficient_interchromosomal_transposition';
- CREATE VIEW free_chromosome_arm AS
- SELECT
- feature_id AS free_chromosome_arm_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'free_chromosome_arm';
- CREATE VIEW gene_to_gene_feature AS
- SELECT
- feature_id AS gene_to_gene_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'overlapping' OR cvterm.name = 'inside_intron' OR cvterm.name = 'five_prime_three_prime_overlap' OR cvterm.name = 'five_prime_five_prime_overlap' OR cvterm.name = 'three_prime_three_prime_overlap' OR cvterm.name = 'three_prime_five_prime_overlap' OR cvterm.name = 'antisense' OR cvterm.name = 'inside_intron_antiparallel' OR cvterm.name = 'inside_intron_parallel' OR cvterm.name = 'gene_to_gene_feature';
- CREATE VIEW overlapping AS
- SELECT
- feature_id AS overlapping_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inside_intron' OR cvterm.name = 'five_prime_three_prime_overlap' OR cvterm.name = 'five_prime_five_prime_overlap' OR cvterm.name = 'three_prime_three_prime_overlap' OR cvterm.name = 'three_prime_five_prime_overlap' OR cvterm.name = 'antisense' OR cvterm.name = 'inside_intron_antiparallel' OR cvterm.name = 'inside_intron_parallel' OR cvterm.name = 'overlapping';
- CREATE VIEW inside_intron AS
- SELECT
- feature_id AS inside_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inside_intron_antiparallel' OR cvterm.name = 'inside_intron_parallel' OR cvterm.name = 'inside_intron';
- CREATE VIEW inside_intron_antiparallel AS
- SELECT
- feature_id AS inside_intron_antiparallel_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inside_intron_antiparallel';
- CREATE VIEW inside_intron_parallel AS
- SELECT
- feature_id AS inside_intron_parallel_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inside_intron_parallel';
- CREATE VIEW five_prime_three_prime_overlap AS
- SELECT
- feature_id AS five_prime_three_prime_overlap_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_three_prime_overlap';
- CREATE VIEW five_prime_five_prime_overlap AS
- SELECT
- feature_id AS five_prime_five_prime_overlap_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_five_prime_overlap';
- CREATE VIEW three_prime_three_prime_overlap AS
- SELECT
- feature_id AS three_prime_three_prime_overlap_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_three_prime_overlap';
- CREATE VIEW three_prime_five_prime_overlap AS
- SELECT
- feature_id AS three_prime_five_prime_overlap_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_five_prime_overlap';
- CREATE VIEW antisense AS
- SELECT
- feature_id AS antisense_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'antisense';
- CREATE VIEW polycistronic_transcript AS
- SELECT
- feature_id AS polycistronic_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dicistronic_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'polycistronic_transcript';
- CREATE VIEW dicistronic_transcript AS
- SELECT
- feature_id AS dicistronic_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_transcript';
- CREATE VIEW operon_member AS
- SELECT
- feature_id AS operon_member_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'operon_member';
- CREATE VIEW gene_array_member AS
- SELECT
- feature_id AS gene_array_member_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'operon_member' OR cvterm.name = 'gene_cassette_member' OR cvterm.name = 'gene_subarray_member' OR cvterm.name = 'member_of_regulon' OR cvterm.name = 'cassette_array_member' OR cvterm.name = 'gene_array_member';
- CREATE VIEW macronuclear_sequence AS
- SELECT
- feature_id AS macronuclear_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'macronuclear_sequence';
- CREATE VIEW micronuclear_sequence AS
- SELECT
- feature_id AS micronuclear_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'micronuclear_sequence';
- CREATE VIEW nuclear_gene AS
- SELECT
- feature_id AS nuclear_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclear_gene';
- CREATE VIEW mt_gene AS
- SELECT
- feature_id AS mt_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'kinetoplast_gene' OR cvterm.name = 'maxicircle_gene' OR cvterm.name = 'minicircle_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'mt_gene';
- CREATE VIEW kinetoplast_gene AS
- SELECT
- feature_id AS kinetoplast_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'maxicircle_gene' OR cvterm.name = 'minicircle_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'kinetoplast_gene';
- CREATE VIEW plastid_gene AS
- SELECT
- feature_id AS plastid_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'apicoplast_gene' OR cvterm.name = 'ct_gene' OR cvterm.name = 'chromoplast_gene' OR cvterm.name = 'cyanelle_gene' OR cvterm.name = 'leucoplast_gene' OR cvterm.name = 'proplastid_gene' OR cvterm.name = 'plastid_gene';
- CREATE VIEW apicoplast_gene AS
- SELECT
- feature_id AS apicoplast_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'apicoplast_gene';
- CREATE VIEW ct_gene AS
- SELECT
- feature_id AS ct_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ct_gene';
- CREATE VIEW chromoplast_gene AS
- SELECT
- feature_id AS chromoplast_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromoplast_gene';
- CREATE VIEW cyanelle_gene AS
- SELECT
- feature_id AS cyanelle_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cyanelle_gene';
- CREATE VIEW leucoplast_gene AS
- SELECT
- feature_id AS leucoplast_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'leucoplast_gene';
- CREATE VIEW proplastid_gene AS
- SELECT
- feature_id AS proplastid_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'proplastid_gene';
- CREATE VIEW nucleomorph_gene AS
- SELECT
- feature_id AS nucleomorph_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleomorph_gene';
- CREATE VIEW plasmid_gene AS
- SELECT
- feature_id AS plasmid_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plasmid_gene';
- CREATE VIEW proviral_gene AS
- SELECT
- feature_id AS proviral_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'endogenous_retroviral_gene' OR cvterm.name = 'proviral_gene';
- CREATE VIEW endogenous_retroviral_gene AS
- SELECT
- feature_id AS endogenous_retroviral_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'endogenous_retroviral_gene';
- CREATE VIEW transposable_element AS
- SELECT
- feature_id AS transposable_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'retrotransposon' OR cvterm.name = 'DNA_transposon' OR cvterm.name = 'foreign_transposable_element' OR cvterm.name = 'transgenic_transposable_element' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'transposon_fragment' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' OR cvterm.name = 'RR_tract' OR cvterm.name = 'LINE_element' OR cvterm.name = 'SINE_element' OR cvterm.name = 'terminal_inverted_repeat_element' OR cvterm.name = 'foldback_element' OR cvterm.name = 'conjugative_transposon' OR cvterm.name = 'helitron' OR cvterm.name = 'MITE' OR cvterm.name = 'insertion_sequence' OR cvterm.name = 'polinton' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'transposable_element';
- CREATE VIEW expressed_sequence_match AS
- SELECT
- feature_id AS expressed_sequence_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'EST_match' OR cvterm.name = 'cDNA_match' OR cvterm.name = 'UST_match' OR cvterm.name = 'RST_match' OR cvterm.name = 'expressed_sequence_match';
- CREATE VIEW clone_insert_end AS
- SELECT
- feature_id AS clone_insert_end_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'clone_insert_end';
- CREATE VIEW polypeptide AS
- SELECT
- feature_id AS polypeptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide';
- CREATE VIEW chromosome_arm AS
- SELECT
- feature_id AS chromosome_arm_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosome_arm';
- CREATE VIEW sequencing_primer AS
- SELECT
- feature_id AS sequencing_primer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequencing_primer';
- CREATE VIEW mrna_with_frameshift AS
- SELECT
- feature_id AS mrna_with_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_with_minus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_2_frameshift' OR cvterm.name = 'mRNA_with_minus_2_frameshift' OR cvterm.name = 'mRNA_with_frameshift';
- CREATE VIEW sequence_feature AS
- SELECT
- feature_id AS sequence_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'region' OR cvterm.name = 'junction' OR cvterm.name = 'sequence_alteration' OR cvterm.name = 'biomaterial_region' OR cvterm.name = 'experimental_feature' OR cvterm.name = 'biological_region' OR cvterm.name = 'topologically_defined_region' OR cvterm.name = 'reagent' OR cvterm.name = 'engineered_region' OR cvterm.name = 'PCR_product' OR cvterm.name = 'clone' OR cvterm.name = 'rescue_region' OR cvterm.name = 'oligo' OR cvterm.name = 'clone_insert' OR cvterm.name = 'cloned_region' OR cvterm.name = 'databank_entry' OR cvterm.name = 'RAPD' OR cvterm.name = 'genomic_clone' OR cvterm.name = 'cDNA_clone' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'validated_cDNA_clone' OR cvterm.name = 'invalidated_cDNA_clone' OR cvterm.name = 'three_prime_RACE_clone' OR cvterm.name = 'chimeric_cDNA_clone' OR cvterm.name = 'genomically_contaminated_cDNA_clone' OR cvterm.name = 'polyA_primed_cDNA_clone' OR cvterm.name = 'partially_processed_cDNA_clone' OR cvterm.name = 'engineered_rescue_region' OR cvterm.name = 'aptamer' OR cvterm.name = 'probe' OR cvterm.name = 'tag' OR cvterm.name = 'ss_oligo' OR cvterm.name = 'ds_oligo' OR cvterm.name = 'DNAzyme' OR cvterm.name = 'synthetic_oligo' OR cvterm.name = 'DNA_aptamer' OR cvterm.name = 'RNA_aptamer' OR cvterm.name = 'microarray_oligo' OR cvterm.name = 'SAGE_tag' OR cvterm.name = 'STS' OR cvterm.name = 'EST' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'five_prime_EST' OR cvterm.name = 'three_prime_EST' OR cvterm.name = 'UST' OR cvterm.name = 'RST' OR cvterm.name = 'three_prime_UST' OR cvterm.name = 'five_prime_UST' OR cvterm.name = 'three_prime_RST' OR cvterm.name = 'five_prime_RST' OR cvterm.name = 'primer' OR cvterm.name = 'sequencing_primer' OR cvterm.name = 'forward_primer' OR cvterm.name = 'reverse_primer' OR cvterm.name = 'RNAi_reagent' OR cvterm.name = 'DNA_constraint_sequence' OR cvterm.name = 'morpholino_oligo' OR cvterm.name = 'PNA_oligo' OR cvterm.name = 'LNA_oligo' OR cvterm.name = 'TNA_oligo' OR cvterm.name = 'GNA_oligo' OR cvterm.name = 'R_GNA_oligo' OR cvterm.name = 'S_GNA_oligo' OR cvterm.name = 'cloned_cDNA_insert' OR cvterm.name = 'cloned_genomic_insert' OR cvterm.name = 'engineered_insert' OR cvterm.name = 'BAC_cloned_genomic_insert' OR cvterm.name = 'engineered_gene' OR cvterm.name = 'engineered_plasmid' OR cvterm.name = 'engineered_rescue_region' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'engineered_foreign_region' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'engineered_insert' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_repetitive_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'match_part' OR cvterm.name = 'assembly_component' OR cvterm.name = 'conserved_region' OR cvterm.name = 'match' OR cvterm.name = 'remark' OR cvterm.name = 'reading_frame' OR cvterm.name = 'QTL' OR cvterm.name = 'consensus_region' OR cvterm.name = 'low_complexity_region' OR cvterm.name = 'assembly' OR cvterm.name = 'transcribed_fragment' OR cvterm.name = 'transcribed_cluster' OR cvterm.name = 'read_pair' OR cvterm.name = 'contig' OR cvterm.name = 'read' OR cvterm.name = 'restriction_fragment' OR cvterm.name = 'golden_path_fragment' OR cvterm.name = 'tiling_path_fragment' OR cvterm.name = 'gap' OR cvterm.name = 'sonicate_fragment' OR cvterm.name = 'contig_read' OR cvterm.name = 'BAC_end' OR cvterm.name = 'dye_terminator_read' OR cvterm.name = 'pyrosequenced_read' OR cvterm.name = 'ligation_based_read' OR cvterm.name = 'polymerase_synthesis_read' OR cvterm.name = 'PAC_end' OR cvterm.name = 'RFLP_fragment' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'coding_conserved_region' OR cvterm.name = 'nc_conserved_region' OR cvterm.name = 'homologous_region' OR cvterm.name = 'syntenic_region' OR cvterm.name = 'paralogous_region' OR cvterm.name = 'orthologous_region' OR cvterm.name = 'nucleotide_match' OR cvterm.name = 'protein_match' OR cvterm.name = 'expressed_sequence_match' OR cvterm.name = 'cross_genome_match' OR cvterm.name = 'translated_nucleotide_match' OR cvterm.name = 'primer_match' OR cvterm.name = 'EST_match' OR cvterm.name = 'cDNA_match' OR cvterm.name = 'UST_match' OR cvterm.name = 'RST_match' OR cvterm.name = 'sequence_difference' OR cvterm.name = 'experimental_result_region' OR cvterm.name = 'polypeptide_sequencing_information' OR cvterm.name = 'possible_base_call_error' OR cvterm.name = 'possible_assembly_error' OR cvterm.name = 'overlapping_feature_set' OR cvterm.name = 'no_output' OR cvterm.name = 'overlapping_EST_set' OR cvterm.name = 'non_adjacent_residues' OR cvterm.name = 'non_terminal_residue' OR cvterm.name = 'sequence_conflict' OR cvterm.name = 'sequence_uncertainty' OR cvterm.name = 'ORF' OR cvterm.name = 'blocked_reading_frame' OR cvterm.name = 'mini_gene' OR cvterm.name = 'rescue_mini_gene' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'sequence_assembly' OR cvterm.name = 'fragment_assembly' OR cvterm.name = 'supercontig' OR cvterm.name = 'contig' OR cvterm.name = 'tiling_path' OR cvterm.name = 'virtual_sequence' OR cvterm.name = 'golden_path' OR cvterm.name = 'ultracontig' OR cvterm.name = 'expressed_sequence_assembly' OR cvterm.name = 'fingerprint_map' OR cvterm.name = 'STS_map' OR cvterm.name = 'RH_map' OR cvterm.name = 'unigene_cluster' OR cvterm.name = 'sequence_secondary_structure' OR cvterm.name = 'linkage_group' OR cvterm.name = 'polypeptide' OR cvterm.name = 'deletion' OR cvterm.name = 'origin_of_replication' OR cvterm.name = 'recombination_feature' OR cvterm.name = 'CpG_island' OR cvterm.name = 'binding_site' OR cvterm.name = 'pseudogenic_region' OR cvterm.name = 'cap' OR cvterm.name = 'intergenic_region' OR cvterm.name = 'oligo_U_tail' OR cvterm.name = 'polyA_sequence' OR cvterm.name = 'insertion' OR cvterm.name = 'gene' OR cvterm.name = 'nucleotide_motif' OR cvterm.name = 'chromosome_part' OR cvterm.name = 'gene_member_region' OR cvterm.name = 'transcript_region' OR cvterm.name = 'polypeptide_region' OR cvterm.name = 'gene_component_region' OR cvterm.name = 'mobile_genetic_element' OR cvterm.name = 'replicon' OR cvterm.name = 'base' OR cvterm.name = 'amino_acid' OR cvterm.name = 'gene_group' OR cvterm.name = 'substitution' OR cvterm.name = 'inversion' OR cvterm.name = 'retron' OR cvterm.name = 'G_quartet' OR cvterm.name = 'base_pair' OR cvterm.name = 'RNA_sequence_secondary_structure' OR cvterm.name = 'DNA_sequence_secondary_structure' OR cvterm.name = 'pseudoknot' OR cvterm.name = 'WC_base_pair' OR cvterm.name = 'sugar_edge_base_pair' OR cvterm.name = 'Hoogsteen_base_pair' OR cvterm.name = 'reverse_Hoogsteen_base_pair' OR cvterm.name = 'wobble_base_pair' OR cvterm.name = 'stem_loop' OR cvterm.name = 'tetraloop' OR cvterm.name = 'i_motif' OR cvterm.name = 'recoding_pseudoknot' OR cvterm.name = 'H_pseudoknot' OR cvterm.name = 'D_loop' OR cvterm.name = 'ARS' OR cvterm.name = 'oriT' OR cvterm.name = 'amplification_origin' OR cvterm.name = 'oriV' OR cvterm.name = 'oriC' OR cvterm.name = 'recombination_hotspot' OR cvterm.name = 'haplotype_block' OR cvterm.name = 'sequence_rearrangement_feature' OR cvterm.name = 'iDNA' OR cvterm.name = 'specific_recombination_site' OR cvterm.name = 'chromosome_breakage_sequence' OR cvterm.name = 'internal_eliminated_sequence' OR cvterm.name = 'macronucleus_destined_segment' OR cvterm.name = 'recombination_feature_of_rearranged_gene' OR cvterm.name = 'site_specific_recombination_target_region' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_feature' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_spacer' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_signal_feature' OR cvterm.name = 'D_gene' OR cvterm.name = 'V_gene' OR cvterm.name = 'J_gene' OR cvterm.name = 'C_gene' OR cvterm.name = 'D_J_C_cluster' OR cvterm.name = 'J_C_cluster' OR cvterm.name = 'J_cluster' OR cvterm.name = 'V_cluster' OR cvterm.name = 'V_J_cluster' OR cvterm.name = 'V_J_C_cluster' OR cvterm.name = 'C_cluster' OR cvterm.name = 'D_cluster' OR cvterm.name = 'D_J_cluster' OR cvterm.name = 'three_prime_D_spacer' OR cvterm.name = 'five_prime_D_spacer' OR cvterm.name = 'J_spacer' OR cvterm.name = 'V_spacer' OR cvterm.name = 'VD_gene' OR cvterm.name = 'DJ_gene' OR cvterm.name = 'VDJ_gene' OR cvterm.name = 'VJ_gene' OR cvterm.name = 'DJ_J_cluster' OR cvterm.name = 'VDJ_J_C_cluster' OR cvterm.name = 'VDJ_J_cluster' OR cvterm.name = 'VJ_C_cluster' OR cvterm.name = 'VJ_J_C_cluster' OR cvterm.name = 'VJ_J_cluster' OR cvterm.name = 'D_DJ_C_cluster' OR cvterm.name = 'D_DJ_cluster' OR cvterm.name = 'D_DJ_J_C_cluster' OR cvterm.name = 'D_DJ_J_cluster' OR cvterm.name = 'V_DJ_cluster' OR cvterm.name = 'V_DJ_J_cluster' OR cvterm.name = 'V_VDJ_C_cluster' OR cvterm.name = 'V_VDJ_cluster' OR cvterm.name = 'V_VDJ_J_cluster' OR cvterm.name = 'V_VJ_C_cluster' OR cvterm.name = 'V_VJ_cluster' OR cvterm.name = 'V_VJ_J_cluster' OR cvterm.name = 'V_D_DJ_C_cluster' OR cvterm.name = 'V_D_DJ_cluster' OR cvterm.name = 'V_D_DJ_J_C_cluster' OR cvterm.name = 'V_D_DJ_J_cluster' OR cvterm.name = 'V_D_J_C_cluster' OR cvterm.name = 'V_D_J_cluster' OR cvterm.name = 'DJ_C_cluster' OR cvterm.name = 'DJ_J_C_cluster' OR cvterm.name = 'VDJ_C_cluster' OR cvterm.name = 'V_DJ_C_cluster' OR cvterm.name = 'V_DJ_J_C_cluster' OR cvterm.name = 'V_VDJ_J_C_cluster' OR cvterm.name = 'V_VJ_J_C_cluster' OR cvterm.name = 'J_gene_recombination_feature' OR cvterm.name = 'D_gene_recombination_feature' OR cvterm.name = 'V_gene_recombination_feature' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'integration_excision_site' OR cvterm.name = 'resolution_site' OR cvterm.name = 'inversion_site' OR cvterm.name = 'inversion_site_part' OR cvterm.name = 'attI_site' OR cvterm.name = 'attP_site' OR cvterm.name = 'attB_site' OR cvterm.name = 'attL_site' OR cvterm.name = 'attR_site' OR cvterm.name = 'attC_site' OR cvterm.name = 'attCtn_site' OR cvterm.name = 'loxP_site' OR cvterm.name = 'dif_site' OR cvterm.name = 'FRT_site' OR cvterm.name = 'IRLinv_site' OR cvterm.name = 'IRRinv_site' OR cvterm.name = 'protein_binding_site' OR cvterm.name = 'miRNA_target_site' OR cvterm.name = 'epitope' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'DNA_binding_site' OR cvterm.name = 'primer_binding_site' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'nuclease_binding_site' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'histone_binding_site' OR cvterm.name = 'insulator_binding_site' OR cvterm.name = 'enhancer_binding_site' OR cvterm.name = 'restriction_enzyme_binding_site' OR cvterm.name = 'nuclease_sensitive_site' OR cvterm.name = 'homing_endonuclease_binding_site' OR cvterm.name = 'nuclease_hypersensitive_site' OR cvterm.name = 'group_1_intron_homing_endonuclease_target_region' OR cvterm.name = 'DNAseI_hypersensitive_site' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'pseudogene' OR cvterm.name = 'decayed_exon' OR cvterm.name = 'pseudogenic_exon' OR cvterm.name = 'pseudogenic_transcript' OR cvterm.name = 'pseudogenic_rRNA' OR cvterm.name = 'pseudogenic_tRNA' OR cvterm.name = 'processed_pseudogene' OR cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'nuclear_gene' OR cvterm.name = 'mt_gene' OR cvterm.name = 'plastid_gene' OR cvterm.name = 'nucleomorph_gene' OR cvterm.name = 'plasmid_gene' OR cvterm.name = 'proviral_gene' OR cvterm.name = 'transposable_element_gene' OR cvterm.name = 'silenced_gene' OR cvterm.name = 'engineered_gene' OR cvterm.name = 'foreign_gene' OR cvterm.name = 'fusion_gene' OR cvterm.name = 'recombinationally_rearranged_gene' OR cvterm.name = 'gene_with_trans_spliced_transcript' OR cvterm.name = 'gene_with_polycistronic_transcript' OR cvterm.name = 'rescue_gene' OR cvterm.name = 'post_translationally_regulated_gene' OR cvterm.name = 'negatively_autoregulated_gene' OR cvterm.name = 'positively_autoregulated_gene' OR cvterm.name = 'translationally_regulated_gene' OR cvterm.name = 'epigenetically_modified_gene' OR cvterm.name = 'transgene' OR cvterm.name = 'predicted_gene' OR cvterm.name = 'protein_coding_gene' OR cvterm.name = 'retrogene' OR cvterm.name = 'ncRNA_gene' OR cvterm.name = 'cryptic_gene' OR cvterm.name = 'gene_cassette' OR cvterm.name = 'kinetoplast_gene' OR cvterm.name = 'maxicircle_gene' OR cvterm.name = 'minicircle_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'apicoplast_gene' OR cvterm.name = 'ct_gene' OR cvterm.name = 'chromoplast_gene' OR cvterm.name = 'cyanelle_gene' OR cvterm.name = 'leucoplast_gene' OR cvterm.name = 'proplastid_gene' OR cvterm.name = 'endogenous_retroviral_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'gene_silenced_by_DNA_modification' OR cvterm.name = 'gene_silenced_by_RNA_interference' OR cvterm.name = 'gene_silenced_by_histone_modification' OR cvterm.name = 'gene_silenced_by_DNA_methylation' OR cvterm.name = 'gene_silenced_by_histone_methylation' OR cvterm.name = 'gene_silenced_by_histone_deacetylation' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'recombinationally_inverted_gene' OR cvterm.name = 'recombinationally_rearranged_vertebrate_immune_system_gene' OR cvterm.name = 'gene_with_dicistronic_transcript' OR cvterm.name = 'gene_with_dicistronic_primary_transcript' OR cvterm.name = 'gene_with_dicistronic_mRNA' OR cvterm.name = 'wild_type_rescue_gene' OR cvterm.name = 'gene_rearranged_at_DNA_level' OR cvterm.name = 'maternally_imprinted_gene' OR cvterm.name = 'paternally_imprinted_gene' OR cvterm.name = 'allelically_excluded_gene' OR cvterm.name = 'floxed_gene' OR cvterm.name = 'gene_with_polyadenylated_mRNA' OR cvterm.name = 'gene_with_mRNA_with_frameshift' OR cvterm.name = 'gene_with_edited_transcript' OR cvterm.name = 'gene_with_recoded_mRNA' OR cvterm.name = 'gene_with_stop_codon_read_through' OR cvterm.name = 'gene_with_mRNA_recoded_by_translational_bypass' OR cvterm.name = 'gene_with_transcript_with_translational_frameshift' OR cvterm.name = 'gene_with_stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'gene_with_stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'gRNA_gene' OR cvterm.name = 'miRNA_gene' OR cvterm.name = 'scRNA_gene' OR cvterm.name = 'snoRNA_gene' OR cvterm.name = 'snRNA_gene' OR cvterm.name = 'SRP_RNA_gene' OR cvterm.name = 'stRNA_gene' OR cvterm.name = 'tmRNA_gene' OR cvterm.name = 'tRNA_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'DNA_motif' OR cvterm.name = 'RNA_motif' OR cvterm.name = 'PSE_motif' OR cvterm.name = 'GC_rich_promoter_region' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DMv4_motif' OR cvterm.name = 'DMv5_motif' OR cvterm.name = 'DMv3_motif' OR cvterm.name = 'DMv2_motif' OR cvterm.name = 'DPE1_motif' OR cvterm.name = 'DMv1_motif' OR cvterm.name = 'NDM2_motif' OR cvterm.name = 'NDM3_motif' OR cvterm.name = 'RNA_internal_loop' OR cvterm.name = 'A_minor_RNA_motif' OR cvterm.name = 'RNA_junction_loop' OR cvterm.name = 'hammerhead_ribozyme' OR cvterm.name = 'asymmetric_RNA_internal_loop' OR cvterm.name = 'symmetric_RNA_internal_loop' OR cvterm.name = 'K_turn_RNA_motif' OR cvterm.name = 'sarcin_like_RNA_motif' OR cvterm.name = 'RNA_hook_turn' OR cvterm.name = 'chromosome_arm' OR cvterm.name = 'chromosome_band' OR cvterm.name = 'interband' OR cvterm.name = 'chromosomal_regulatory_element' OR cvterm.name = 'chromosomal_structural_element' OR cvterm.name = 'introgressed_chromosome_region' OR cvterm.name = 'matrix_attachment_site' OR cvterm.name = 'centromere' OR cvterm.name = 'telomere' OR cvterm.name = 'transcript' OR cvterm.name = 'regulatory_region' OR cvterm.name = 'polycistronic_transcript' OR cvterm.name = 'transcript_with_translational_frameshift' OR cvterm.name = 'primary_transcript' OR cvterm.name = 'mature_transcript' OR cvterm.name = 'transcript_bound_by_nucleic_acid' OR cvterm.name = 'transcript_bound_by_protein' OR cvterm.name = 'enzymatic_RNA' OR cvterm.name = 'trans_spliced_transcript' OR cvterm.name = 'monocistronic_transcript' OR cvterm.name = 'aberrant_processed_transcript' OR cvterm.name = 'edited_transcript' OR cvterm.name = 'alternatively_spliced_transcript' OR cvterm.name = 'dicistronic_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'protein_coding_primary_transcript' OR cvterm.name = 'nc_primary_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'mini_exon_donor_RNA' OR cvterm.name = 'antisense_primary_transcript' OR cvterm.name = 'capped_primary_transcript' OR cvterm.name = 'pre_edited_mRNA' OR cvterm.name = 'scRNA_primary_transcript' OR cvterm.name = 'rRNA_primary_transcript' OR cvterm.name = 'tRNA_primary_transcript' OR cvterm.name = 'snRNA_primary_transcript' OR cvterm.name = 'snoRNA_primary_transcript' OR cvterm.name = 'tmRNA_primary_transcript' OR cvterm.name = 'SRP_RNA_primary_transcript' OR cvterm.name = 'miRNA_primary_transcript' OR cvterm.name = 'rRNA_small_subunit_primary_transcript' OR cvterm.name = 'rRNA_large_subunit_primary_transcript' OR cvterm.name = 'alanine_tRNA_primary_transcript' OR cvterm.name = 'arginine_tRNA_primary_transcript' OR cvterm.name = 'asparagine_tRNA_primary_transcript' OR cvterm.name = 'aspartic_acid_tRNA_primary_transcript' OR cvterm.name = 'cysteine_tRNA_primary_transcript' OR cvterm.name = 'glutamic_acid_tRNA_primary_transcript' OR cvterm.name = 'glutamine_tRNA_primary_transcript' OR cvterm.name = 'glycine_tRNA_primary_transcript' OR cvterm.name = 'histidine_tRNA_primary_transcript' OR cvterm.name = 'isoleucine_tRNA_primary_transcript' OR cvterm.name = 'leucine_tRNA_primary_transcript' OR cvterm.name = 'lysine_tRNA_primary_transcript' OR cvterm.name = 'methionine_tRNA_primary_transcript' OR cvterm.name = 'phenylalanine_tRNA_primary_transcript' OR cvterm.name = 'proline_tRNA_primary_transcript' OR cvterm.name = 'serine_tRNA_primary_transcript' OR cvterm.name = 'threonine_tRNA_primary_transcript' OR cvterm.name = 'tryptophan_tRNA_primary_transcript' OR cvterm.name = 'tyrosine_tRNA_primary_transcript' OR cvterm.name = 'valine_tRNA_primary_transcript' OR cvterm.name = 'pyrrolysine_tRNA_primary_transcript' OR cvterm.name = 'selenocysteine_tRNA_primary_transcript' OR cvterm.name = 'methylation_guide_snoRNA_primary_transcript' OR cvterm.name = 'rRNA_cleavage_snoRNA_primary_transcript' OR cvterm.name = 'C_D_box_snoRNA_primary_transcript' OR cvterm.name = 'H_ACA_box_snoRNA_primary_transcript' OR cvterm.name = 'U14_snoRNA_primary_transcript' OR cvterm.name = 'stRNA_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'mRNA' OR cvterm.name = 'ncRNA' OR cvterm.name = 'mRNA_with_frameshift' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'exemplar_mRNA' OR cvterm.name = 'capped_mRNA' OR cvterm.name = 'polyadenylated_mRNA' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'recoded_mRNA' OR cvterm.name = 'mRNA_with_minus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_2_frameshift' OR cvterm.name = 'mRNA_with_minus_2_frameshift' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'mRNA_recoded_by_translational_bypass' OR cvterm.name = 'mRNA_recoded_by_codon_redefinition' OR cvterm.name = 'scRNA' OR cvterm.name = 'rRNA' OR cvterm.name = 'tRNA' OR cvterm.name = 'snRNA' OR cvterm.name = 'snoRNA' OR cvterm.name = 'small_regulatory_ncRNA' OR cvterm.name = 'RNase_MRP_RNA' OR cvterm.name = 'RNase_P_RNA' OR cvterm.name = 'telomerase_RNA' OR cvterm.name = 'vault_RNA' OR cvterm.name = 'Y_RNA' OR cvterm.name = 'rasiRNA' OR cvterm.name = 'SRP_RNA' OR cvterm.name = 'guide_RNA' OR cvterm.name = 'antisense_RNA' OR cvterm.name = 'siRNA' OR cvterm.name = 'stRNA' OR cvterm.name = 'class_II_RNA' OR cvterm.name = 'class_I_RNA' OR cvterm.name = 'piRNA' OR cvterm.name = 'lincRNA' OR cvterm.name = 'rRNA_cleavage_RNA' OR cvterm.name = 'small_subunit_rRNA' OR cvterm.name = 'large_subunit_rRNA' OR cvterm.name = 'rRNA_18S' OR cvterm.name = 'rRNA_16S' OR cvterm.name = 'rRNA_5_8S' OR cvterm.name = 'rRNA_5S' OR cvterm.name = 'rRNA_28S' OR cvterm.name = 'rRNA_23S' OR cvterm.name = 'rRNA_25S' OR cvterm.name = 'rRNA_21S' OR cvterm.name = 'alanyl_tRNA' OR cvterm.name = 'asparaginyl_tRNA' OR cvterm.name = 'aspartyl_tRNA' OR cvterm.name = 'cysteinyl_tRNA' OR cvterm.name = 'glutaminyl_tRNA' OR cvterm.name = 'glutamyl_tRNA' OR cvterm.name = 'glycyl_tRNA' OR cvterm.name = 'histidyl_tRNA' OR cvterm.name = 'isoleucyl_tRNA' OR cvterm.name = 'leucyl_tRNA' OR cvterm.name = 'lysyl_tRNA' OR cvterm.name = 'methionyl_tRNA' OR cvterm.name = 'phenylalanyl_tRNA' OR cvterm.name = 'prolyl_tRNA' OR cvterm.name = 'seryl_tRNA' OR cvterm.name = 'threonyl_tRNA' OR cvterm.name = 'tryptophanyl_tRNA' OR cvterm.name = 'tyrosyl_tRNA' OR cvterm.name = 'valyl_tRNA' OR cvterm.name = 'pyrrolysyl_tRNA' OR cvterm.name = 'arginyl_tRNA' OR cvterm.name = 'selenocysteinyl_tRNA' OR cvterm.name = 'U1_snRNA' OR cvterm.name = 'U2_snRNA' OR cvterm.name = 'U4_snRNA' OR cvterm.name = 'U4atac_snRNA' OR cvterm.name = 'U5_snRNA' OR cvterm.name = 'U6_snRNA' OR cvterm.name = 'U6atac_snRNA' OR cvterm.name = 'U11_snRNA' OR cvterm.name = 'U12_snRNA' OR cvterm.name = 'C_D_box_snoRNA' OR cvterm.name = 'H_ACA_box_snoRNA' OR cvterm.name = 'U14_snoRNA' OR cvterm.name = 'U3_snoRNA' OR cvterm.name = 'methylation_guide_snoRNA' OR cvterm.name = 'pseudouridylation_guide_snoRNA' OR cvterm.name = 'miRNA' OR cvterm.name = 'RNA_6S' OR cvterm.name = 'CsrB_RsmB_RNA' OR cvterm.name = 'DsrA_RNA' OR cvterm.name = 'OxyS_RNA' OR cvterm.name = 'RprA_RNA' OR cvterm.name = 'RRE_RNA' OR cvterm.name = 'spot_42_RNA' OR cvterm.name = 'tmRNA' OR cvterm.name = 'GcvB_RNA' OR cvterm.name = 'MicF_RNA' OR cvterm.name = 'ribozyme' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'edited_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'attenuator' OR cvterm.name = 'terminator' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'polyA_signal_sequence' OR cvterm.name = 'gene_group_regulatory_region' OR cvterm.name = 'transcriptional_cis_regulatory_region' OR cvterm.name = 'splicing_regulatory_region' OR cvterm.name = 'cis_regulatory_frameshift_element' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'eukaryotic_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'terminator_of_type_2_RNApol_III_promoter' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'promoter' OR cvterm.name = 'insulator' OR cvterm.name = 'CRM' OR cvterm.name = 'promoter_targeting_sequence' OR cvterm.name = 'bidirectional_promoter' OR cvterm.name = 'RNA_polymerase_promoter' OR cvterm.name = 'RNApol_I_promoter' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'Phage_RNA_Polymerase_Promoter' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'SP6_RNA_Polymerase_Promoter' OR cvterm.name = 'T3_RNA_Polymerase_Promoter' OR cvterm.name = 'T7_RNA_Polymerase_Promoter' OR cvterm.name = 'locus_control_region' OR cvterm.name = 'enhancer' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'exon' OR cvterm.name = 'edited_transcript_feature' OR cvterm.name = 'mature_transcript_region' OR cvterm.name = 'primary_transcript_region' OR cvterm.name = 'exon_region' OR cvterm.name = 'anchor_binding_site' OR cvterm.name = 'coding_exon' OR cvterm.name = 'noncoding_exon' OR cvterm.name = 'interior_exon' OR cvterm.name = 'exon_of_single_exon_gene' OR cvterm.name = 'interior_coding_exon' OR cvterm.name = 'five_prime_coding_exon' OR cvterm.name = 'three_prime_coding_exon' OR cvterm.name = 'three_prime_noncoding_exon' OR cvterm.name = 'five_prime_noncoding_exon' OR cvterm.name = 'pre_edited_region' OR cvterm.name = 'editing_block' OR cvterm.name = 'editing_domain' OR cvterm.name = 'unedited_region' OR cvterm.name = 'mRNA_region' OR cvterm.name = 'tmRNA_region' OR cvterm.name = 'guide_RNA_region' OR cvterm.name = 'tRNA_region' OR cvterm.name = 'riboswitch' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' OR cvterm.name = 'codon' OR cvterm.name = 'five_prime_open_reading_frame' OR cvterm.name = 'UTR_region' OR cvterm.name = 'CDS_region' OR cvterm.name = 'translational_frameshift' OR cvterm.name = 'recoding_stimulatory_region' OR cvterm.name = 'five_prime_UTR' OR cvterm.name = 'three_prime_UTR' OR cvterm.name = 'internal_UTR' OR cvterm.name = 'untranslated_region_polycistronic_mRNA' OR cvterm.name = 'edited_CDS' OR cvterm.name = 'CDS_fragment' OR cvterm.name = 'CDS_independently_known' OR cvterm.name = 'CDS_predicted' OR cvterm.name = 'orphan_CDS' OR cvterm.name = 'CDS_supported_by_sequence_similarity_data' OR cvterm.name = 'CDS_supported_by_domain_match_data' OR cvterm.name = 'CDS_supported_by_EST_or_cDNA_data' OR cvterm.name = 'recoded_codon' OR cvterm.name = 'start_codon' OR cvterm.name = 'stop_codon' OR cvterm.name = 'stop_codon_read_through' OR cvterm.name = 'stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'non_canonical_start_codon' OR cvterm.name = 'four_bp_start_codon' OR cvterm.name = 'CTG_start_codon' OR cvterm.name = 'ribosome_entry_site' OR cvterm.name = 'polyA_site' OR cvterm.name = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'plus_1_translational_frameshift' OR cvterm.name = 'plus_2_translational_frameshift' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'SECIS_element' OR cvterm.name = 'three_prime_recoding_site' OR cvterm.name = 'five_prime_recoding_site' OR cvterm.name = 'stop_codon_signal' OR cvterm.name = 'three_prime_stem_loop_structure' OR cvterm.name = 'flanking_three_prime_quadruplet_recoding_signal' OR cvterm.name = 'three_prime_repeat_recoding_signal' OR cvterm.name = 'distant_three_prime_recoding_signal' OR cvterm.name = 'UAG_stop_codon_signal' OR cvterm.name = 'UAA_stop_codon_signal' OR cvterm.name = 'UGA_stop_codon_signal' OR cvterm.name = 'tmRNA_coding_piece' OR cvterm.name = 'tmRNA_acceptor_piece' OR cvterm.name = 'anchor_region' OR cvterm.name = 'template_region' OR cvterm.name = 'anticodon_loop' OR cvterm.name = 'anticodon' OR cvterm.name = 'CCA_tail' OR cvterm.name = 'DHU_loop' OR cvterm.name = 'T_loop' OR cvterm.name = 'splice_site' OR cvterm.name = 'intron' OR cvterm.name = 'clip' OR cvterm.name = 'TSS' OR cvterm.name = 'transcription_end_site' OR cvterm.name = 'spliced_leader_RNA' OR cvterm.name = 'rRNA_primary_transcript_region' OR cvterm.name = 'spliceosomal_intron_region' OR cvterm.name = 'intron_domain' OR cvterm.name = 'miRNA_primary_transcript_region' OR cvterm.name = 'outron' OR cvterm.name = 'cis_splice_site' OR cvterm.name = 'trans_splice_site' OR cvterm.name = 'five_prime_cis_splice_site' OR cvterm.name = 'three_prime_cis_splice_site' OR cvterm.name = 'recursive_splice_site' OR cvterm.name = 'canonical_five_prime_splice_site' OR cvterm.name = 'non_canonical_five_prime_splice_site' OR cvterm.name = 'canonical_three_prime_splice_site' OR cvterm.name = 'non_canonical_three_prime_splice_site' OR cvterm.name = 'trans_splice_acceptor_site' OR cvterm.name = 'trans_splice_donor_site' OR cvterm.name = 'SL1_acceptor_site' OR cvterm.name = 'SL2_acceptor_site' OR cvterm.name = 'five_prime_intron' OR cvterm.name = 'interior_intron' OR cvterm.name = 'three_prime_intron' OR cvterm.name = 'twintron' OR cvterm.name = 'UTR_intron' OR cvterm.name = 'autocatalytically_spliced_intron' OR cvterm.name = 'spliceosomal_intron' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'endonuclease_spliced_intron' OR cvterm.name = 'five_prime_UTR_intron' OR cvterm.name = 'three_prime_UTR_intron' OR cvterm.name = 'group_I_intron' OR cvterm.name = 'group_II_intron' OR cvterm.name = 'group_III_intron' OR cvterm.name = 'group_IIA_intron' OR cvterm.name = 'group_IIB_intron' OR cvterm.name = 'U2_intron' OR cvterm.name = 'U12_intron' OR cvterm.name = 'archaeal_intron' OR cvterm.name = 'tRNA_intron' OR cvterm.name = 'five_prime_clip' OR cvterm.name = 'three_prime_clip' OR cvterm.name = 'major_TSS' OR cvterm.name = 'minor_TSS' OR cvterm.name = 'transcribed_spacer_region' OR cvterm.name = 'internal_transcribed_spacer_region' OR cvterm.name = 'external_transcribed_spacer_region' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'branch_site' OR cvterm.name = 'polypyrimidine_tract' OR cvterm.name = 'internal_guide_sequence' OR cvterm.name = 'mirtron' OR cvterm.name = 'pre_miRNA' OR cvterm.name = 'miRNA_stem' OR cvterm.name = 'miRNA_loop' OR cvterm.name = 'miRNA_antiguide' OR cvterm.name = 'noncoding_region_of_exon' OR cvterm.name = 'coding_region_of_exon' OR cvterm.name = 'three_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_coding_region' OR cvterm.name = 'three_prime_coding exon_coding_region' OR cvterm.name = 'mature_protein_region' OR cvterm.name = 'immature_peptide_region' OR cvterm.name = 'compositionally_biased_region_of_peptide' OR cvterm.name = 'polypeptide_structural_region' OR cvterm.name = 'polypeptide_variation_site' OR cvterm.name = 'cleaved_peptide_region' OR cvterm.name = 'hydrophobic_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_region' OR cvterm.name = 'active_peptide' OR cvterm.name = 'polypeptide_domain' OR cvterm.name = 'membrane_structure' OR cvterm.name = 'extramembrane_polypeptide_region' OR cvterm.name = 'intramembrane_polypeptide_region' OR cvterm.name = 'polypeptide_secondary_structure' OR cvterm.name = 'polypeptide_structural_motif' OR cvterm.name = 'intrinsically_unstructured_polypeptide_region' OR cvterm.name = 'cytoplasmic_polypeptide_region' OR cvterm.name = 'non_cytoplasmic_polypeptide_region' OR cvterm.name = 'membrane_peptide_loop' OR cvterm.name = 'transmembrane_polypeptide_region' OR cvterm.name = 'asx_motif' OR cvterm.name = 'beta_bulge' OR cvterm.name = 'beta_bulge_loop' OR cvterm.name = 'beta_strand' OR cvterm.name = 'peptide_helix' OR cvterm.name = 'polypeptide_nest_motif' OR cvterm.name = 'schellmann_loop' OR cvterm.name = 'serine_threonine_motif' OR cvterm.name = 'serine_threonine_staple_motif' OR cvterm.name = 'polypeptide_turn_motif' OR cvterm.name = 'catmat_left_handed_three' OR cvterm.name = 'catmat_left_handed_four' OR cvterm.name = 'catmat_right_handed_three' OR cvterm.name = 'catmat_right_handed_four' OR cvterm.name = 'alpha_beta_motif' OR cvterm.name = 'peptide_coil' OR cvterm.name = 'beta_bulge_loop_five' OR cvterm.name = 'beta_bulge_loop_six' OR cvterm.name = 'antiparallel_beta_strand' OR cvterm.name = 'parallel_beta_strand' OR cvterm.name = 'left_handed_peptide_helix' OR cvterm.name = 'right_handed_peptide_helix' OR cvterm.name = 'alpha_helix' OR cvterm.name = 'pi_helix' OR cvterm.name = 'three_ten_helix' OR cvterm.name = 'polypeptide_nest_left_right_motif' OR cvterm.name = 'polypeptide_nest_right_left_motif' OR cvterm.name = 'schellmann_loop_seven' OR cvterm.name = 'schellmann_loop_six' OR cvterm.name = 'asx_turn' OR cvterm.name = 'beta_turn' OR cvterm.name = 'gamma_turn' OR cvterm.name = 'serine_threonine_turn' OR cvterm.name = 'asx_turn_left_handed_type_one' OR cvterm.name = 'asx_turn_left_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_two' OR cvterm.name = 'beta_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_right_handed_type_two' OR cvterm.name = 'beta_turn_type_six' OR cvterm.name = 'beta_turn_type_eight' OR cvterm.name = 'beta_turn_type_six_a' OR cvterm.name = 'beta_turn_type_six_b' OR cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'gamma_turn_classic' OR cvterm.name = 'gamma_turn_inverse' OR cvterm.name = 'st_turn_left_handed_type_one' OR cvterm.name = 'st_turn_left_handed_type_two' OR cvterm.name = 'st_turn_right_handed_type_one' OR cvterm.name = 'st_turn_right_handed_type_two' OR cvterm.name = 'coiled_coil' OR cvterm.name = 'helix_turn_helix' OR cvterm.name = 'natural_variant_site' OR cvterm.name = 'mutated_variant_site' OR cvterm.name = 'alternate_sequence_site' OR cvterm.name = 'signal_peptide' OR cvterm.name = 'cleaved_initiator_methionine' OR cvterm.name = 'transit_peptide' OR cvterm.name = 'intein' OR cvterm.name = 'propeptide_cleavage_site' OR cvterm.name = 'propeptide' OR cvterm.name = 'cleaved_for_gpi_anchor_region' OR cvterm.name = 'lipoprotein_signal_peptide' OR cvterm.name = 'n_terminal_region' OR cvterm.name = 'c_terminal_region' OR cvterm.name = 'central_hydrophobic_region_of_signal_peptide' OR cvterm.name = 'polypeptide_domain' OR cvterm.name = 'polypeptide_motif' OR cvterm.name = 'polypeptide_repeat' OR cvterm.name = 'biochemical_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_motif' OR cvterm.name = 'post_translationally_modified_region' OR cvterm.name = 'conformational_switch' OR cvterm.name = 'molecular_contact_region' OR cvterm.name = 'polypeptide_binding_motif' OR cvterm.name = 'polypeptide_catalytic_motif' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'non_transcribed_region' OR cvterm.name = 'gene_fragment' OR cvterm.name = 'TSS_region' OR cvterm.name = 'gene_segment' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'extrachromosomal_mobile_genetic_element' OR cvterm.name = 'integrated_mobile_genetic_element' OR cvterm.name = 'viral_sequence' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'transposable_element' OR cvterm.name = 'proviral_region' OR cvterm.name = 'integron' OR cvterm.name = 'genomic_island' OR cvterm.name = 'integrated_plasmid' OR cvterm.name = 'cointegrated_plasmid' OR cvterm.name = 'retrotransposon' OR cvterm.name = 'DNA_transposon' OR cvterm.name = 'foreign_transposable_element' OR cvterm.name = 'transgenic_transposable_element' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'transposon_fragment' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' OR cvterm.name = 'RR_tract' OR cvterm.name = 'LINE_element' OR cvterm.name = 'SINE_element' OR cvterm.name = 'terminal_inverted_repeat_element' OR cvterm.name = 'foldback_element' OR cvterm.name = 'conjugative_transposon' OR cvterm.name = 'helitron' OR cvterm.name = 'MITE' OR cvterm.name = 'insertion_sequence' OR cvterm.name = 'polinton' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'prophage' OR cvterm.name = 'pathogenic_island' OR cvterm.name = 'metabolic_island' OR cvterm.name = 'adaptive_island' OR cvterm.name = 'symbiosis_island' OR cvterm.name = 'cryptic_prophage' OR cvterm.name = 'defective_conjugative_transposon' OR cvterm.name = 'plasmid' OR cvterm.name = 'chromosome' OR cvterm.name = 'vector_replicon' OR cvterm.name = 'maxicircle' OR cvterm.name = 'minicircle' OR cvterm.name = 'viral_sequence' OR cvterm.name = 'engineered_plasmid' OR cvterm.name = 'episome' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'mitochondrial_chromosome' OR cvterm.name = 'chloroplast_chromosome' OR cvterm.name = 'chromoplast_chromosome' OR cvterm.name = 'cyanelle_chromosome' OR cvterm.name = 'leucoplast_chromosome' OR cvterm.name = 'macronuclear_chromosome' OR cvterm.name = 'micronuclear_chromosome' OR cvterm.name = 'nuclear_chromosome' OR cvterm.name = 'nucleomorphic_chromosome' OR cvterm.name = 'DNA_chromosome' OR cvterm.name = 'RNA_chromosome' OR cvterm.name = 'apicoplast_chromosome' OR cvterm.name = 'double_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_DNA_chromosome' OR cvterm.name = 'linear_double_stranded_DNA_chromosome' OR cvterm.name = 'circular_double_stranded_DNA_chromosome' OR cvterm.name = 'linear_single_stranded_DNA_chromosome' OR cvterm.name = 'circular_single_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_RNA_chromosome' OR cvterm.name = 'double_stranded_RNA_chromosome' OR cvterm.name = 'linear_single_stranded_RNA_chromosome' OR cvterm.name = 'circular_single_stranded_RNA_chromosome' OR cvterm.name = 'linear_double_stranded_RNA_chromosome' OR cvterm.name = 'circular_double_stranded_RNA_chromosome' OR cvterm.name = 'YAC' OR cvterm.name = 'BAC' OR cvterm.name = 'PAC' OR cvterm.name = 'cosmid' OR cvterm.name = 'phagemid' OR cvterm.name = 'fosmid' OR cvterm.name = 'lambda_vector' OR cvterm.name = 'plasmid_vector' OR cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'modified_RNA_base_feature' OR cvterm.name = 'modified_base_site' OR cvterm.name = 'inosine' OR cvterm.name = 'seven_methylguanine' OR cvterm.name = 'ribothymidine' OR cvterm.name = 'modified_adenosine' OR cvterm.name = 'modified_cytidine' OR cvterm.name = 'modified_guanosine' OR cvterm.name = 'modified_uridine' OR cvterm.name = 'modified_inosine' OR cvterm.name = 'methylinosine' OR cvterm.name = 'one_methylinosine' OR cvterm.name = 'one_two_prime_O_dimethylinosine' OR cvterm.name = 'two_prime_O_methylinosine' OR cvterm.name = 'one_methyladenosine' OR cvterm.name = 'two_methyladenosine' OR cvterm.name = 'N6_methyladenosine' OR cvterm.name = 'two_prime_O_methyladenosine' OR cvterm.name = 'two_methylthio_N6_methyladenosine' OR cvterm.name = 'N6_isopentenyladenosine' OR cvterm.name = 'two_methylthio_N6_isopentenyladenosine' OR cvterm.name = 'N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'two_methylthio_N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'N6_glycinylcarbamoyladenosine' OR cvterm.name = 'N6_threonylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_threonyl_carbamoyladenosine' OR cvterm.name = 'N6_methyl_N6_threonylcarbamoyladenosine' OR cvterm.name = 'N6_hydroxynorvalylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_hydroxynorvalyl_carbamoyladenosine' OR cvterm.name = 'two_prime_O_ribosyladenosine_phosphate' OR cvterm.name = 'N6_N6_dimethyladenosine' OR cvterm.name = 'N6_2_prime_O_dimethyladenosine' OR cvterm.name = 'N6_N6_2_prime_O_trimethyladenosine' OR cvterm.name = 'one_two_prime_O_dimethyladenosine' OR cvterm.name = 'N6_acetyladenosine' OR cvterm.name = 'three_methylcytidine' OR cvterm.name = 'five_methylcytidine' OR cvterm.name = 'two_prime_O_methylcytidine' OR cvterm.name = 'two_thiocytidine' OR cvterm.name = 'N4_acetylcytidine' OR cvterm.name = 'five_formylcytidine' OR cvterm.name = 'five_two_prime_O_dimethylcytidine' OR cvterm.name = 'N4_acetyl_2_prime_O_methylcytidine' OR cvterm.name = 'lysidine' OR cvterm.name = 'N4_methylcytidine' OR cvterm.name = 'N4_2_prime_O_dimethylcytidine' OR cvterm.name = 'five_hydroxymethylcytidine' OR cvterm.name = 'five_formyl_two_prime_O_methylcytidine' OR cvterm.name = 'N4_N4_2_prime_O_trimethylcytidine' OR cvterm.name = 'seven_deazaguanosine' OR cvterm.name = 'one_methylguanosine' OR cvterm.name = 'N2_methylguanosine' OR cvterm.name = 'seven_methylguanosine' OR cvterm.name = 'two_prime_O_methylguanosine' OR cvterm.name = 'N2_N2_dimethylguanosine' OR cvterm.name = 'N2_2_prime_O_dimethylguanosine' OR cvterm.name = 'N2_N2_2_prime_O_trimethylguanosine' OR cvterm.name = 'two_prime_O_ribosylguanosine_phosphate' OR cvterm.name = 'wybutosine' OR cvterm.name = 'peroxywybutosine' OR cvterm.name = 'hydroxywybutosine' OR cvterm.name = 'undermodified_hydroxywybutosine' OR cvterm.name = 'wyosine' OR cvterm.name = 'methylwyosine' OR cvterm.name = 'N2_7_dimethylguanosine' OR cvterm.name = 'N2_N2_7_trimethylguanosine' OR cvterm.name = 'one_two_prime_O_dimethylguanosine' OR cvterm.name = 'four_demethylwyosine' OR cvterm.name = 'isowyosine' OR cvterm.name = 'N2_7_2prirme_O_trimethylguanosine' OR cvterm.name = 'queuosine' OR cvterm.name = 'epoxyqueuosine' OR cvterm.name = 'galactosyl_queuosine' OR cvterm.name = 'mannosyl_queuosine' OR cvterm.name = 'seven_cyano_seven_deazaguanosine' OR cvterm.name = 'seven_aminomethyl_seven_deazaguanosine' OR cvterm.name = 'archaeosine' OR cvterm.name = 'dihydrouridine' OR cvterm.name = 'pseudouridine' OR cvterm.name = 'five_methyluridine' OR cvterm.name = 'two_prime_O_methyluridine' OR cvterm.name = 'five_two_prime_O_dimethyluridine' OR cvterm.name = 'one_methylpseudouridine' OR cvterm.name = 'two_prime_O_methylpseudouridine' OR cvterm.name = 'two_thiouridine' OR cvterm.name = 'four_thiouridine' OR cvterm.name = 'five_methyl_2_thiouridine' OR cvterm.name = 'two_thio_two_prime_O_methyluridine' OR cvterm.name = 'three_three_amino_three_carboxypropyl_uridine' OR cvterm.name = 'five_hydroxyuridine' OR cvterm.name = 'five_methoxyuridine' OR cvterm.name = 'uridine_five_oxyacetic_acid' OR cvterm.name = 'uridine_five_oxyacetic_acid_methyl_ester' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine_methyl_ester' OR cvterm.name = 'five_methoxycarbonylmethyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_thiouridine' OR cvterm.name = 'five_aminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyluridine' OR cvterm.name = 'five_methylaminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyl_two_selenouridine' OR cvterm.name = 'five_carbamoylmethyluridine' OR cvterm.name = 'five_carbamoylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_thiouridine' OR cvterm.name = 'three_methyluridine' OR cvterm.name = 'one_methyl_three_three_amino_three_carboxypropyl_pseudouridine' OR cvterm.name = 'five_carboxymethyluridine' OR cvterm.name = 'three_two_prime_O_dimethyluridine' OR cvterm.name = 'five_methyldihydrouridine' OR cvterm.name = 'three_methylpseudouridine' OR cvterm.name = 'five_taurinomethyluridine' OR cvterm.name = 'five_taurinomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_uridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'methylated_base_feature' OR cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' OR cvterm.name = 'catalytic_residue' OR cvterm.name = 'modified_amino_acid_feature' OR cvterm.name = 'alanine' OR cvterm.name = 'valine' OR cvterm.name = 'leucine' OR cvterm.name = 'isoleucine' OR cvterm.name = 'proline' OR cvterm.name = 'tryptophan' OR cvterm.name = 'phenylalanine' OR cvterm.name = 'methionine' OR cvterm.name = 'glycine' OR cvterm.name = 'serine' OR cvterm.name = 'threonine' OR cvterm.name = 'tyrosine' OR cvterm.name = 'cysteine' OR cvterm.name = 'glutamine' OR cvterm.name = 'asparagine' OR cvterm.name = 'lysine' OR cvterm.name = 'argenine' OR cvterm.name = 'histidine' OR cvterm.name = 'aspartic_acid' OR cvterm.name = 'glutamic_acid' OR cvterm.name = 'selenocysteine' OR cvterm.name = 'pyrrolysine' OR cvterm.name = 'modified_glycine' OR cvterm.name = 'modified_L_alanine' OR cvterm.name = 'modified_L_asparagine' OR cvterm.name = 'modified_L_aspartic_acid' OR cvterm.name = 'modified_L_cysteine' OR cvterm.name = 'modified_L_glutamic_acid' OR cvterm.name = 'modified_L_threonine' OR cvterm.name = 'modified_L_tryptophan' OR cvterm.name = 'modified_L_glutamine' OR cvterm.name = 'modified_L_methionine' OR cvterm.name = 'modified_L_isoleucine' OR cvterm.name = 'modified_L_phenylalanine' OR cvterm.name = 'modified_L_histidine' OR cvterm.name = 'modified_L_serine' OR cvterm.name = 'modified_L_lysine' OR cvterm.name = 'modified_L_leucine' OR cvterm.name = 'modified_L_selenocysteine' OR cvterm.name = 'modified_L_valine' OR cvterm.name = 'modified_L_proline' OR cvterm.name = 'modified_L_tyrosine' OR cvterm.name = 'modified_L_arginine' OR cvterm.name = 'operon' OR cvterm.name = 'gene_array' OR cvterm.name = 'gene_subarray' OR cvterm.name = 'gene_cassette_array' OR cvterm.name = 'regulon' OR cvterm.name = 'sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'point_mutation' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'MNP' OR cvterm.name = 'transition' OR cvterm.name = 'transversion' OR cvterm.name = 'pyrimidine_transition' OR cvterm.name = 'purine_transition' OR cvterm.name = 'C_to_T_transition' OR cvterm.name = 'T_to_C_transition' OR cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'A_to_G_transition' OR cvterm.name = 'G_to_A_transition' OR cvterm.name = 'pyrimidine_to_purine_transversion' OR cvterm.name = 'purine_to_pyrimidine_transversion' OR cvterm.name = 'C_to_A_transversion' OR cvterm.name = 'C_to_G_transversion' OR cvterm.name = 'T_to_A_transversion' OR cvterm.name = 'T_to_G_transversion' OR cvterm.name = 'A_to_C_transversion' OR cvterm.name = 'A_to_T_transversion' OR cvterm.name = 'G_to_C_transversion' OR cvterm.name = 'G_to_T_transversion' OR cvterm.name = 'flanking_region' OR cvterm.name = 'repeat_region' OR cvterm.name = 'repeat_unit' OR cvterm.name = 'repeat_component' OR cvterm.name = 'transposable_element_flanking_region' OR cvterm.name = 'five_prime_flanking_region' OR cvterm.name = 'three_prime_flanking_region' OR cvterm.name = 'long_terminal_repeat' OR cvterm.name = 'engineered_foreign_repetitive_element' OR cvterm.name = 'inverted_repeat' OR cvterm.name = 'direct_repeat' OR cvterm.name = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'dispersed_repeat' OR cvterm.name = 'tandem_repeat' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'five_prime_LTR' OR cvterm.name = 'three_prime_LTR' OR cvterm.name = 'solo_LTR' OR cvterm.name = 'terminal_inverted_repeat' OR cvterm.name = 'five_prime_terminal_inverted_repeat' OR cvterm.name = 'three_prime_terminal_inverted_repeat' OR cvterm.name = 'target_site_duplication' OR cvterm.name = 'CRISPR' OR cvterm.name = 'satellite_DNA' OR cvterm.name = 'microsatellite' OR cvterm.name = 'minisatellite' OR cvterm.name = 'dinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'trinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'tetranucleotide_repeat_microsatellite_feature' OR cvterm.name = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'LTR_component' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'U5_LTR_region' OR cvterm.name = 'R_LTR_region' OR cvterm.name = 'U3_LTR_region' OR cvterm.name = 'three_prime_LTR_component' OR cvterm.name = 'five_prime_LTR_component' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'R_three_prime_LTR_region' OR cvterm.name = 'U3_three_prime_LTR_region' OR cvterm.name = 'U5_three_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'clone_insert_end' OR cvterm.name = 'clone_insert_start' OR cvterm.name = 'exon_junction' OR cvterm.name = 'insertion_site' OR cvterm.name = 'deletion_junction' OR cvterm.name = 'chromosome_breakpoint' OR cvterm.name = 'splice_junction' OR cvterm.name = 'polyA_junction' OR cvterm.name = 'trans_splice_junction' OR cvterm.name = 'transposable_element_insertion_site' OR cvterm.name = 'inversion_breakpoint' OR cvterm.name = 'translocation_breakpoint' OR cvterm.name = 'insertion_breakpoint' OR cvterm.name = 'deletion_breakpoint' OR cvterm.name = 'deletion' OR cvterm.name = 'translocation' OR cvterm.name = 'insertion' OR cvterm.name = 'substitution' OR cvterm.name = 'uncharacterised_change_in_nucleotide_sequence' OR cvterm.name = 'indel' OR cvterm.name = 'inversion' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'point_mutation' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'MNP' OR cvterm.name = 'transition' OR cvterm.name = 'transversion' OR cvterm.name = 'pyrimidine_transition' OR cvterm.name = 'purine_transition' OR cvterm.name = 'C_to_T_transition' OR cvterm.name = 'T_to_C_transition' OR cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'A_to_G_transition' OR cvterm.name = 'G_to_A_transition' OR cvterm.name = 'pyrimidine_to_purine_transversion' OR cvterm.name = 'purine_to_pyrimidine_transversion' OR cvterm.name = 'C_to_A_transversion' OR cvterm.name = 'C_to_G_transversion' OR cvterm.name = 'T_to_A_transversion' OR cvterm.name = 'T_to_G_transversion' OR cvterm.name = 'A_to_C_transversion' OR cvterm.name = 'A_to_T_transversion' OR cvterm.name = 'G_to_C_transversion' OR cvterm.name = 'G_to_T_transversion' OR cvterm.name = 'partially_characterised_change_in_DNA_sequence' OR cvterm.name = 'nucleotide_deletion' OR cvterm.name = 'nucleotide_insertion' OR cvterm.name = 'nucleotide_duplication' OR cvterm.name = 'sequence_feature';
- CREATE VIEW transposable_element_gene AS
- SELECT
- feature_id AS transposable_element_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'transposable_element_gene';
- CREATE VIEW primer AS
- SELECT
- feature_id AS primer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequencing_primer' OR cvterm.name = 'forward_primer' OR cvterm.name = 'reverse_primer' OR cvterm.name = 'primer';
- CREATE VIEW proviral_region AS
- SELECT
- feature_id AS proviral_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'prophage' OR cvterm.name = 'proviral_region';
- CREATE VIEW methylated_c AS
- SELECT
- feature_id AS methylated_c_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylated_C';
- CREATE VIEW edited AS
- SELECT
- feature_id AS edited_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'edited';
- CREATE VIEW transcript_with_translational_frameshift AS
- SELECT
- feature_id AS transcript_with_translational_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcript_with_translational_frameshift';
- CREATE VIEW regulated AS
- SELECT
- feature_id AS regulated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcriptionally_regulated' OR cvterm.name = 'post_translationally_regulated' OR cvterm.name = 'translationally_regulated' OR cvterm.name = 'imprinted' OR cvterm.name = 'transcriptionally_constitutive' OR cvterm.name = 'transcriptionally_induced' OR cvterm.name = 'transcriptionally_repressed' OR cvterm.name = 'autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'silenced' OR cvterm.name = 'silenced_by_DNA_modification' OR cvterm.name = 'silenced_by_RNA_interference' OR cvterm.name = 'silenced_by_histone_modification' OR cvterm.name = 'silenced_by_DNA_methylation' OR cvterm.name = 'silenced_by_histone_methylation' OR cvterm.name = 'silenced_by_histone_deacetylation' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'post_translationally_regulated_by_protein_stability' OR cvterm.name = 'post_translationally_regulated_by_protein_modification' OR cvterm.name = 'maternally_imprinted' OR cvterm.name = 'paternally_imprinted' OR cvterm.name = 'regulated';
- CREATE VIEW protein_coding_primary_transcript AS
- SELECT
- feature_id AS protein_coding_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pre_edited_mRNA' OR cvterm.name = 'protein_coding_primary_transcript';
- CREATE VIEW forward_primer AS
- SELECT
- feature_id AS forward_primer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'forward_primer';
- CREATE VIEW rna_sequence_secondary_structure AS
- SELECT
- feature_id AS rna_sequence_secondary_structure_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stem_loop' OR cvterm.name = 'tetraloop' OR cvterm.name = 'RNA_sequence_secondary_structure';
- CREATE VIEW transcriptionally_regulated AS
- SELECT
- feature_id AS transcriptionally_regulated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcriptionally_constitutive' OR cvterm.name = 'transcriptionally_induced' OR cvterm.name = 'transcriptionally_repressed' OR cvterm.name = 'autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'silenced' OR cvterm.name = 'silenced_by_DNA_modification' OR cvterm.name = 'silenced_by_RNA_interference' OR cvterm.name = 'silenced_by_histone_modification' OR cvterm.name = 'silenced_by_DNA_methylation' OR cvterm.name = 'silenced_by_histone_methylation' OR cvterm.name = 'silenced_by_histone_deacetylation' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'transcriptionally_regulated';
- CREATE VIEW transcriptionally_constitutive AS
- SELECT
- feature_id AS transcriptionally_constitutive_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcriptionally_constitutive';
- CREATE VIEW transcriptionally_induced AS
- SELECT
- feature_id AS transcriptionally_induced_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'positively_autoregulated' OR cvterm.name = 'transcriptionally_induced';
- CREATE VIEW transcriptionally_repressed AS
- SELECT
- feature_id AS transcriptionally_repressed_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'silenced' OR cvterm.name = 'silenced_by_DNA_modification' OR cvterm.name = 'silenced_by_RNA_interference' OR cvterm.name = 'silenced_by_histone_modification' OR cvterm.name = 'silenced_by_DNA_methylation' OR cvterm.name = 'silenced_by_histone_methylation' OR cvterm.name = 'silenced_by_histone_deacetylation' OR cvterm.name = 'transcriptionally_repressed';
- CREATE VIEW silenced_gene AS
- SELECT
- feature_id AS silenced_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_silenced_by_DNA_modification' OR cvterm.name = 'gene_silenced_by_RNA_interference' OR cvterm.name = 'gene_silenced_by_histone_modification' OR cvterm.name = 'gene_silenced_by_DNA_methylation' OR cvterm.name = 'gene_silenced_by_histone_methylation' OR cvterm.name = 'gene_silenced_by_histone_deacetylation' OR cvterm.name = 'silenced_gene';
- CREATE VIEW gene_silenced_by_dna_modification AS
- SELECT
- feature_id AS gene_silenced_by_dna_modification_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_silenced_by_DNA_methylation' OR cvterm.name = 'gene_silenced_by_DNA_modification';
- CREATE VIEW gene_silenced_by_dna_methylation AS
- SELECT
- feature_id AS gene_silenced_by_dna_methylation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_silenced_by_DNA_methylation';
- CREATE VIEW post_translationally_regulated AS
- SELECT
- feature_id AS post_translationally_regulated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'post_translationally_regulated_by_protein_stability' OR cvterm.name = 'post_translationally_regulated_by_protein_modification' OR cvterm.name = 'post_translationally_regulated';
- CREATE VIEW translationally_regulated AS
- SELECT
- feature_id AS translationally_regulated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'translationally_regulated';
- CREATE VIEW reverse_primer AS
- SELECT
- feature_id AS reverse_primer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'reverse_primer';
- CREATE VIEW epigenetically_modified AS
- SELECT
- feature_id AS epigenetically_modified_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'imprinted' OR cvterm.name = 'allelically_excluded' OR cvterm.name = 'rearranged_at_DNA_level' OR cvterm.name = 'maternally_imprinted' OR cvterm.name = 'paternally_imprinted' OR cvterm.name = 'epigenetically_modified';
- CREATE VIEW imprinted AS
- SELECT
- feature_id AS imprinted_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'maternally_imprinted' OR cvterm.name = 'paternally_imprinted' OR cvterm.name = 'imprinted';
- CREATE VIEW maternally_imprinted AS
- SELECT
- feature_id AS maternally_imprinted_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'maternally_imprinted';
- CREATE VIEW paternally_imprinted AS
- SELECT
- feature_id AS paternally_imprinted_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paternally_imprinted';
- CREATE VIEW allelically_excluded AS
- SELECT
- feature_id AS allelically_excluded_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'allelically_excluded';
- CREATE VIEW gene_rearranged_at_dna_level AS
- SELECT
- feature_id AS gene_rearranged_at_dna_level_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_rearranged_at_DNA_level';
- CREATE VIEW ribosome_entry_site AS
- SELECT
- feature_id AS ribosome_entry_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'ribosome_entry_site';
- CREATE VIEW attenuator AS
- SELECT
- feature_id AS attenuator_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attenuator';
- CREATE VIEW terminator AS
- SELECT
- feature_id AS terminator_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bacterial_terminator' OR cvterm.name = 'eukaryotic_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'terminator_of_type_2_RNApol_III_promoter' OR cvterm.name = 'terminator';
- CREATE VIEW dna_sequence_secondary_structure AS
- SELECT
- feature_id AS dna_sequence_secondary_structure_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'i_motif' OR cvterm.name = 'DNA_sequence_secondary_structure';
- CREATE VIEW assembly_component AS
- SELECT
- feature_id AS assembly_component_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'read_pair' OR cvterm.name = 'contig' OR cvterm.name = 'read' OR cvterm.name = 'restriction_fragment' OR cvterm.name = 'golden_path_fragment' OR cvterm.name = 'tiling_path_fragment' OR cvterm.name = 'gap' OR cvterm.name = 'sonicate_fragment' OR cvterm.name = 'contig_read' OR cvterm.name = 'BAC_end' OR cvterm.name = 'dye_terminator_read' OR cvterm.name = 'pyrosequenced_read' OR cvterm.name = 'ligation_based_read' OR cvterm.name = 'polymerase_synthesis_read' OR cvterm.name = 'PAC_end' OR cvterm.name = 'RFLP_fragment' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'assembly_component';
- CREATE VIEW recoded_codon AS
- SELECT
- feature_id AS recoded_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_codon_read_through' OR cvterm.name = 'stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'recoded_codon';
- CREATE VIEW capped AS
- SELECT
- feature_id AS capped_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'capped';
- CREATE VIEW exon AS
- SELECT
- feature_id AS exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'coding_exon' OR cvterm.name = 'noncoding_exon' OR cvterm.name = 'interior_exon' OR cvterm.name = 'exon_of_single_exon_gene' OR cvterm.name = 'interior_coding_exon' OR cvterm.name = 'five_prime_coding_exon' OR cvterm.name = 'three_prime_coding_exon' OR cvterm.name = 'three_prime_noncoding_exon' OR cvterm.name = 'five_prime_noncoding_exon' OR cvterm.name = 'exon';
- CREATE VIEW supercontig AS
- SELECT
- feature_id AS supercontig_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'supercontig';
- CREATE VIEW contig AS
- SELECT
- feature_id AS contig_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'contig';
- CREATE VIEW read AS
- SELECT
- feature_id AS read_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'contig_read' OR cvterm.name = 'BAC_end' OR cvterm.name = 'dye_terminator_read' OR cvterm.name = 'pyrosequenced_read' OR cvterm.name = 'ligation_based_read' OR cvterm.name = 'polymerase_synthesis_read' OR cvterm.name = 'PAC_end' OR cvterm.name = 'read';
- CREATE VIEW clone AS
- SELECT
- feature_id AS clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'genomic_clone' OR cvterm.name = 'cDNA_clone' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'validated_cDNA_clone' OR cvterm.name = 'invalidated_cDNA_clone' OR cvterm.name = 'three_prime_RACE_clone' OR cvterm.name = 'chimeric_cDNA_clone' OR cvterm.name = 'genomically_contaminated_cDNA_clone' OR cvterm.name = 'polyA_primed_cDNA_clone' OR cvterm.name = 'partially_processed_cDNA_clone' OR cvterm.name = 'clone';
- CREATE VIEW yac AS
- SELECT
- feature_id AS yac_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'YAC';
- CREATE VIEW bac AS
- SELECT
- feature_id AS bac_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'BAC';
- CREATE VIEW pac AS
- SELECT
- feature_id AS pac_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'PAC';
- CREATE VIEW plasmid AS
- SELECT
- feature_id AS plasmid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_plasmid' OR cvterm.name = 'episome' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'plasmid';
- CREATE VIEW cosmid AS
- SELECT
- feature_id AS cosmid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cosmid';
- CREATE VIEW phagemid AS
- SELECT
- feature_id AS phagemid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'phagemid';
- CREATE VIEW fosmid AS
- SELECT
- feature_id AS fosmid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'fosmid';
- CREATE VIEW deletion AS
- SELECT
- feature_id AS deletion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deletion';
- CREATE VIEW methylated_a AS
- SELECT
- feature_id AS methylated_a_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylated_A';
- CREATE VIEW splice_site AS
- SELECT
- feature_id AS splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cis_splice_site' OR cvterm.name = 'trans_splice_site' OR cvterm.name = 'five_prime_cis_splice_site' OR cvterm.name = 'three_prime_cis_splice_site' OR cvterm.name = 'recursive_splice_site' OR cvterm.name = 'canonical_five_prime_splice_site' OR cvterm.name = 'non_canonical_five_prime_splice_site' OR cvterm.name = 'canonical_three_prime_splice_site' OR cvterm.name = 'non_canonical_three_prime_splice_site' OR cvterm.name = 'trans_splice_acceptor_site' OR cvterm.name = 'trans_splice_donor_site' OR cvterm.name = 'SL1_acceptor_site' OR cvterm.name = 'SL2_acceptor_site' OR cvterm.name = 'splice_site';
- CREATE VIEW five_prime_cis_splice_site AS
- SELECT
- feature_id AS five_prime_cis_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'canonical_five_prime_splice_site' OR cvterm.name = 'non_canonical_five_prime_splice_site' OR cvterm.name = 'five_prime_cis_splice_site';
- CREATE VIEW three_prime_cis_splice_site AS
- SELECT
- feature_id AS three_prime_cis_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'canonical_three_prime_splice_site' OR cvterm.name = 'non_canonical_three_prime_splice_site' OR cvterm.name = 'three_prime_cis_splice_site';
- CREATE VIEW enhancer AS
- SELECT
- feature_id AS enhancer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'enhancer';
- CREATE VIEW enhancer_bound_by_factor AS
- SELECT
- feature_id AS enhancer_bound_by_factor_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'enhancer_bound_by_factor';
- CREATE VIEW promoter AS
- SELECT
- feature_id AS promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bidirectional_promoter' OR cvterm.name = 'RNA_polymerase_promoter' OR cvterm.name = 'RNApol_I_promoter' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'Phage_RNA_Polymerase_Promoter' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'SP6_RNA_Polymerase_Promoter' OR cvterm.name = 'T3_RNA_Polymerase_Promoter' OR cvterm.name = 'T7_RNA_Polymerase_Promoter' OR cvterm.name = 'promoter';
- CREATE VIEW rnapol_i_promoter AS
- SELECT
- feature_id AS rnapol_i_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNApol_I_promoter';
- CREATE VIEW rnapol_ii_promoter AS
- SELECT
- feature_id AS rnapol_ii_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNApol_II_promoter';
- CREATE VIEW rnapol_iii_promoter AS
- SELECT
- feature_id AS rnapol_iii_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'RNApol_III_promoter';
- CREATE VIEW caat_signal AS
- SELECT
- feature_id AS caat_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CAAT_signal';
- CREATE VIEW gc_rich_promoter_region AS
- SELECT
- feature_id AS gc_rich_promoter_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'GC_rich_promoter_region';
- CREATE VIEW tata_box AS
- SELECT
- feature_id AS tata_box_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'TATA_box';
- CREATE VIEW minus_10_signal AS
- SELECT
- feature_id AS minus_10_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_10_signal';
- CREATE VIEW minus_35_signal AS
- SELECT
- feature_id AS minus_35_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_35_signal';
- CREATE VIEW cross_genome_match AS
- SELECT
- feature_id AS cross_genome_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cross_genome_match';
- CREATE VIEW operon AS
- SELECT
- feature_id AS operon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'operon';
- CREATE VIEW clone_insert_start AS
- SELECT
- feature_id AS clone_insert_start_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'clone_insert_start';
- CREATE VIEW retrotransposon AS
- SELECT
- feature_id AS retrotransposon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' OR cvterm.name = 'RR_tract' OR cvterm.name = 'LINE_element' OR cvterm.name = 'SINE_element' OR cvterm.name = 'retrotransposon';
- CREATE VIEW translated_nucleotide_match AS
- SELECT
- feature_id AS translated_nucleotide_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'translated_nucleotide_match';
- CREATE VIEW dna_transposon AS
- SELECT
- feature_id AS dna_transposon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'terminal_inverted_repeat_element' OR cvterm.name = 'foldback_element' OR cvterm.name = 'conjugative_transposon' OR cvterm.name = 'helitron' OR cvterm.name = 'MITE' OR cvterm.name = 'insertion_sequence' OR cvterm.name = 'polinton' OR cvterm.name = 'DNA_transposon';
- CREATE VIEW non_transcribed_region AS
- SELECT
- feature_id AS non_transcribed_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_transcribed_region';
- CREATE VIEW u2_intron AS
- SELECT
- feature_id AS u2_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U2_intron';
- CREATE VIEW primary_transcript AS
- SELECT
- feature_id AS primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'protein_coding_primary_transcript' OR cvterm.name = 'nc_primary_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'mini_exon_donor_RNA' OR cvterm.name = 'antisense_primary_transcript' OR cvterm.name = 'capped_primary_transcript' OR cvterm.name = 'pre_edited_mRNA' OR cvterm.name = 'scRNA_primary_transcript' OR cvterm.name = 'rRNA_primary_transcript' OR cvterm.name = 'tRNA_primary_transcript' OR cvterm.name = 'snRNA_primary_transcript' OR cvterm.name = 'snoRNA_primary_transcript' OR cvterm.name = 'tmRNA_primary_transcript' OR cvterm.name = 'SRP_RNA_primary_transcript' OR cvterm.name = 'miRNA_primary_transcript' OR cvterm.name = 'rRNA_small_subunit_primary_transcript' OR cvterm.name = 'rRNA_large_subunit_primary_transcript' OR cvterm.name = 'alanine_tRNA_primary_transcript' OR cvterm.name = 'arginine_tRNA_primary_transcript' OR cvterm.name = 'asparagine_tRNA_primary_transcript' OR cvterm.name = 'aspartic_acid_tRNA_primary_transcript' OR cvterm.name = 'cysteine_tRNA_primary_transcript' OR cvterm.name = 'glutamic_acid_tRNA_primary_transcript' OR cvterm.name = 'glutamine_tRNA_primary_transcript' OR cvterm.name = 'glycine_tRNA_primary_transcript' OR cvterm.name = 'histidine_tRNA_primary_transcript' OR cvterm.name = 'isoleucine_tRNA_primary_transcript' OR cvterm.name = 'leucine_tRNA_primary_transcript' OR cvterm.name = 'lysine_tRNA_primary_transcript' OR cvterm.name = 'methionine_tRNA_primary_transcript' OR cvterm.name = 'phenylalanine_tRNA_primary_transcript' OR cvterm.name = 'proline_tRNA_primary_transcript' OR cvterm.name = 'serine_tRNA_primary_transcript' OR cvterm.name = 'threonine_tRNA_primary_transcript' OR cvterm.name = 'tryptophan_tRNA_primary_transcript' OR cvterm.name = 'tyrosine_tRNA_primary_transcript' OR cvterm.name = 'valine_tRNA_primary_transcript' OR cvterm.name = 'pyrrolysine_tRNA_primary_transcript' OR cvterm.name = 'selenocysteine_tRNA_primary_transcript' OR cvterm.name = 'methylation_guide_snoRNA_primary_transcript' OR cvterm.name = 'rRNA_cleavage_snoRNA_primary_transcript' OR cvterm.name = 'C_D_box_snoRNA_primary_transcript' OR cvterm.name = 'H_ACA_box_snoRNA_primary_transcript' OR cvterm.name = 'U14_snoRNA_primary_transcript' OR cvterm.name = 'stRNA_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'primary_transcript';
- CREATE VIEW ltr_retrotransposon AS
- SELECT
- feature_id AS ltr_retrotransposon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RR_tract' OR cvterm.name = 'LTR_retrotransposon';
- CREATE VIEW intron AS
- SELECT
- feature_id AS intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_intron' OR cvterm.name = 'interior_intron' OR cvterm.name = 'three_prime_intron' OR cvterm.name = 'twintron' OR cvterm.name = 'UTR_intron' OR cvterm.name = 'autocatalytically_spliced_intron' OR cvterm.name = 'spliceosomal_intron' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'endonuclease_spliced_intron' OR cvterm.name = 'five_prime_UTR_intron' OR cvterm.name = 'three_prime_UTR_intron' OR cvterm.name = 'group_I_intron' OR cvterm.name = 'group_II_intron' OR cvterm.name = 'group_III_intron' OR cvterm.name = 'group_IIA_intron' OR cvterm.name = 'group_IIB_intron' OR cvterm.name = 'U2_intron' OR cvterm.name = 'U12_intron' OR cvterm.name = 'archaeal_intron' OR cvterm.name = 'tRNA_intron' OR cvterm.name = 'intron';
- CREATE VIEW non_ltr_retrotransposon AS
- SELECT
- feature_id AS non_ltr_retrotransposon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'LINE_element' OR cvterm.name = 'SINE_element' OR cvterm.name = 'non_LTR_retrotransposon';
- CREATE VIEW five_prime_intron AS
- SELECT
- feature_id AS five_prime_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_intron';
- CREATE VIEW interior_intron AS
- SELECT
- feature_id AS interior_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'interior_intron';
- CREATE VIEW three_prime_intron AS
- SELECT
- feature_id AS three_prime_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_intron';
- CREATE VIEW rflp_fragment AS
- SELECT
- feature_id AS rflp_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RFLP_fragment';
- CREATE VIEW line_element AS
- SELECT
- feature_id AS line_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'LINE_element';
- CREATE VIEW coding_exon AS
- SELECT
- feature_id AS coding_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'interior_coding_exon' OR cvterm.name = 'five_prime_coding_exon' OR cvterm.name = 'three_prime_coding_exon' OR cvterm.name = 'coding_exon';
- CREATE VIEW five_prime_coding_exon_coding_region AS
- SELECT
- feature_id AS five_prime_coding_exon_coding_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_coding_exon_coding_region';
- CREATE VIEW three_prime_coding_exon_coding_region AS
- SELECT
- feature_id AS three_prime_coding_exon_coding_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_coding exon_coding_region';
- CREATE VIEW noncoding_exon AS
- SELECT
- feature_id AS noncoding_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_noncoding_exon' OR cvterm.name = 'five_prime_noncoding_exon' OR cvterm.name = 'noncoding_exon';
- CREATE VIEW translocation AS
- SELECT
- feature_id AS translocation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'translocation';
- CREATE VIEW five_prime_coding_exon AS
- SELECT
- feature_id AS five_prime_coding_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_coding_exon';
- CREATE VIEW interior_exon AS
- SELECT
- feature_id AS interior_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'interior_exon';
- CREATE VIEW three_prime_coding_exon AS
- SELECT
- feature_id AS three_prime_coding_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_coding_exon';
- CREATE VIEW utr AS
- SELECT
- feature_id AS utr_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_UTR' OR cvterm.name = 'three_prime_UTR' OR cvterm.name = 'internal_UTR' OR cvterm.name = 'untranslated_region_polycistronic_mRNA' OR cvterm.name = 'UTR';
- CREATE VIEW five_prime_utr AS
- SELECT
- feature_id AS five_prime_utr_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_UTR';
- CREATE VIEW three_prime_utr AS
- SELECT
- feature_id AS three_prime_utr_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_UTR';
- CREATE VIEW sine_element AS
- SELECT
- feature_id AS sine_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SINE_element';
- CREATE VIEW simple_sequence_length_variation AS
- SELECT
- feature_id AS simple_sequence_length_variation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'simple_sequence_length_variation';
- CREATE VIEW terminal_inverted_repeat_element AS
- SELECT
- feature_id AS terminal_inverted_repeat_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'MITE' OR cvterm.name = 'insertion_sequence' OR cvterm.name = 'polinton' OR cvterm.name = 'terminal_inverted_repeat_element';
- CREATE VIEW rrna_primary_transcript AS
- SELECT
- feature_id AS rrna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_small_subunit_primary_transcript' OR cvterm.name = 'rRNA_large_subunit_primary_transcript' OR cvterm.name = 'rRNA_primary_transcript';
- CREATE VIEW trna_primary_transcript AS
- SELECT
- feature_id AS trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alanine_tRNA_primary_transcript' OR cvterm.name = 'arginine_tRNA_primary_transcript' OR cvterm.name = 'asparagine_tRNA_primary_transcript' OR cvterm.name = 'aspartic_acid_tRNA_primary_transcript' OR cvterm.name = 'cysteine_tRNA_primary_transcript' OR cvterm.name = 'glutamic_acid_tRNA_primary_transcript' OR cvterm.name = 'glutamine_tRNA_primary_transcript' OR cvterm.name = 'glycine_tRNA_primary_transcript' OR cvterm.name = 'histidine_tRNA_primary_transcript' OR cvterm.name = 'isoleucine_tRNA_primary_transcript' OR cvterm.name = 'leucine_tRNA_primary_transcript' OR cvterm.name = 'lysine_tRNA_primary_transcript' OR cvterm.name = 'methionine_tRNA_primary_transcript' OR cvterm.name = 'phenylalanine_tRNA_primary_transcript' OR cvterm.name = 'proline_tRNA_primary_transcript' OR cvterm.name = 'serine_tRNA_primary_transcript' OR cvterm.name = 'threonine_tRNA_primary_transcript' OR cvterm.name = 'tryptophan_tRNA_primary_transcript' OR cvterm.name = 'tyrosine_tRNA_primary_transcript' OR cvterm.name = 'valine_tRNA_primary_transcript' OR cvterm.name = 'pyrrolysine_tRNA_primary_transcript' OR cvterm.name = 'selenocysteine_tRNA_primary_transcript' OR cvterm.name = 'tRNA_primary_transcript';
- CREATE VIEW alanine_trna_primary_transcript AS
- SELECT
- feature_id AS alanine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alanine_tRNA_primary_transcript';
- CREATE VIEW arg_trna_primary_transcript AS
- SELECT
- feature_id AS arg_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'arginine_tRNA_primary_transcript';
- CREATE VIEW asparagine_trna_primary_transcript AS
- SELECT
- feature_id AS asparagine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asparagine_tRNA_primary_transcript';
- CREATE VIEW aspartic_acid_trna_primary_transcript AS
- SELECT
- feature_id AS aspartic_acid_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'aspartic_acid_tRNA_primary_transcript';
- CREATE VIEW cysteine_trna_primary_transcript AS
- SELECT
- feature_id AS cysteine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cysteine_tRNA_primary_transcript';
- CREATE VIEW glutamic_acid_trna_primary_transcript AS
- SELECT
- feature_id AS glutamic_acid_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'glutamic_acid_tRNA_primary_transcript';
- CREATE VIEW glutamine_trna_primary_transcript AS
- SELECT
- feature_id AS glutamine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'glutamine_tRNA_primary_transcript';
- CREATE VIEW glycine_trna_primary_transcript AS
- SELECT
- feature_id AS glycine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'glycine_tRNA_primary_transcript';
- CREATE VIEW histidine_trna_primary_transcript AS
- SELECT
- feature_id AS histidine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'histidine_tRNA_primary_transcript';
- CREATE VIEW isoleucine_trna_primary_transcript AS
- SELECT
- feature_id AS isoleucine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'isoleucine_tRNA_primary_transcript';
- CREATE VIEW leucine_trna_primary_transcript AS
- SELECT
- feature_id AS leucine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'leucine_tRNA_primary_transcript';
- CREATE VIEW lysine_trna_primary_transcript AS
- SELECT
- feature_id AS lysine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lysine_tRNA_primary_transcript';
- CREATE VIEW methionine_trna_primary_transcript AS
- SELECT
- feature_id AS methionine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methionine_tRNA_primary_transcript';
- CREATE VIEW phe_trna_primary_transcript AS
- SELECT
- feature_id AS phe_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'phenylalanine_tRNA_primary_transcript';
- CREATE VIEW proline_trna_primary_transcript AS
- SELECT
- feature_id AS proline_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'proline_tRNA_primary_transcript';
- CREATE VIEW serine_trna_primary_transcript AS
- SELECT
- feature_id AS serine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'serine_tRNA_primary_transcript';
- CREATE VIEW thr_trna_primary_transcript AS
- SELECT
- feature_id AS thr_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'threonine_tRNA_primary_transcript';
- CREATE VIEW try_trna_primary_transcript AS
- SELECT
- feature_id AS try_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tryptophan_tRNA_primary_transcript';
- CREATE VIEW tyrosine_trna_primary_transcript AS
- SELECT
- feature_id AS tyrosine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tyrosine_tRNA_primary_transcript';
- CREATE VIEW valine_trna_primary_transcript AS
- SELECT
- feature_id AS valine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'valine_tRNA_primary_transcript';
- CREATE VIEW snrna_primary_transcript AS
- SELECT
- feature_id AS snrna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'snRNA_primary_transcript';
- CREATE VIEW snorna_primary_transcript AS
- SELECT
- feature_id AS snorna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylation_guide_snoRNA_primary_transcript' OR cvterm.name = 'rRNA_cleavage_snoRNA_primary_transcript' OR cvterm.name = 'C_D_box_snoRNA_primary_transcript' OR cvterm.name = 'H_ACA_box_snoRNA_primary_transcript' OR cvterm.name = 'U14_snoRNA_primary_transcript' OR cvterm.name = 'snoRNA_primary_transcript';
- CREATE VIEW mature_transcript AS
- SELECT
- feature_id AS mature_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA' OR cvterm.name = 'ncRNA' OR cvterm.name = 'mRNA_with_frameshift' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'exemplar_mRNA' OR cvterm.name = 'capped_mRNA' OR cvterm.name = 'polyadenylated_mRNA' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'recoded_mRNA' OR cvterm.name = 'mRNA_with_minus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_2_frameshift' OR cvterm.name = 'mRNA_with_minus_2_frameshift' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'mRNA_recoded_by_translational_bypass' OR cvterm.name = 'mRNA_recoded_by_codon_redefinition' OR cvterm.name = 'scRNA' OR cvterm.name = 'rRNA' OR cvterm.name = 'tRNA' OR cvterm.name = 'snRNA' OR cvterm.name = 'snoRNA' OR cvterm.name = 'small_regulatory_ncRNA' OR cvterm.name = 'RNase_MRP_RNA' OR cvterm.name = 'RNase_P_RNA' OR cvterm.name = 'telomerase_RNA' OR cvterm.name = 'vault_RNA' OR cvterm.name = 'Y_RNA' OR cvterm.name = 'rasiRNA' OR cvterm.name = 'SRP_RNA' OR cvterm.name = 'guide_RNA' OR cvterm.name = 'antisense_RNA' OR cvterm.name = 'siRNA' OR cvterm.name = 'stRNA' OR cvterm.name = 'class_II_RNA' OR cvterm.name = 'class_I_RNA' OR cvterm.name = 'piRNA' OR cvterm.name = 'lincRNA' OR cvterm.name = 'rRNA_cleavage_RNA' OR cvterm.name = 'small_subunit_rRNA' OR cvterm.name = 'large_subunit_rRNA' OR cvterm.name = 'rRNA_18S' OR cvterm.name = 'rRNA_16S' OR cvterm.name = 'rRNA_5_8S' OR cvterm.name = 'rRNA_5S' OR cvterm.name = 'rRNA_28S' OR cvterm.name = 'rRNA_23S' OR cvterm.name = 'rRNA_25S' OR cvterm.name = 'rRNA_21S' OR cvterm.name = 'alanyl_tRNA' OR cvterm.name = 'asparaginyl_tRNA' OR cvterm.name = 'aspartyl_tRNA' OR cvterm.name = 'cysteinyl_tRNA' OR cvterm.name = 'glutaminyl_tRNA' OR cvterm.name = 'glutamyl_tRNA' OR cvterm.name = 'glycyl_tRNA' OR cvterm.name = 'histidyl_tRNA' OR cvterm.name = 'isoleucyl_tRNA' OR cvterm.name = 'leucyl_tRNA' OR cvterm.name = 'lysyl_tRNA' OR cvterm.name = 'methionyl_tRNA' OR cvterm.name = 'phenylalanyl_tRNA' OR cvterm.name = 'prolyl_tRNA' OR cvterm.name = 'seryl_tRNA' OR cvterm.name = 'threonyl_tRNA' OR cvterm.name = 'tryptophanyl_tRNA' OR cvterm.name = 'tyrosyl_tRNA' OR cvterm.name = 'valyl_tRNA' OR cvterm.name = 'pyrrolysyl_tRNA' OR cvterm.name = 'arginyl_tRNA' OR cvterm.name = 'selenocysteinyl_tRNA' OR cvterm.name = 'U1_snRNA' OR cvterm.name = 'U2_snRNA' OR cvterm.name = 'U4_snRNA' OR cvterm.name = 'U4atac_snRNA' OR cvterm.name = 'U5_snRNA' OR cvterm.name = 'U6_snRNA' OR cvterm.name = 'U6atac_snRNA' OR cvterm.name = 'U11_snRNA' OR cvterm.name = 'U12_snRNA' OR cvterm.name = 'C_D_box_snoRNA' OR cvterm.name = 'H_ACA_box_snoRNA' OR cvterm.name = 'U14_snoRNA' OR cvterm.name = 'U3_snoRNA' OR cvterm.name = 'methylation_guide_snoRNA' OR cvterm.name = 'pseudouridylation_guide_snoRNA' OR cvterm.name = 'miRNA' OR cvterm.name = 'RNA_6S' OR cvterm.name = 'CsrB_RsmB_RNA' OR cvterm.name = 'DsrA_RNA' OR cvterm.name = 'OxyS_RNA' OR cvterm.name = 'RprA_RNA' OR cvterm.name = 'RRE_RNA' OR cvterm.name = 'spot_42_RNA' OR cvterm.name = 'tmRNA' OR cvterm.name = 'GcvB_RNA' OR cvterm.name = 'MicF_RNA' OR cvterm.name = 'mature_transcript';
- CREATE VIEW mrna AS
- SELECT
- feature_id AS mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_with_frameshift' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'exemplar_mRNA' OR cvterm.name = 'capped_mRNA' OR cvterm.name = 'polyadenylated_mRNA' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'recoded_mRNA' OR cvterm.name = 'mRNA_with_minus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_2_frameshift' OR cvterm.name = 'mRNA_with_minus_2_frameshift' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'mRNA_recoded_by_translational_bypass' OR cvterm.name = 'mRNA_recoded_by_codon_redefinition' OR cvterm.name = 'mRNA';
- CREATE VIEW tf_binding_site AS
- SELECT
- feature_id AS tf_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'TF_binding_site';
- CREATE VIEW orf AS
- SELECT
- feature_id AS orf_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mini_gene' OR cvterm.name = 'rescue_mini_gene' OR cvterm.name = 'ORF';
- CREATE VIEW transcript_attribute AS
- SELECT
- feature_id AS transcript_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'edited' OR cvterm.name = 'capped' OR cvterm.name = 'mRNA_attribute' OR cvterm.name = 'trans_spliced' OR cvterm.name = 'alternatively_spliced' OR cvterm.name = 'monocistronic' OR cvterm.name = 'polycistronic' OR cvterm.name = 'polyadenylated' OR cvterm.name = 'exemplar' OR cvterm.name = 'frameshift' OR cvterm.name = 'recoded' OR cvterm.name = 'minus_1_frameshift' OR cvterm.name = 'minus_2_frameshift' OR cvterm.name = 'plus_1_frameshift' OR cvterm.name = 'plus_2_framshift' OR cvterm.name = 'codon_redefined' OR cvterm.name = 'recoded_by_translational_bypass' OR cvterm.name = 'translationally_frameshifted' OR cvterm.name = 'minus_1_translationally_frameshifted' OR cvterm.name = 'plus_1_translationally_frameshifted' OR cvterm.name = 'dicistronic' OR cvterm.name = 'transcript_attribute';
- CREATE VIEW foldback_element AS
- SELECT
- feature_id AS foldback_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'foldback_element';
- CREATE VIEW flanking_region AS
- SELECT
- feature_id AS flanking_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transposable_element_flanking_region' OR cvterm.name = 'five_prime_flanking_region' OR cvterm.name = 'three_prime_flanking_region' OR cvterm.name = 'flanking_region';
- CREATE VIEW chromosome_variation AS
- SELECT
- feature_id AS chromosome_variation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'assortment_derived_duplication' OR cvterm.name = 'assortment_derived_deficiency_plus_duplication' OR cvterm.name = 'assortment_derived_deficiency' OR cvterm.name = 'assortment_derived_aneuploid' OR cvterm.name = 'chromosome_number_variation' OR cvterm.name = 'chromosome_structure_variation' OR cvterm.name = 'aneuploid' OR cvterm.name = 'polyploid' OR cvterm.name = 'hyperploid' OR cvterm.name = 'hypoploid' OR cvterm.name = 'autopolyploid' OR cvterm.name = 'allopolyploid' OR cvterm.name = 'free_chromosome_arm' OR cvterm.name = 'transposition' OR cvterm.name = 'aneuploid_chromosome' OR cvterm.name = 'intrachromosomal_mutation' OR cvterm.name = 'interchromosomal_mutation' OR cvterm.name = 'compound_chromosome' OR cvterm.name = 'autosynaptic_chromosome' OR cvterm.name = 'complex_chromosomal_mutation' OR cvterm.name = 'uncharacterised_chromosomal_mutation' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'interchromosomal_transposition' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unorientated_interchromosomal_transposition' OR cvterm.name = 'inversion_derived_aneuploid_chromosome' OR cvterm.name = 'chromosomal_deletion' OR cvterm.name = 'chromosomal_duplication' OR cvterm.name = 'inversion_derived_bipartite_deficiency' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_aneuploid' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'interchromosomal_duplication' OR cvterm.name = 'intrachromosomal_duplication' OR cvterm.name = 'free_duplication' OR cvterm.name = 'insertional_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_bipartite_duplication' OR cvterm.name = 'inversion_derived_duplication_plus_aneuploid' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'free_ring_duplication' OR cvterm.name = 'uninverted_insertional_duplication' OR cvterm.name = 'inverted_insertional_duplication' OR cvterm.name = 'unoriented_insertional_duplication' OR cvterm.name = 'chromosomal_deletion' OR cvterm.name = 'chromosomal_inversion' OR cvterm.name = 'intrachromosomal_duplication' OR cvterm.name = 'ring_chromosome' OR cvterm.name = 'chromosome_fission' OR cvterm.name = 'inversion_derived_bipartite_deficiency' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_aneuploid' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'inverted_ring_chromosome' OR cvterm.name = 'pericentric_inversion' OR cvterm.name = 'paracentric_inversion' OR cvterm.name = 'inversion_cum_translocation' OR cvterm.name = 'bipartite_inversion' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_bipartite_duplication' OR cvterm.name = 'inversion_derived_duplication_plus_aneuploid' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'inverted_ring_chromosome' OR cvterm.name = 'free_ring_duplication' OR cvterm.name = 'chromosomal_translocation' OR cvterm.name = 'bipartite_duplication' OR cvterm.name = 'interchromosomal_transposition' OR cvterm.name = 'translocation_element' OR cvterm.name = 'Robertsonian_fusion' OR cvterm.name = 'reciprocal_chromosomal_translocation' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'inversion_cum_translocation' OR cvterm.name = 'cyclic_translocation' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unorientated_interchromosomal_transposition' OR cvterm.name = 'compound_chromosome_arm' OR cvterm.name = 'homo_compound_chromosome' OR cvterm.name = 'hetero_compound_chromosome' OR cvterm.name = 'dexstrosynaptic_chromosome' OR cvterm.name = 'laevosynaptic_chromosome' OR cvterm.name = 'partially_characterised_chromosomal_mutation' OR cvterm.name = 'chromosome_variation';
- CREATE VIEW internal_utr AS
- SELECT
- feature_id AS internal_utr_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_UTR';
- CREATE VIEW untranslated_region_polycistronic_mrna AS
- SELECT
- feature_id AS untranslated_region_polycistronic_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'untranslated_region_polycistronic_mRNA';
- CREATE VIEW internal_ribosome_entry_site AS
- SELECT
- feature_id AS internal_ribosome_entry_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'internal_ribosome_entry_site';
- CREATE VIEW polyadenylated AS
- SELECT
- feature_id AS polyadenylated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polyadenylated';
- CREATE VIEW sequence_length_variation AS
- SELECT
- feature_id AS sequence_length_variation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'sequence_length_variation';
- CREATE VIEW modified_rna_base_feature AS
- SELECT
- feature_id AS modified_rna_base_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inosine' OR cvterm.name = 'seven_methylguanine' OR cvterm.name = 'ribothymidine' OR cvterm.name = 'modified_adenosine' OR cvterm.name = 'modified_cytidine' OR cvterm.name = 'modified_guanosine' OR cvterm.name = 'modified_uridine' OR cvterm.name = 'modified_inosine' OR cvterm.name = 'methylinosine' OR cvterm.name = 'one_methylinosine' OR cvterm.name = 'one_two_prime_O_dimethylinosine' OR cvterm.name = 'two_prime_O_methylinosine' OR cvterm.name = 'one_methyladenosine' OR cvterm.name = 'two_methyladenosine' OR cvterm.name = 'N6_methyladenosine' OR cvterm.name = 'two_prime_O_methyladenosine' OR cvterm.name = 'two_methylthio_N6_methyladenosine' OR cvterm.name = 'N6_isopentenyladenosine' OR cvterm.name = 'two_methylthio_N6_isopentenyladenosine' OR cvterm.name = 'N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'two_methylthio_N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'N6_glycinylcarbamoyladenosine' OR cvterm.name = 'N6_threonylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_threonyl_carbamoyladenosine' OR cvterm.name = 'N6_methyl_N6_threonylcarbamoyladenosine' OR cvterm.name = 'N6_hydroxynorvalylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_hydroxynorvalyl_carbamoyladenosine' OR cvterm.name = 'two_prime_O_ribosyladenosine_phosphate' OR cvterm.name = 'N6_N6_dimethyladenosine' OR cvterm.name = 'N6_2_prime_O_dimethyladenosine' OR cvterm.name = 'N6_N6_2_prime_O_trimethyladenosine' OR cvterm.name = 'one_two_prime_O_dimethyladenosine' OR cvterm.name = 'N6_acetyladenosine' OR cvterm.name = 'three_methylcytidine' OR cvterm.name = 'five_methylcytidine' OR cvterm.name = 'two_prime_O_methylcytidine' OR cvterm.name = 'two_thiocytidine' OR cvterm.name = 'N4_acetylcytidine' OR cvterm.name = 'five_formylcytidine' OR cvterm.name = 'five_two_prime_O_dimethylcytidine' OR cvterm.name = 'N4_acetyl_2_prime_O_methylcytidine' OR cvterm.name = 'lysidine' OR cvterm.name = 'N4_methylcytidine' OR cvterm.name = 'N4_2_prime_O_dimethylcytidine' OR cvterm.name = 'five_hydroxymethylcytidine' OR cvterm.name = 'five_formyl_two_prime_O_methylcytidine' OR cvterm.name = 'N4_N4_2_prime_O_trimethylcytidine' OR cvterm.name = 'seven_deazaguanosine' OR cvterm.name = 'one_methylguanosine' OR cvterm.name = 'N2_methylguanosine' OR cvterm.name = 'seven_methylguanosine' OR cvterm.name = 'two_prime_O_methylguanosine' OR cvterm.name = 'N2_N2_dimethylguanosine' OR cvterm.name = 'N2_2_prime_O_dimethylguanosine' OR cvterm.name = 'N2_N2_2_prime_O_trimethylguanosine' OR cvterm.name = 'two_prime_O_ribosylguanosine_phosphate' OR cvterm.name = 'wybutosine' OR cvterm.name = 'peroxywybutosine' OR cvterm.name = 'hydroxywybutosine' OR cvterm.name = 'undermodified_hydroxywybutosine' OR cvterm.name = 'wyosine' OR cvterm.name = 'methylwyosine' OR cvterm.name = 'N2_7_dimethylguanosine' OR cvterm.name = 'N2_N2_7_trimethylguanosine' OR cvterm.name = 'one_two_prime_O_dimethylguanosine' OR cvterm.name = 'four_demethylwyosine' OR cvterm.name = 'isowyosine' OR cvterm.name = 'N2_7_2prirme_O_trimethylguanosine' OR cvterm.name = 'queuosine' OR cvterm.name = 'epoxyqueuosine' OR cvterm.name = 'galactosyl_queuosine' OR cvterm.name = 'mannosyl_queuosine' OR cvterm.name = 'seven_cyano_seven_deazaguanosine' OR cvterm.name = 'seven_aminomethyl_seven_deazaguanosine' OR cvterm.name = 'archaeosine' OR cvterm.name = 'dihydrouridine' OR cvterm.name = 'pseudouridine' OR cvterm.name = 'five_methyluridine' OR cvterm.name = 'two_prime_O_methyluridine' OR cvterm.name = 'five_two_prime_O_dimethyluridine' OR cvterm.name = 'one_methylpseudouridine' OR cvterm.name = 'two_prime_O_methylpseudouridine' OR cvterm.name = 'two_thiouridine' OR cvterm.name = 'four_thiouridine' OR cvterm.name = 'five_methyl_2_thiouridine' OR cvterm.name = 'two_thio_two_prime_O_methyluridine' OR cvterm.name = 'three_three_amino_three_carboxypropyl_uridine' OR cvterm.name = 'five_hydroxyuridine' OR cvterm.name = 'five_methoxyuridine' OR cvterm.name = 'uridine_five_oxyacetic_acid' OR cvterm.name = 'uridine_five_oxyacetic_acid_methyl_ester' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine_methyl_ester' OR cvterm.name = 'five_methoxycarbonylmethyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_thiouridine' OR cvterm.name = 'five_aminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyluridine' OR cvterm.name = 'five_methylaminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyl_two_selenouridine' OR cvterm.name = 'five_carbamoylmethyluridine' OR cvterm.name = 'five_carbamoylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_thiouridine' OR cvterm.name = 'three_methyluridine' OR cvterm.name = 'one_methyl_three_three_amino_three_carboxypropyl_pseudouridine' OR cvterm.name = 'five_carboxymethyluridine' OR cvterm.name = 'three_two_prime_O_dimethyluridine' OR cvterm.name = 'five_methyldihydrouridine' OR cvterm.name = 'three_methylpseudouridine' OR cvterm.name = 'five_taurinomethyluridine' OR cvterm.name = 'five_taurinomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_uridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'modified_RNA_base_feature';
- CREATE VIEW rrna AS
- SELECT
- feature_id AS rrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'small_subunit_rRNA' OR cvterm.name = 'large_subunit_rRNA' OR cvterm.name = 'rRNA_18S' OR cvterm.name = 'rRNA_16S' OR cvterm.name = 'rRNA_5_8S' OR cvterm.name = 'rRNA_5S' OR cvterm.name = 'rRNA_28S' OR cvterm.name = 'rRNA_23S' OR cvterm.name = 'rRNA_25S' OR cvterm.name = 'rRNA_21S' OR cvterm.name = 'rRNA';
- CREATE VIEW trna AS
- SELECT
- feature_id AS trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alanyl_tRNA' OR cvterm.name = 'asparaginyl_tRNA' OR cvterm.name = 'aspartyl_tRNA' OR cvterm.name = 'cysteinyl_tRNA' OR cvterm.name = 'glutaminyl_tRNA' OR cvterm.name = 'glutamyl_tRNA' OR cvterm.name = 'glycyl_tRNA' OR cvterm.name = 'histidyl_tRNA' OR cvterm.name = 'isoleucyl_tRNA' OR cvterm.name = 'leucyl_tRNA' OR cvterm.name = 'lysyl_tRNA' OR cvterm.name = 'methionyl_tRNA' OR cvterm.name = 'phenylalanyl_tRNA' OR cvterm.name = 'prolyl_tRNA' OR cvterm.name = 'seryl_tRNA' OR cvterm.name = 'threonyl_tRNA' OR cvterm.name = 'tryptophanyl_tRNA' OR cvterm.name = 'tyrosyl_tRNA' OR cvterm.name = 'valyl_tRNA' OR cvterm.name = 'pyrrolysyl_tRNA' OR cvterm.name = 'arginyl_tRNA' OR cvterm.name = 'selenocysteinyl_tRNA' OR cvterm.name = 'tRNA';
- CREATE VIEW alanyl_trna AS
- SELECT
- feature_id AS alanyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alanyl_tRNA';
- CREATE VIEW rrna_small_subunit_primary_transcript AS
- SELECT
- feature_id AS rrna_small_subunit_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_small_subunit_primary_transcript';
- CREATE VIEW asparaginyl_trna AS
- SELECT
- feature_id AS asparaginyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asparaginyl_tRNA';
- CREATE VIEW aspartyl_trna AS
- SELECT
- feature_id AS aspartyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'aspartyl_tRNA';
- CREATE VIEW cysteinyl_trna AS
- SELECT
- feature_id AS cysteinyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cysteinyl_tRNA';
- CREATE VIEW glutaminyl_trna AS
- SELECT
- feature_id AS glutaminyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'glutaminyl_tRNA';
- CREATE VIEW glutamyl_trna AS
- SELECT
- feature_id AS glutamyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'glutamyl_tRNA';
- CREATE VIEW glycyl_trna AS
- SELECT
- feature_id AS glycyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'glycyl_tRNA';
- CREATE VIEW histidyl_trna AS
- SELECT
- feature_id AS histidyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'histidyl_tRNA';
- CREATE VIEW isoleucyl_trna AS
- SELECT
- feature_id AS isoleucyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'isoleucyl_tRNA';
- CREATE VIEW leucyl_trna AS
- SELECT
- feature_id AS leucyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'leucyl_tRNA';
- CREATE VIEW lysyl_trna AS
- SELECT
- feature_id AS lysyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lysyl_tRNA';
- CREATE VIEW methionyl_trna AS
- SELECT
- feature_id AS methionyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methionyl_tRNA';
- CREATE VIEW phenylalanyl_trna AS
- SELECT
- feature_id AS phenylalanyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'phenylalanyl_tRNA';
- CREATE VIEW prolyl_trna AS
- SELECT
- feature_id AS prolyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'prolyl_tRNA';
- CREATE VIEW seryl_trna AS
- SELECT
- feature_id AS seryl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'seryl_tRNA';
- CREATE VIEW threonyl_trna AS
- SELECT
- feature_id AS threonyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'threonyl_tRNA';
- CREATE VIEW tryptophanyl_trna AS
- SELECT
- feature_id AS tryptophanyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tryptophanyl_tRNA';
- CREATE VIEW tyrosyl_trna AS
- SELECT
- feature_id AS tyrosyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tyrosyl_tRNA';
- CREATE VIEW valyl_trna AS
- SELECT
- feature_id AS valyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'valyl_tRNA';
- CREATE VIEW snrna AS
- SELECT
- feature_id AS snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U1_snRNA' OR cvterm.name = 'U2_snRNA' OR cvterm.name = 'U4_snRNA' OR cvterm.name = 'U4atac_snRNA' OR cvterm.name = 'U5_snRNA' OR cvterm.name = 'U6_snRNA' OR cvterm.name = 'U6atac_snRNA' OR cvterm.name = 'U11_snRNA' OR cvterm.name = 'U12_snRNA' OR cvterm.name = 'snRNA';
- CREATE VIEW snorna AS
- SELECT
- feature_id AS snorna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_D_box_snoRNA' OR cvterm.name = 'H_ACA_box_snoRNA' OR cvterm.name = 'U14_snoRNA' OR cvterm.name = 'U3_snoRNA' OR cvterm.name = 'methylation_guide_snoRNA' OR cvterm.name = 'pseudouridylation_guide_snoRNA' OR cvterm.name = 'snoRNA';
- CREATE VIEW mirna AS
- SELECT
- feature_id AS mirna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA';
- CREATE VIEW bound_by_factor AS
- SELECT
- feature_id AS bound_by_factor_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bound_by_protein' OR cvterm.name = 'bound_by_nucleic_acid' OR cvterm.name = 'bound_by_factor';
- CREATE VIEW transcript_bound_by_nucleic_acid AS
- SELECT
- feature_id AS transcript_bound_by_nucleic_acid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcript_bound_by_nucleic_acid';
- CREATE VIEW transcript_bound_by_protein AS
- SELECT
- feature_id AS transcript_bound_by_protein_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcript_bound_by_protein';
- CREATE VIEW engineered_gene AS
- SELECT
- feature_id AS engineered_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_gene';
- CREATE VIEW engineered_foreign_gene AS
- SELECT
- feature_id AS engineered_foreign_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_foreign_gene';
- CREATE VIEW mrna_with_minus_1_frameshift AS
- SELECT
- feature_id AS mrna_with_minus_1_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_with_minus_1_frameshift';
- CREATE VIEW engineered_foreign_transposable_element_gene AS
- SELECT
- feature_id AS engineered_foreign_transposable_element_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_transposable_element_gene';
- CREATE VIEW foreign_gene AS
- SELECT
- feature_id AS foreign_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'foreign_gene';
- CREATE VIEW long_terminal_repeat AS
- SELECT
- feature_id AS long_terminal_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_LTR' OR cvterm.name = 'three_prime_LTR' OR cvterm.name = 'solo_LTR' OR cvterm.name = 'long_terminal_repeat';
- CREATE VIEW fusion_gene AS
- SELECT
- feature_id AS fusion_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'fusion_gene';
- CREATE VIEW engineered_fusion_gene AS
- SELECT
- feature_id AS engineered_fusion_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_fusion_gene';
- CREATE VIEW microsatellite AS
- SELECT
- feature_id AS microsatellite_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'trinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'tetranucleotide_repeat_microsatellite_feature' OR cvterm.name = 'microsatellite';
- CREATE VIEW dinucleotide_repeat_microsatellite_feature AS
- SELECT
- feature_id AS dinucleotide_repeat_microsatellite_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dinucleotide_repeat_microsatellite_feature';
- CREATE VIEW trinuc_repeat_microsat AS
- SELECT
- feature_id AS trinuc_repeat_microsat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'trinucleotide_repeat_microsatellite_feature';
- CREATE VIEW engineered_foreign_repetitive_element AS
- SELECT
- feature_id AS engineered_foreign_repetitive_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_repetitive_element';
- CREATE VIEW inverted_repeat AS
- SELECT
- feature_id AS inverted_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'terminal_inverted_repeat' OR cvterm.name = 'five_prime_terminal_inverted_repeat' OR cvterm.name = 'three_prime_terminal_inverted_repeat' OR cvterm.name = 'inverted_repeat';
- CREATE VIEW u12_intron AS
- SELECT
- feature_id AS u12_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U12_intron';
- CREATE VIEW origin_of_replication AS
- SELECT
- feature_id AS origin_of_replication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_loop' OR cvterm.name = 'ARS' OR cvterm.name = 'oriT' OR cvterm.name = 'amplification_origin' OR cvterm.name = 'oriV' OR cvterm.name = 'oriC' OR cvterm.name = 'origin_of_replication';
- CREATE VIEW d_loop AS
- SELECT
- feature_id AS d_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_loop';
- CREATE VIEW recombination_feature AS
- SELECT
- feature_id AS recombination_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recombination_hotspot' OR cvterm.name = 'haplotype_block' OR cvterm.name = 'sequence_rearrangement_feature' OR cvterm.name = 'iDNA' OR cvterm.name = 'specific_recombination_site' OR cvterm.name = 'chromosome_breakage_sequence' OR cvterm.name = 'internal_eliminated_sequence' OR cvterm.name = 'macronucleus_destined_segment' OR cvterm.name = 'recombination_feature_of_rearranged_gene' OR cvterm.name = 'site_specific_recombination_target_region' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_feature' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_spacer' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_signal_feature' OR cvterm.name = 'D_gene' OR cvterm.name = 'V_gene' OR cvterm.name = 'J_gene' OR cvterm.name = 'C_gene' OR cvterm.name = 'D_J_C_cluster' OR cvterm.name = 'J_C_cluster' OR cvterm.name = 'J_cluster' OR cvterm.name = 'V_cluster' OR cvterm.name = 'V_J_cluster' OR cvterm.name = 'V_J_C_cluster' OR cvterm.name = 'C_cluster' OR cvterm.name = 'D_cluster' OR cvterm.name = 'D_J_cluster' OR cvterm.name = 'three_prime_D_spacer' OR cvterm.name = 'five_prime_D_spacer' OR cvterm.name = 'J_spacer' OR cvterm.name = 'V_spacer' OR cvterm.name = 'VD_gene' OR cvterm.name = 'DJ_gene' OR cvterm.name = 'VDJ_gene' OR cvterm.name = 'VJ_gene' OR cvterm.name = 'DJ_J_cluster' OR cvterm.name = 'VDJ_J_C_cluster' OR cvterm.name = 'VDJ_J_cluster' OR cvterm.name = 'VJ_C_cluster' OR cvterm.name = 'VJ_J_C_cluster' OR cvterm.name = 'VJ_J_cluster' OR cvterm.name = 'D_DJ_C_cluster' OR cvterm.name = 'D_DJ_cluster' OR cvterm.name = 'D_DJ_J_C_cluster' OR cvterm.name = 'D_DJ_J_cluster' OR cvterm.name = 'V_DJ_cluster' OR cvterm.name = 'V_DJ_J_cluster' OR cvterm.name = 'V_VDJ_C_cluster' OR cvterm.name = 'V_VDJ_cluster' OR cvterm.name = 'V_VDJ_J_cluster' OR cvterm.name = 'V_VJ_C_cluster' OR cvterm.name = 'V_VJ_cluster' OR cvterm.name = 'V_VJ_J_cluster' OR cvterm.name = 'V_D_DJ_C_cluster' OR cvterm.name = 'V_D_DJ_cluster' OR cvterm.name = 'V_D_DJ_J_C_cluster' OR cvterm.name = 'V_D_DJ_J_cluster' OR cvterm.name = 'V_D_J_C_cluster' OR cvterm.name = 'V_D_J_cluster' OR cvterm.name = 'DJ_C_cluster' OR cvterm.name = 'DJ_J_C_cluster' OR cvterm.name = 'VDJ_C_cluster' OR cvterm.name = 'V_DJ_C_cluster' OR cvterm.name = 'V_DJ_J_C_cluster' OR cvterm.name = 'V_VDJ_J_C_cluster' OR cvterm.name = 'V_VJ_J_C_cluster' OR cvterm.name = 'J_gene_recombination_feature' OR cvterm.name = 'D_gene_recombination_feature' OR cvterm.name = 'V_gene_recombination_feature' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'integration_excision_site' OR cvterm.name = 'resolution_site' OR cvterm.name = 'inversion_site' OR cvterm.name = 'inversion_site_part' OR cvterm.name = 'attI_site' OR cvterm.name = 'attP_site' OR cvterm.name = 'attB_site' OR cvterm.name = 'attL_site' OR cvterm.name = 'attR_site' OR cvterm.name = 'attC_site' OR cvterm.name = 'attCtn_site' OR cvterm.name = 'loxP_site' OR cvterm.name = 'dif_site' OR cvterm.name = 'FRT_site' OR cvterm.name = 'IRLinv_site' OR cvterm.name = 'IRRinv_site' OR cvterm.name = 'recombination_feature';
- CREATE VIEW specific_recombination_site AS
- SELECT
- feature_id AS specific_recombination_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recombination_feature_of_rearranged_gene' OR cvterm.name = 'site_specific_recombination_target_region' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_feature' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_spacer' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_signal_feature' OR cvterm.name = 'D_gene' OR cvterm.name = 'V_gene' OR cvterm.name = 'J_gene' OR cvterm.name = 'C_gene' OR cvterm.name = 'D_J_C_cluster' OR cvterm.name = 'J_C_cluster' OR cvterm.name = 'J_cluster' OR cvterm.name = 'V_cluster' OR cvterm.name = 'V_J_cluster' OR cvterm.name = 'V_J_C_cluster' OR cvterm.name = 'C_cluster' OR cvterm.name = 'D_cluster' OR cvterm.name = 'D_J_cluster' OR cvterm.name = 'three_prime_D_spacer' OR cvterm.name = 'five_prime_D_spacer' OR cvterm.name = 'J_spacer' OR cvterm.name = 'V_spacer' OR cvterm.name = 'VD_gene' OR cvterm.name = 'DJ_gene' OR cvterm.name = 'VDJ_gene' OR cvterm.name = 'VJ_gene' OR cvterm.name = 'DJ_J_cluster' OR cvterm.name = 'VDJ_J_C_cluster' OR cvterm.name = 'VDJ_J_cluster' OR cvterm.name = 'VJ_C_cluster' OR cvterm.name = 'VJ_J_C_cluster' OR cvterm.name = 'VJ_J_cluster' OR cvterm.name = 'D_DJ_C_cluster' OR cvterm.name = 'D_DJ_cluster' OR cvterm.name = 'D_DJ_J_C_cluster' OR cvterm.name = 'D_DJ_J_cluster' OR cvterm.name = 'V_DJ_cluster' OR cvterm.name = 'V_DJ_J_cluster' OR cvterm.name = 'V_VDJ_C_cluster' OR cvterm.name = 'V_VDJ_cluster' OR cvterm.name = 'V_VDJ_J_cluster' OR cvterm.name = 'V_VJ_C_cluster' OR cvterm.name = 'V_VJ_cluster' OR cvterm.name = 'V_VJ_J_cluster' OR cvterm.name = 'V_D_DJ_C_cluster' OR cvterm.name = 'V_D_DJ_cluster' OR cvterm.name = 'V_D_DJ_J_C_cluster' OR cvterm.name = 'V_D_DJ_J_cluster' OR cvterm.name = 'V_D_J_C_cluster' OR cvterm.name = 'V_D_J_cluster' OR cvterm.name = 'DJ_C_cluster' OR cvterm.name = 'DJ_J_C_cluster' OR cvterm.name = 'VDJ_C_cluster' OR cvterm.name = 'V_DJ_C_cluster' OR cvterm.name = 'V_DJ_J_C_cluster' OR cvterm.name = 'V_VDJ_J_C_cluster' OR cvterm.name = 'V_VJ_J_C_cluster' OR cvterm.name = 'J_gene_recombination_feature' OR cvterm.name = 'D_gene_recombination_feature' OR cvterm.name = 'V_gene_recombination_feature' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'integration_excision_site' OR cvterm.name = 'resolution_site' OR cvterm.name = 'inversion_site' OR cvterm.name = 'inversion_site_part' OR cvterm.name = 'attI_site' OR cvterm.name = 'attP_site' OR cvterm.name = 'attB_site' OR cvterm.name = 'attL_site' OR cvterm.name = 'attR_site' OR cvterm.name = 'attC_site' OR cvterm.name = 'attCtn_site' OR cvterm.name = 'loxP_site' OR cvterm.name = 'dif_site' OR cvterm.name = 'FRT_site' OR cvterm.name = 'IRLinv_site' OR cvterm.name = 'IRRinv_site' OR cvterm.name = 'specific_recombination_site';
- CREATE VIEW recombination_feature_of_rearranged_gene AS
- SELECT
- feature_id AS recombination_feature_of_rearranged_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'vertebrate_immune_system_gene_recombination_feature' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_spacer' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_signal_feature' OR cvterm.name = 'D_gene' OR cvterm.name = 'V_gene' OR cvterm.name = 'J_gene' OR cvterm.name = 'C_gene' OR cvterm.name = 'D_J_C_cluster' OR cvterm.name = 'J_C_cluster' OR cvterm.name = 'J_cluster' OR cvterm.name = 'V_cluster' OR cvterm.name = 'V_J_cluster' OR cvterm.name = 'V_J_C_cluster' OR cvterm.name = 'C_cluster' OR cvterm.name = 'D_cluster' OR cvterm.name = 'D_J_cluster' OR cvterm.name = 'three_prime_D_spacer' OR cvterm.name = 'five_prime_D_spacer' OR cvterm.name = 'J_spacer' OR cvterm.name = 'V_spacer' OR cvterm.name = 'VD_gene' OR cvterm.name = 'DJ_gene' OR cvterm.name = 'VDJ_gene' OR cvterm.name = 'VJ_gene' OR cvterm.name = 'DJ_J_cluster' OR cvterm.name = 'VDJ_J_C_cluster' OR cvterm.name = 'VDJ_J_cluster' OR cvterm.name = 'VJ_C_cluster' OR cvterm.name = 'VJ_J_C_cluster' OR cvterm.name = 'VJ_J_cluster' OR cvterm.name = 'D_DJ_C_cluster' OR cvterm.name = 'D_DJ_cluster' OR cvterm.name = 'D_DJ_J_C_cluster' OR cvterm.name = 'D_DJ_J_cluster' OR cvterm.name = 'V_DJ_cluster' OR cvterm.name = 'V_DJ_J_cluster' OR cvterm.name = 'V_VDJ_C_cluster' OR cvterm.name = 'V_VDJ_cluster' OR cvterm.name = 'V_VDJ_J_cluster' OR cvterm.name = 'V_VJ_C_cluster' OR cvterm.name = 'V_VJ_cluster' OR cvterm.name = 'V_VJ_J_cluster' OR cvterm.name = 'V_D_DJ_C_cluster' OR cvterm.name = 'V_D_DJ_cluster' OR cvterm.name = 'V_D_DJ_J_C_cluster' OR cvterm.name = 'V_D_DJ_J_cluster' OR cvterm.name = 'V_D_J_C_cluster' OR cvterm.name = 'V_D_J_cluster' OR cvterm.name = 'DJ_C_cluster' OR cvterm.name = 'DJ_J_C_cluster' OR cvterm.name = 'VDJ_C_cluster' OR cvterm.name = 'V_DJ_C_cluster' OR cvterm.name = 'V_DJ_J_C_cluster' OR cvterm.name = 'V_VDJ_J_C_cluster' OR cvterm.name = 'V_VJ_J_C_cluster' OR cvterm.name = 'J_gene_recombination_feature' OR cvterm.name = 'D_gene_recombination_feature' OR cvterm.name = 'V_gene_recombination_feature' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'recombination_feature_of_rearranged_gene';
- CREATE VIEW vertebrate_immune_system_gene_recombination_feature AS
- SELECT
- feature_id AS vertebrate_immune_system_gene_recombination_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_spacer' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_signal_feature' OR cvterm.name = 'D_gene' OR cvterm.name = 'V_gene' OR cvterm.name = 'J_gene' OR cvterm.name = 'C_gene' OR cvterm.name = 'D_J_C_cluster' OR cvterm.name = 'J_C_cluster' OR cvterm.name = 'J_cluster' OR cvterm.name = 'V_cluster' OR cvterm.name = 'V_J_cluster' OR cvterm.name = 'V_J_C_cluster' OR cvterm.name = 'C_cluster' OR cvterm.name = 'D_cluster' OR cvterm.name = 'D_J_cluster' OR cvterm.name = 'three_prime_D_spacer' OR cvterm.name = 'five_prime_D_spacer' OR cvterm.name = 'J_spacer' OR cvterm.name = 'V_spacer' OR cvterm.name = 'VD_gene' OR cvterm.name = 'DJ_gene' OR cvterm.name = 'VDJ_gene' OR cvterm.name = 'VJ_gene' OR cvterm.name = 'DJ_J_cluster' OR cvterm.name = 'VDJ_J_C_cluster' OR cvterm.name = 'VDJ_J_cluster' OR cvterm.name = 'VJ_C_cluster' OR cvterm.name = 'VJ_J_C_cluster' OR cvterm.name = 'VJ_J_cluster' OR cvterm.name = 'D_DJ_C_cluster' OR cvterm.name = 'D_DJ_cluster' OR cvterm.name = 'D_DJ_J_C_cluster' OR cvterm.name = 'D_DJ_J_cluster' OR cvterm.name = 'V_DJ_cluster' OR cvterm.name = 'V_DJ_J_cluster' OR cvterm.name = 'V_VDJ_C_cluster' OR cvterm.name = 'V_VDJ_cluster' OR cvterm.name = 'V_VDJ_J_cluster' OR cvterm.name = 'V_VJ_C_cluster' OR cvterm.name = 'V_VJ_cluster' OR cvterm.name = 'V_VJ_J_cluster' OR cvterm.name = 'V_D_DJ_C_cluster' OR cvterm.name = 'V_D_DJ_cluster' OR cvterm.name = 'V_D_DJ_J_C_cluster' OR cvterm.name = 'V_D_DJ_J_cluster' OR cvterm.name = 'V_D_J_C_cluster' OR cvterm.name = 'V_D_J_cluster' OR cvterm.name = 'DJ_C_cluster' OR cvterm.name = 'DJ_J_C_cluster' OR cvterm.name = 'VDJ_C_cluster' OR cvterm.name = 'V_DJ_C_cluster' OR cvterm.name = 'V_DJ_J_C_cluster' OR cvterm.name = 'V_VDJ_J_C_cluster' OR cvterm.name = 'V_VJ_J_C_cluster' OR cvterm.name = 'J_gene_recombination_feature' OR cvterm.name = 'D_gene_recombination_feature' OR cvterm.name = 'V_gene_recombination_feature' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_feature';
- CREATE VIEW j_gene_recombination_feature AS
- SELECT
- feature_id AS j_gene_recombination_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'J_gene_recombination_feature';
- CREATE VIEW clip AS
- SELECT
- feature_id AS clip_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_clip' OR cvterm.name = 'three_prime_clip' OR cvterm.name = 'clip';
- CREATE VIEW modified_base_site AS
- SELECT
- feature_id AS modified_base_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylated_base_feature' OR cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' OR cvterm.name = 'modified_base_site';
- CREATE VIEW methylated_base_feature AS
- SELECT
- feature_id AS methylated_base_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' OR cvterm.name = 'methylated_base_feature';
- CREATE VIEW cpg_island AS
- SELECT
- feature_id AS cpg_island_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CpG_island';
- CREATE VIEW experimentally_determined AS
- SELECT
- feature_id AS experimentally_determined_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'experimentally_determined';
- CREATE VIEW stem_loop AS
- SELECT
- feature_id AS stem_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tetraloop' OR cvterm.name = 'stem_loop';
- CREATE VIEW direct_repeat AS
- SELECT
- feature_id AS direct_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'target_site_duplication' OR cvterm.name = 'CRISPR' OR cvterm.name = 'direct_repeat';
- CREATE VIEW tss AS
- SELECT
- feature_id AS tss_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'major_TSS' OR cvterm.name = 'minor_TSS' OR cvterm.name = 'TSS';
- CREATE VIEW cds AS
- SELECT
- feature_id AS cds_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'edited_CDS' OR cvterm.name = 'CDS_fragment' OR cvterm.name = 'CDS_independently_known' OR cvterm.name = 'CDS_predicted' OR cvterm.name = 'orphan_CDS' OR cvterm.name = 'CDS_supported_by_sequence_similarity_data' OR cvterm.name = 'CDS_supported_by_domain_match_data' OR cvterm.name = 'CDS_supported_by_EST_or_cDNA_data' OR cvterm.name = 'CDS';
- CREATE VIEW cdna_clone AS
- SELECT
- feature_id AS cdna_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'validated_cDNA_clone' OR cvterm.name = 'invalidated_cDNA_clone' OR cvterm.name = 'three_prime_RACE_clone' OR cvterm.name = 'chimeric_cDNA_clone' OR cvterm.name = 'genomically_contaminated_cDNA_clone' OR cvterm.name = 'polyA_primed_cDNA_clone' OR cvterm.name = 'partially_processed_cDNA_clone' OR cvterm.name = 'cDNA_clone';
- CREATE VIEW start_codon AS
- SELECT
- feature_id AS start_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_canonical_start_codon' OR cvterm.name = 'four_bp_start_codon' OR cvterm.name = 'CTG_start_codon' OR cvterm.name = 'start_codon';
- CREATE VIEW stop_codon AS
- SELECT
- feature_id AS stop_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_codon';
- CREATE VIEW intronic_splice_enhancer AS
- SELECT
- feature_id AS intronic_splice_enhancer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intronic_splice_enhancer';
- CREATE VIEW mrna_with_plus_1_frameshift AS
- SELECT
- feature_id AS mrna_with_plus_1_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_with_plus_1_frameshift';
- CREATE VIEW nuclease_hypersensitive_site AS
- SELECT
- feature_id AS nuclease_hypersensitive_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DNAseI_hypersensitive_site' OR cvterm.name = 'nuclease_hypersensitive_site';
- CREATE VIEW coding_start AS
- SELECT
- feature_id AS coding_start_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'coding_start';
- CREATE VIEW tag AS
- SELECT
- feature_id AS tag_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SAGE_tag' OR cvterm.name = 'STS' OR cvterm.name = 'EST' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'five_prime_EST' OR cvterm.name = 'three_prime_EST' OR cvterm.name = 'UST' OR cvterm.name = 'RST' OR cvterm.name = 'three_prime_UST' OR cvterm.name = 'five_prime_UST' OR cvterm.name = 'three_prime_RST' OR cvterm.name = 'five_prime_RST' OR cvterm.name = 'tag';
- CREATE VIEW rrna_large_subunit_primary_transcript AS
- SELECT
- feature_id AS rrna_large_subunit_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_large_subunit_primary_transcript';
- CREATE VIEW sage_tag AS
- SELECT
- feature_id AS sage_tag_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SAGE_tag';
- CREATE VIEW coding_end AS
- SELECT
- feature_id AS coding_end_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'coding_end';
- CREATE VIEW microarray_oligo AS
- SELECT
- feature_id AS microarray_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'microarray_oligo';
- CREATE VIEW mrna_with_plus_2_frameshift AS
- SELECT
- feature_id AS mrna_with_plus_2_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_with_plus_2_frameshift';
- CREATE VIEW conserved_region AS
- SELECT
- feature_id AS conserved_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'coding_conserved_region' OR cvterm.name = 'nc_conserved_region' OR cvterm.name = 'homologous_region' OR cvterm.name = 'syntenic_region' OR cvterm.name = 'paralogous_region' OR cvterm.name = 'orthologous_region' OR cvterm.name = 'conserved_region';
- CREATE VIEW sts AS
- SELECT
- feature_id AS sts_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'STS';
- CREATE VIEW coding_conserved_region AS
- SELECT
- feature_id AS coding_conserved_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'coding_conserved_region';
- CREATE VIEW exon_junction AS
- SELECT
- feature_id AS exon_junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'exon_junction';
- CREATE VIEW nc_conserved_region AS
- SELECT
- feature_id AS nc_conserved_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nc_conserved_region';
- CREATE VIEW mrna_with_minus_2_frameshift AS
- SELECT
- feature_id AS mrna_with_minus_2_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_with_minus_2_frameshift';
- CREATE VIEW pseudogene AS
- SELECT
- feature_id AS pseudogene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'processed_pseudogene' OR cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'pseudogene';
- CREATE VIEW rnai_reagent AS
- SELECT
- feature_id AS rnai_reagent_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNAi_reagent';
- CREATE VIEW mite AS
- SELECT
- feature_id AS mite_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'MITE';
- CREATE VIEW recombination_hotspot AS
- SELECT
- feature_id AS recombination_hotspot_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recombination_hotspot';
- CREATE VIEW chromosome AS
- SELECT
- feature_id AS chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mitochondrial_chromosome' OR cvterm.name = 'chloroplast_chromosome' OR cvterm.name = 'chromoplast_chromosome' OR cvterm.name = 'cyanelle_chromosome' OR cvterm.name = 'leucoplast_chromosome' OR cvterm.name = 'macronuclear_chromosome' OR cvterm.name = 'micronuclear_chromosome' OR cvterm.name = 'nuclear_chromosome' OR cvterm.name = 'nucleomorphic_chromosome' OR cvterm.name = 'DNA_chromosome' OR cvterm.name = 'RNA_chromosome' OR cvterm.name = 'apicoplast_chromosome' OR cvterm.name = 'double_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_DNA_chromosome' OR cvterm.name = 'linear_double_stranded_DNA_chromosome' OR cvterm.name = 'circular_double_stranded_DNA_chromosome' OR cvterm.name = 'linear_single_stranded_DNA_chromosome' OR cvterm.name = 'circular_single_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_RNA_chromosome' OR cvterm.name = 'double_stranded_RNA_chromosome' OR cvterm.name = 'linear_single_stranded_RNA_chromosome' OR cvterm.name = 'circular_single_stranded_RNA_chromosome' OR cvterm.name = 'linear_double_stranded_RNA_chromosome' OR cvterm.name = 'circular_double_stranded_RNA_chromosome' OR cvterm.name = 'chromosome';
- CREATE VIEW chromosome_band AS
- SELECT
- feature_id AS chromosome_band_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosome_band';
- CREATE VIEW site_specific_recombination_target_region AS
- SELECT
- feature_id AS site_specific_recombination_target_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'integration_excision_site' OR cvterm.name = 'resolution_site' OR cvterm.name = 'inversion_site' OR cvterm.name = 'inversion_site_part' OR cvterm.name = 'attI_site' OR cvterm.name = 'attP_site' OR cvterm.name = 'attB_site' OR cvterm.name = 'attL_site' OR cvterm.name = 'attR_site' OR cvterm.name = 'attC_site' OR cvterm.name = 'attCtn_site' OR cvterm.name = 'loxP_site' OR cvterm.name = 'dif_site' OR cvterm.name = 'FRT_site' OR cvterm.name = 'IRLinv_site' OR cvterm.name = 'IRRinv_site' OR cvterm.name = 'site_specific_recombination_target_region';
- CREATE VIEW match AS
- SELECT
- feature_id AS match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleotide_match' OR cvterm.name = 'protein_match' OR cvterm.name = 'expressed_sequence_match' OR cvterm.name = 'cross_genome_match' OR cvterm.name = 'translated_nucleotide_match' OR cvterm.name = 'primer_match' OR cvterm.name = 'EST_match' OR cvterm.name = 'cDNA_match' OR cvterm.name = 'UST_match' OR cvterm.name = 'RST_match' OR cvterm.name = 'match';
- CREATE VIEW splice_enhancer AS
- SELECT
- feature_id AS splice_enhancer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'splice_enhancer';
- CREATE VIEW est AS
- SELECT
- feature_id AS est_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_EST' OR cvterm.name = 'three_prime_EST' OR cvterm.name = 'UST' OR cvterm.name = 'RST' OR cvterm.name = 'three_prime_UST' OR cvterm.name = 'five_prime_UST' OR cvterm.name = 'three_prime_RST' OR cvterm.name = 'five_prime_RST' OR cvterm.name = 'EST';
- CREATE VIEW loxp_site AS
- SELECT
- feature_id AS loxp_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'loxP_site';
- CREATE VIEW nucleotide_match AS
- SELECT
- feature_id AS nucleotide_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'expressed_sequence_match' OR cvterm.name = 'cross_genome_match' OR cvterm.name = 'translated_nucleotide_match' OR cvterm.name = 'primer_match' OR cvterm.name = 'EST_match' OR cvterm.name = 'cDNA_match' OR cvterm.name = 'UST_match' OR cvterm.name = 'RST_match' OR cvterm.name = 'nucleotide_match';
- CREATE VIEW nucleic_acid AS
- SELECT
- feature_id AS nucleic_acid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DNA' OR cvterm.name = 'RNA' OR cvterm.name = 'morpholino' OR cvterm.name = 'PNA' OR cvterm.name = 'LNA' OR cvterm.name = 'TNA' OR cvterm.name = 'GNA' OR cvterm.name = 'cDNA' OR cvterm.name = 'genomic_DNA' OR cvterm.name = 'single_stranded_cDNA' OR cvterm.name = 'double_stranded_cDNA' OR cvterm.name = 'R_GNA' OR cvterm.name = 'S_GNA' OR cvterm.name = 'nucleic_acid';
- CREATE VIEW protein_match AS
- SELECT
- feature_id AS protein_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'protein_match';
- CREATE VIEW frt_site AS
- SELECT
- feature_id AS frt_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'FRT_site';
- CREATE VIEW synthetic_sequence AS
- SELECT
- feature_id AS synthetic_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'random_sequence' OR cvterm.name = 'designed_sequence' OR cvterm.name = 'synthetic_sequence';
- CREATE VIEW dna AS
- SELECT
- feature_id AS dna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cDNA' OR cvterm.name = 'genomic_DNA' OR cvterm.name = 'single_stranded_cDNA' OR cvterm.name = 'double_stranded_cDNA' OR cvterm.name = 'DNA';
- CREATE VIEW sequence_assembly AS
- SELECT
- feature_id AS sequence_assembly_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'supercontig' OR cvterm.name = 'contig' OR cvterm.name = 'tiling_path' OR cvterm.name = 'virtual_sequence' OR cvterm.name = 'golden_path' OR cvterm.name = 'ultracontig' OR cvterm.name = 'expressed_sequence_assembly' OR cvterm.name = 'sequence_assembly';
- CREATE VIEW group_1_intron_homing_endonuclease_target_region AS
- SELECT
- feature_id AS group_1_intron_homing_endonuclease_target_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'group_1_intron_homing_endonuclease_target_region';
- CREATE VIEW haplotype_block AS
- SELECT
- feature_id AS haplotype_block_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'haplotype_block';
- CREATE VIEW rna AS
- SELECT
- feature_id AS rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNA';
- CREATE VIEW flanked AS
- SELECT
- feature_id AS flanked_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'floxed' OR cvterm.name = 'FRT_flanked' OR cvterm.name = 'flanked';
- CREATE VIEW floxed AS
- SELECT
- feature_id AS floxed_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'floxed';
- CREATE VIEW codon AS
- SELECT
- feature_id AS codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recoded_codon' OR cvterm.name = 'start_codon' OR cvterm.name = 'stop_codon' OR cvterm.name = 'stop_codon_read_through' OR cvterm.name = 'stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'non_canonical_start_codon' OR cvterm.name = 'four_bp_start_codon' OR cvterm.name = 'CTG_start_codon' OR cvterm.name = 'codon';
- CREATE VIEW frt_flanked AS
- SELECT
- feature_id AS frt_flanked_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'FRT_flanked';
- CREATE VIEW invalidated_by_chimeric_cdna AS
- SELECT
- feature_id AS invalidated_by_chimeric_cdna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'invalidated_by_chimeric_cDNA';
- CREATE VIEW floxed_gene AS
- SELECT
- feature_id AS floxed_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'floxed_gene';
- CREATE VIEW transposable_element_flanking_region AS
- SELECT
- feature_id AS transposable_element_flanking_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transposable_element_flanking_region';
- CREATE VIEW integron AS
- SELECT
- feature_id AS integron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'integron';
- CREATE VIEW insertion_site AS
- SELECT
- feature_id AS insertion_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transposable_element_insertion_site' OR cvterm.name = 'insertion_site';
- CREATE VIEW atti_site AS
- SELECT
- feature_id AS atti_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attI_site';
- CREATE VIEW transposable_element_insertion_site AS
- SELECT
- feature_id AS transposable_element_insertion_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transposable_element_insertion_site';
- CREATE VIEW small_regulatory_ncrna AS
- SELECT
- feature_id AS small_regulatory_ncrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA' OR cvterm.name = 'RNA_6S' OR cvterm.name = 'CsrB_RsmB_RNA' OR cvterm.name = 'DsrA_RNA' OR cvterm.name = 'OxyS_RNA' OR cvterm.name = 'RprA_RNA' OR cvterm.name = 'RRE_RNA' OR cvterm.name = 'spot_42_RNA' OR cvterm.name = 'tmRNA' OR cvterm.name = 'GcvB_RNA' OR cvterm.name = 'small_regulatory_ncRNA';
- CREATE VIEW conjugative_transposon AS
- SELECT
- feature_id AS conjugative_transposon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'conjugative_transposon';
- CREATE VIEW enzymatic_rna AS
- SELECT
- feature_id AS enzymatic_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ribozyme' OR cvterm.name = 'enzymatic_RNA';
- CREATE VIEW recombinationally_inverted_gene AS
- SELECT
- feature_id AS recombinationally_inverted_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recombinationally_inverted_gene';
- CREATE VIEW ribozyme AS
- SELECT
- feature_id AS ribozyme_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ribozyme';
- CREATE VIEW rrna_5_8s AS
- SELECT
- feature_id AS rrna_5_8s_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_5_8S';
- CREATE VIEW rna_6s AS
- SELECT
- feature_id AS rna_6s_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNA_6S';
- CREATE VIEW csrb_rsmb_rna AS
- SELECT
- feature_id AS csrb_rsmb_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CsrB_RsmB_RNA';
- CREATE VIEW dsra_rna AS
- SELECT
- feature_id AS dsra_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'GcvB_RNA' OR cvterm.name = 'DsrA_RNA';
- CREATE VIEW gcvb_rna AS
- SELECT
- feature_id AS gcvb_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'GcvB_RNA';
- CREATE VIEW hammerhead_ribozyme AS
- SELECT
- feature_id AS hammerhead_ribozyme_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'hammerhead_ribozyme';
- CREATE VIEW group_iia_intron AS
- SELECT
- feature_id AS group_iia_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'group_IIA_intron';
- CREATE VIEW group_iib_intron AS
- SELECT
- feature_id AS group_iib_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'group_IIB_intron';
- CREATE VIEW micf_rna AS
- SELECT
- feature_id AS micf_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'MicF_RNA';
- CREATE VIEW oxys_rna AS
- SELECT
- feature_id AS oxys_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'OxyS_RNA';
- CREATE VIEW rnase_mrp_rna AS
- SELECT
- feature_id AS rnase_mrp_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNase_MRP_RNA';
- CREATE VIEW rnase_p_rna AS
- SELECT
- feature_id AS rnase_p_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNase_P_RNA';
- CREATE VIEW rpra_rna AS
- SELECT
- feature_id AS rpra_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RprA_RNA';
- CREATE VIEW rre_rna AS
- SELECT
- feature_id AS rre_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RRE_RNA';
- CREATE VIEW spot_42_rna AS
- SELECT
- feature_id AS spot_42_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'spot_42_RNA';
- CREATE VIEW telomerase_rna AS
- SELECT
- feature_id AS telomerase_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'telomerase_RNA';
- CREATE VIEW u1_snrna AS
- SELECT
- feature_id AS u1_snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U1_snRNA';
- CREATE VIEW u2_snrna AS
- SELECT
- feature_id AS u2_snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U2_snRNA';
- CREATE VIEW u4_snrna AS
- SELECT
- feature_id AS u4_snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U4_snRNA';
- CREATE VIEW u4atac_snrna AS
- SELECT
- feature_id AS u4atac_snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U4atac_snRNA';
- CREATE VIEW u5_snrna AS
- SELECT
- feature_id AS u5_snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U5_snRNA';
- CREATE VIEW u6_snrna AS
- SELECT
- feature_id AS u6_snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U6_snRNA';
- CREATE VIEW u6atac_snrna AS
- SELECT
- feature_id AS u6atac_snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U6atac_snRNA';
- CREATE VIEW u11_snrna AS
- SELECT
- feature_id AS u11_snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U11_snRNA';
- CREATE VIEW u12_snrna AS
- SELECT
- feature_id AS u12_snrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U12_snRNA';
- CREATE VIEW sequence_attribute AS
- SELECT
- feature_id AS sequence_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polymer_attribute' OR cvterm.name = 'feature_attribute' OR cvterm.name = 'sequence_location' OR cvterm.name = 'nucleic_acid' OR cvterm.name = 'synthetic_sequence' OR cvterm.name = 'topology_attribute' OR cvterm.name = 'peptidyl' OR cvterm.name = 'DNA' OR cvterm.name = 'RNA' OR cvterm.name = 'morpholino' OR cvterm.name = 'PNA' OR cvterm.name = 'LNA' OR cvterm.name = 'TNA' OR cvterm.name = 'GNA' OR cvterm.name = 'cDNA' OR cvterm.name = 'genomic_DNA' OR cvterm.name = 'single_stranded_cDNA' OR cvterm.name = 'double_stranded_cDNA' OR cvterm.name = 'R_GNA' OR cvterm.name = 'S_GNA' OR cvterm.name = 'random_sequence' OR cvterm.name = 'designed_sequence' OR cvterm.name = 'linear' OR cvterm.name = 'circular' OR cvterm.name = 'transcript_attribute' OR cvterm.name = 'bound_by_factor' OR cvterm.name = 'flanked' OR cvterm.name = 'gene_attribute' OR cvterm.name = 'retrotransposed' OR cvterm.name = 'transgenic' OR cvterm.name = 'natural' OR cvterm.name = 'engineered' OR cvterm.name = 'foreign' OR cvterm.name = 'fusion' OR cvterm.name = 'rescue' OR cvterm.name = 'wild_type' OR cvterm.name = 'conserved' OR cvterm.name = 'status' OR cvterm.name = 'intermediate' OR cvterm.name = 'recombinationally_rearranged' OR cvterm.name = 'cryptic' OR cvterm.name = 'strand_attribute' OR cvterm.name = 'direction_attribute' OR cvterm.name = 'enzymatic' OR cvterm.name = 'mobile' OR cvterm.name = 'edited' OR cvterm.name = 'capped' OR cvterm.name = 'mRNA_attribute' OR cvterm.name = 'trans_spliced' OR cvterm.name = 'alternatively_spliced' OR cvterm.name = 'monocistronic' OR cvterm.name = 'polycistronic' OR cvterm.name = 'polyadenylated' OR cvterm.name = 'exemplar' OR cvterm.name = 'frameshift' OR cvterm.name = 'recoded' OR cvterm.name = 'minus_1_frameshift' OR cvterm.name = 'minus_2_frameshift' OR cvterm.name = 'plus_1_frameshift' OR cvterm.name = 'plus_2_framshift' OR cvterm.name = 'codon_redefined' OR cvterm.name = 'recoded_by_translational_bypass' OR cvterm.name = 'translationally_frameshifted' OR cvterm.name = 'minus_1_translationally_frameshifted' OR cvterm.name = 'plus_1_translationally_frameshifted' OR cvterm.name = 'dicistronic' OR cvterm.name = 'bound_by_protein' OR cvterm.name = 'bound_by_nucleic_acid' OR cvterm.name = 'floxed' OR cvterm.name = 'FRT_flanked' OR cvterm.name = 'protein_coding' OR cvterm.name = 'non_protein_coding' OR cvterm.name = 'gene_to_gene_feature' OR cvterm.name = 'gene_array_member' OR cvterm.name = 'regulated' OR cvterm.name = 'epigenetically_modified' OR cvterm.name = 'encodes_alternately_spliced_transcripts' OR cvterm.name = 'encodes_alternate_transcription_start_sites' OR cvterm.name = 'intein_containing' OR cvterm.name = 'miRNA_encoding' OR cvterm.name = 'rRNA_encoding' OR cvterm.name = 'scRNA_encoding' OR cvterm.name = 'snoRNA_encoding' OR cvterm.name = 'snRNA_encoding' OR cvterm.name = 'SRP_RNA_encoding' OR cvterm.name = 'stRNA_encoding' OR cvterm.name = 'tmRNA_encoding' OR cvterm.name = 'tRNA_encoding' OR cvterm.name = 'gRNA_encoding' OR cvterm.name = 'C_D_box_snoRNA_encoding' OR cvterm.name = 'H_ACA_box_snoRNA_encoding' OR cvterm.name = 'overlapping' OR cvterm.name = 'inside_intron' OR cvterm.name = 'five_prime_three_prime_overlap' OR cvterm.name = 'five_prime_five_prime_overlap' OR cvterm.name = 'three_prime_three_prime_overlap' OR cvterm.name = 'three_prime_five_prime_overlap' OR cvterm.name = 'antisense' OR cvterm.name = 'inside_intron_antiparallel' OR cvterm.name = 'inside_intron_parallel' OR cvterm.name = 'operon_member' OR cvterm.name = 'gene_cassette_member' OR cvterm.name = 'gene_subarray_member' OR cvterm.name = 'member_of_regulon' OR cvterm.name = 'cassette_array_member' OR cvterm.name = 'transcriptionally_regulated' OR cvterm.name = 'post_translationally_regulated' OR cvterm.name = 'translationally_regulated' OR cvterm.name = 'imprinted' OR cvterm.name = 'transcriptionally_constitutive' OR cvterm.name = 'transcriptionally_induced' OR cvterm.name = 'transcriptionally_repressed' OR cvterm.name = 'autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'silenced' OR cvterm.name = 'silenced_by_DNA_modification' OR cvterm.name = 'silenced_by_RNA_interference' OR cvterm.name = 'silenced_by_histone_modification' OR cvterm.name = 'silenced_by_DNA_methylation' OR cvterm.name = 'silenced_by_histone_methylation' OR cvterm.name = 'silenced_by_histone_deacetylation' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'post_translationally_regulated_by_protein_stability' OR cvterm.name = 'post_translationally_regulated_by_protein_modification' OR cvterm.name = 'maternally_imprinted' OR cvterm.name = 'paternally_imprinted' OR cvterm.name = 'imprinted' OR cvterm.name = 'allelically_excluded' OR cvterm.name = 'rearranged_at_DNA_level' OR cvterm.name = 'maternally_imprinted' OR cvterm.name = 'paternally_imprinted' OR cvterm.name = 'encodes_1_polypeptide' OR cvterm.name = 'encodes_greater_than_1_polypeptide' OR cvterm.name = 'encodes_disjoint_polypeptides' OR cvterm.name = 'encodes_overlapping_peptides' OR cvterm.name = 'encodes_different_polypeptides_different_stop' OR cvterm.name = 'encodes_overlapping_peptides_different_start' OR cvterm.name = 'encodes_overlapping_polypeptides_different_start_and_stop' OR cvterm.name = 'homologous' OR cvterm.name = 'syntenic' OR cvterm.name = 'orthologous' OR cvterm.name = 'paralogous' OR cvterm.name = 'fragmentary' OR cvterm.name = 'predicted' OR cvterm.name = 'validated' OR cvterm.name = 'invalidated' OR cvterm.name = 'independently_known' OR cvterm.name = 'consensus' OR cvterm.name = 'low_complexity' OR cvterm.name = 'supported_by_sequence_similarity' OR cvterm.name = 'orphan' OR cvterm.name = 'predicted_by_ab_initio_computation' OR cvterm.name = 'supported_by_domain_match' OR cvterm.name = 'supported_by_EST_or_cDNA' OR cvterm.name = 'experimentally_determined' OR cvterm.name = 'invalidated_by_chimeric_cDNA' OR cvterm.name = 'invalidated_by_genomic_contamination' OR cvterm.name = 'invalidated_by_genomic_polyA_primed_cDNA' OR cvterm.name = 'invalidated_by_partial_processing' OR cvterm.name = 'single' OR cvterm.name = 'double' OR cvterm.name = 'forward' OR cvterm.name = 'reverse' OR cvterm.name = 'ribozymic' OR cvterm.name = 'organelle_sequence' OR cvterm.name = 'plasmid_location' OR cvterm.name = 'proviral_location' OR cvterm.name = 'macronuclear_sequence' OR cvterm.name = 'micronuclear_sequence' OR cvterm.name = 'mitochondrial_sequence' OR cvterm.name = 'nuclear_sequence' OR cvterm.name = 'nucleomorphic_sequence' OR cvterm.name = 'plastid_sequence' OR cvterm.name = 'mitochondrial_DNA' OR cvterm.name = 'apicoplast_sequence' OR cvterm.name = 'chromoplast_sequence' OR cvterm.name = 'chloroplast_sequence' OR cvterm.name = 'cyanelle_sequence' OR cvterm.name = 'leucoplast_sequence' OR cvterm.name = 'proplastid_sequence' OR cvterm.name = 'chloroplast_DNA' OR cvterm.name = 'endogenous_retroviral_sequence' OR cvterm.name = 'sequence_attribute';
- CREATE VIEW gene_attribute AS
- SELECT
- feature_id AS gene_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'protein_coding' OR cvterm.name = 'non_protein_coding' OR cvterm.name = 'gene_to_gene_feature' OR cvterm.name = 'gene_array_member' OR cvterm.name = 'regulated' OR cvterm.name = 'epigenetically_modified' OR cvterm.name = 'encodes_alternately_spliced_transcripts' OR cvterm.name = 'encodes_alternate_transcription_start_sites' OR cvterm.name = 'intein_containing' OR cvterm.name = 'miRNA_encoding' OR cvterm.name = 'rRNA_encoding' OR cvterm.name = 'scRNA_encoding' OR cvterm.name = 'snoRNA_encoding' OR cvterm.name = 'snRNA_encoding' OR cvterm.name = 'SRP_RNA_encoding' OR cvterm.name = 'stRNA_encoding' OR cvterm.name = 'tmRNA_encoding' OR cvterm.name = 'tRNA_encoding' OR cvterm.name = 'gRNA_encoding' OR cvterm.name = 'C_D_box_snoRNA_encoding' OR cvterm.name = 'H_ACA_box_snoRNA_encoding' OR cvterm.name = 'overlapping' OR cvterm.name = 'inside_intron' OR cvterm.name = 'five_prime_three_prime_overlap' OR cvterm.name = 'five_prime_five_prime_overlap' OR cvterm.name = 'three_prime_three_prime_overlap' OR cvterm.name = 'three_prime_five_prime_overlap' OR cvterm.name = 'antisense' OR cvterm.name = 'inside_intron_antiparallel' OR cvterm.name = 'inside_intron_parallel' OR cvterm.name = 'operon_member' OR cvterm.name = 'gene_cassette_member' OR cvterm.name = 'gene_subarray_member' OR cvterm.name = 'member_of_regulon' OR cvterm.name = 'cassette_array_member' OR cvterm.name = 'transcriptionally_regulated' OR cvterm.name = 'post_translationally_regulated' OR cvterm.name = 'translationally_regulated' OR cvterm.name = 'imprinted' OR cvterm.name = 'transcriptionally_constitutive' OR cvterm.name = 'transcriptionally_induced' OR cvterm.name = 'transcriptionally_repressed' OR cvterm.name = 'autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'silenced' OR cvterm.name = 'silenced_by_DNA_modification' OR cvterm.name = 'silenced_by_RNA_interference' OR cvterm.name = 'silenced_by_histone_modification' OR cvterm.name = 'silenced_by_DNA_methylation' OR cvterm.name = 'silenced_by_histone_methylation' OR cvterm.name = 'silenced_by_histone_deacetylation' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'post_translationally_regulated_by_protein_stability' OR cvterm.name = 'post_translationally_regulated_by_protein_modification' OR cvterm.name = 'maternally_imprinted' OR cvterm.name = 'paternally_imprinted' OR cvterm.name = 'imprinted' OR cvterm.name = 'allelically_excluded' OR cvterm.name = 'rearranged_at_DNA_level' OR cvterm.name = 'maternally_imprinted' OR cvterm.name = 'paternally_imprinted' OR cvterm.name = 'encodes_1_polypeptide' OR cvterm.name = 'encodes_greater_than_1_polypeptide' OR cvterm.name = 'encodes_disjoint_polypeptides' OR cvterm.name = 'encodes_overlapping_peptides' OR cvterm.name = 'encodes_different_polypeptides_different_stop' OR cvterm.name = 'encodes_overlapping_peptides_different_start' OR cvterm.name = 'encodes_overlapping_polypeptides_different_start_and_stop' OR cvterm.name = 'gene_attribute';
- CREATE VIEW u14_snorna AS
- SELECT
- feature_id AS u14_snorna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U14_snoRNA';
- CREATE VIEW vault_rna AS
- SELECT
- feature_id AS vault_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'vault_RNA';
- CREATE VIEW y_rna AS
- SELECT
- feature_id AS y_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'Y_RNA';
- CREATE VIEW twintron AS
- SELECT
- feature_id AS twintron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'twintron';
- CREATE VIEW rrna_18s AS
- SELECT
- feature_id AS rrna_18s_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_18S';
- CREATE VIEW binding_site AS
- SELECT
- feature_id AS binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'protein_binding_site' OR cvterm.name = 'miRNA_target_site' OR cvterm.name = 'epitope' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'DNA_binding_site' OR cvterm.name = 'primer_binding_site' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'nuclease_binding_site' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'histone_binding_site' OR cvterm.name = 'insulator_binding_site' OR cvterm.name = 'enhancer_binding_site' OR cvterm.name = 'restriction_enzyme_binding_site' OR cvterm.name = 'nuclease_sensitive_site' OR cvterm.name = 'homing_endonuclease_binding_site' OR cvterm.name = 'nuclease_hypersensitive_site' OR cvterm.name = 'group_1_intron_homing_endonuclease_target_region' OR cvterm.name = 'DNAseI_hypersensitive_site' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'binding_site';
- CREATE VIEW protein_binding_site AS
- SELECT
- feature_id AS protein_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclease_binding_site' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'histone_binding_site' OR cvterm.name = 'insulator_binding_site' OR cvterm.name = 'enhancer_binding_site' OR cvterm.name = 'restriction_enzyme_binding_site' OR cvterm.name = 'nuclease_sensitive_site' OR cvterm.name = 'homing_endonuclease_binding_site' OR cvterm.name = 'nuclease_hypersensitive_site' OR cvterm.name = 'group_1_intron_homing_endonuclease_target_region' OR cvterm.name = 'DNAseI_hypersensitive_site' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'protein_binding_site';
- CREATE VIEW rescue_region AS
- SELECT
- feature_id AS rescue_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_rescue_region' OR cvterm.name = 'rescue_region';
- CREATE VIEW restriction_fragment AS
- SELECT
- feature_id AS restriction_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RFLP_fragment' OR cvterm.name = 'restriction_fragment';
- CREATE VIEW sequence_difference AS
- SELECT
- feature_id AS sequence_difference_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'possible_base_call_error' OR cvterm.name = 'possible_assembly_error' OR cvterm.name = 'sequence_difference';
- CREATE VIEW invalidated_by_genomic_contamination AS
- SELECT
- feature_id AS invalidated_by_genomic_contamination_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'invalidated_by_genomic_contamination';
- CREATE VIEW invalidated_by_genomic_polya_primed_cdna AS
- SELECT
- feature_id AS invalidated_by_genomic_polya_primed_cdna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'invalidated_by_genomic_polyA_primed_cDNA';
- CREATE VIEW invalidated_by_partial_processing AS
- SELECT
- feature_id AS invalidated_by_partial_processing_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'invalidated_by_partial_processing';
- CREATE VIEW polypeptide_domain AS
- SELECT
- feature_id AS polypeptide_domain_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_domain';
- CREATE VIEW signal_peptide AS
- SELECT
- feature_id AS signal_peptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'signal_peptide';
- CREATE VIEW mature_protein_region AS
- SELECT
- feature_id AS mature_protein_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'active_peptide' OR cvterm.name = 'mature_protein_region';
- CREATE VIEW five_prime_terminal_inverted_repeat AS
- SELECT
- feature_id AS five_prime_terminal_inverted_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_terminal_inverted_repeat';
- CREATE VIEW three_prime_terminal_inverted_repeat AS
- SELECT
- feature_id AS three_prime_terminal_inverted_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_terminal_inverted_repeat';
- CREATE VIEW u5_ltr_region AS
- SELECT
- feature_id AS u5_ltr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'U5_LTR_region';
- CREATE VIEW r_ltr_region AS
- SELECT
- feature_id AS r_ltr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'R_LTR_region';
- CREATE VIEW u3_ltr_region AS
- SELECT
- feature_id AS u3_ltr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'U3_LTR_region';
- CREATE VIEW five_prime_ltr AS
- SELECT
- feature_id AS five_prime_ltr_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_LTR';
- CREATE VIEW three_prime_ltr AS
- SELECT
- feature_id AS three_prime_ltr_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_LTR';
- CREATE VIEW r_five_prime_ltr_region AS
- SELECT
- feature_id AS r_five_prime_ltr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'R_five_prime_LTR_region';
- CREATE VIEW u5_five_prime_ltr_region AS
- SELECT
- feature_id AS u5_five_prime_ltr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U5_five_prime_LTR_region';
- CREATE VIEW u3_five_prime_ltr_region AS
- SELECT
- feature_id AS u3_five_prime_ltr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U3_five_prime_LTR_region';
- CREATE VIEW r_three_prime_ltr_region AS
- SELECT
- feature_id AS r_three_prime_ltr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'R_three_prime_LTR_region';
- CREATE VIEW u3_three_prime_ltr_region AS
- SELECT
- feature_id AS u3_three_prime_ltr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U3_three_prime_LTR_region';
- CREATE VIEW u5_three_prime_ltr_region AS
- SELECT
- feature_id AS u5_three_prime_ltr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U5_three_prime_LTR_region';
- CREATE VIEW non_ltr_retrotransposon_polymeric_tract AS
- SELECT
- feature_id AS non_ltr_retrotransposon_polymeric_tract_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_LTR_retrotransposon_polymeric_tract';
- CREATE VIEW target_site_duplication AS
- SELECT
- feature_id AS target_site_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'target_site_duplication';
- CREATE VIEW rr_tract AS
- SELECT
- feature_id AS rr_tract_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RR_tract';
- CREATE VIEW ars AS
- SELECT
- feature_id AS ars_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ARS';
- CREATE VIEW inverted_ring_chromosome AS
- SELECT
- feature_id AS inverted_ring_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inverted_ring_chromosome';
- CREATE VIEW vector_replicon AS
- SELECT
- feature_id AS vector_replicon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'YAC' OR cvterm.name = 'BAC' OR cvterm.name = 'PAC' OR cvterm.name = 'cosmid' OR cvterm.name = 'phagemid' OR cvterm.name = 'fosmid' OR cvterm.name = 'lambda_vector' OR cvterm.name = 'plasmid_vector' OR cvterm.name = 'vector_replicon';
- CREATE VIEW ss_oligo AS
- SELECT
- feature_id AS ss_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'primer' OR cvterm.name = 'sequencing_primer' OR cvterm.name = 'forward_primer' OR cvterm.name = 'reverse_primer' OR cvterm.name = 'ss_oligo';
- CREATE VIEW ds_oligo AS
- SELECT
- feature_id AS ds_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNAi_reagent' OR cvterm.name = 'DNA_constraint_sequence' OR cvterm.name = 'ds_oligo';
- CREATE VIEW polymer_attribute AS
- SELECT
- feature_id AS polymer_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleic_acid' OR cvterm.name = 'synthetic_sequence' OR cvterm.name = 'topology_attribute' OR cvterm.name = 'peptidyl' OR cvterm.name = 'DNA' OR cvterm.name = 'RNA' OR cvterm.name = 'morpholino' OR cvterm.name = 'PNA' OR cvterm.name = 'LNA' OR cvterm.name = 'TNA' OR cvterm.name = 'GNA' OR cvterm.name = 'cDNA' OR cvterm.name = 'genomic_DNA' OR cvterm.name = 'single_stranded_cDNA' OR cvterm.name = 'double_stranded_cDNA' OR cvterm.name = 'R_GNA' OR cvterm.name = 'S_GNA' OR cvterm.name = 'random_sequence' OR cvterm.name = 'designed_sequence' OR cvterm.name = 'linear' OR cvterm.name = 'circular' OR cvterm.name = 'polymer_attribute';
- CREATE VIEW three_prime_noncoding_exon AS
- SELECT
- feature_id AS three_prime_noncoding_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_noncoding_exon';
- CREATE VIEW five_prime_noncoding_exon AS
- SELECT
- feature_id AS five_prime_noncoding_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_noncoding_exon';
- CREATE VIEW utr_intron AS
- SELECT
- feature_id AS utr_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_UTR_intron' OR cvterm.name = 'three_prime_UTR_intron' OR cvterm.name = 'UTR_intron';
- CREATE VIEW five_prime_utr_intron AS
- SELECT
- feature_id AS five_prime_utr_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_UTR_intron';
- CREATE VIEW three_prime_utr_intron AS
- SELECT
- feature_id AS three_prime_utr_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_UTR_intron';
- CREATE VIEW random_sequence AS
- SELECT
- feature_id AS random_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'random_sequence';
- CREATE VIEW interband AS
- SELECT
- feature_id AS interband_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'interband';
- CREATE VIEW gene_with_polyadenylated_mrna AS
- SELECT
- feature_id AS gene_with_polyadenylated_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_polyadenylated_mRNA';
- CREATE VIEW transposition AS
- SELECT
- feature_id AS transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'interchromosomal_transposition' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unorientated_interchromosomal_transposition' OR cvterm.name = 'transposition';
- CREATE VIEW rasirna AS
- SELECT
- feature_id AS rasirna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rasiRNA';
- CREATE VIEW gene_with_mrna_with_frameshift AS
- SELECT
- feature_id AS gene_with_mrna_with_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_mRNA_with_frameshift';
- CREATE VIEW recombinationally_rearranged_gene AS
- SELECT
- feature_id AS recombinationally_rearranged_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recombinationally_inverted_gene' OR cvterm.name = 'recombinationally_rearranged_vertebrate_immune_system_gene' OR cvterm.name = 'recombinationally_rearranged_gene';
- CREATE VIEW interchromosomal_duplication AS
- SELECT
- feature_id AS interchromosomal_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'interchromosomal_duplication';
- CREATE VIEW d_gene AS
- SELECT
- feature_id AS d_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_gene';
- CREATE VIEW gene_with_trans_spliced_transcript AS
- SELECT
- feature_id AS gene_with_trans_spliced_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_trans_spliced_transcript';
- CREATE VIEW vertebrate_immunoglobulin_t_cell_receptor_segment AS
- SELECT
- feature_id AS vertebrate_immunoglobulin_t_cell_receptor_segment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_gene' OR cvterm.name = 'V_gene' OR cvterm.name = 'J_gene' OR cvterm.name = 'C_gene' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_segment';
- CREATE VIEW inversion_derived_bipartite_deficiency AS
- SELECT
- feature_id AS inversion_derived_bipartite_deficiency_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_derived_bipartite_deficiency';
- CREATE VIEW pseudogenic_region AS
- SELECT
- feature_id AS pseudogenic_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudogene' OR cvterm.name = 'decayed_exon' OR cvterm.name = 'pseudogenic_exon' OR cvterm.name = 'pseudogenic_transcript' OR cvterm.name = 'pseudogenic_rRNA' OR cvterm.name = 'pseudogenic_tRNA' OR cvterm.name = 'processed_pseudogene' OR cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'pseudogenic_region';
- CREATE VIEW encodes_alternately_spliced_transcripts AS
- SELECT
- feature_id AS encodes_alternately_spliced_transcripts_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'encodes_1_polypeptide' OR cvterm.name = 'encodes_greater_than_1_polypeptide' OR cvterm.name = 'encodes_disjoint_polypeptides' OR cvterm.name = 'encodes_overlapping_peptides' OR cvterm.name = 'encodes_different_polypeptides_different_stop' OR cvterm.name = 'encodes_overlapping_peptides_different_start' OR cvterm.name = 'encodes_overlapping_polypeptides_different_start_and_stop' OR cvterm.name = 'encodes_alternately_spliced_transcripts';
- CREATE VIEW decayed_exon AS
- SELECT
- feature_id AS decayed_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'decayed_exon';
- CREATE VIEW inversion_derived_deficiency_plus_duplication AS
- SELECT
- feature_id AS inversion_derived_deficiency_plus_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_derived_deficiency_plus_duplication';
- CREATE VIEW v_gene AS
- SELECT
- feature_id AS v_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_gene';
- CREATE VIEW post_translationally_regulated_by_protein_stability AS
- SELECT
- feature_id AS post_translationally_regulated_by_protein_stability_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'post_translationally_regulated_by_protein_stability';
- CREATE VIEW golden_path_fragment AS
- SELECT
- feature_id AS golden_path_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'golden_path_fragment';
- CREATE VIEW post_translationally_regulated_by_protein_modification AS
- SELECT
- feature_id AS post_translationally_regulated_by_protein_modification_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'post_translationally_regulated_by_protein_modification';
- CREATE VIEW j_gene AS
- SELECT
- feature_id AS j_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'J_gene';
- CREATE VIEW autoregulated AS
- SELECT
- feature_id AS autoregulated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'autoregulated';
- CREATE VIEW tiling_path AS
- SELECT
- feature_id AS tiling_path_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tiling_path';
- CREATE VIEW negatively_autoregulated AS
- SELECT
- feature_id AS negatively_autoregulated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'negatively_autoregulated';
- CREATE VIEW tiling_path_fragment AS
- SELECT
- feature_id AS tiling_path_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tiling_path_clone' OR cvterm.name = 'tiling_path_fragment';
- CREATE VIEW positively_autoregulated AS
- SELECT
- feature_id AS positively_autoregulated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'positively_autoregulated';
- CREATE VIEW contig_read AS
- SELECT
- feature_id AS contig_read_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'contig_read';
- CREATE VIEW c_gene AS
- SELECT
- feature_id AS c_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_gene';
- CREATE VIEW trans_spliced_transcript AS
- SELECT
- feature_id AS trans_spliced_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'trans_spliced_transcript';
- CREATE VIEW tiling_path_clone AS
- SELECT
- feature_id AS tiling_path_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tiling_path_clone';
- CREATE VIEW terminal_inverted_repeat AS
- SELECT
- feature_id AS terminal_inverted_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_terminal_inverted_repeat' OR cvterm.name = 'three_prime_terminal_inverted_repeat' OR cvterm.name = 'terminal_inverted_repeat';
- CREATE VIEW vertebrate_immunoglobulin_t_cell_receptor_gene_cluster AS
- SELECT
- feature_id AS vertebrate_immunoglobulin_t_cell_receptor_gene_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_J_C_cluster' OR cvterm.name = 'J_C_cluster' OR cvterm.name = 'J_cluster' OR cvterm.name = 'V_cluster' OR cvterm.name = 'V_J_cluster' OR cvterm.name = 'V_J_C_cluster' OR cvterm.name = 'C_cluster' OR cvterm.name = 'D_cluster' OR cvterm.name = 'D_J_cluster' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_gene_cluster';
- CREATE VIEW nc_primary_transcript AS
- SELECT
- feature_id AS nc_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'scRNA_primary_transcript' OR cvterm.name = 'rRNA_primary_transcript' OR cvterm.name = 'tRNA_primary_transcript' OR cvterm.name = 'snRNA_primary_transcript' OR cvterm.name = 'snoRNA_primary_transcript' OR cvterm.name = 'tmRNA_primary_transcript' OR cvterm.name = 'SRP_RNA_primary_transcript' OR cvterm.name = 'miRNA_primary_transcript' OR cvterm.name = 'rRNA_small_subunit_primary_transcript' OR cvterm.name = 'rRNA_large_subunit_primary_transcript' OR cvterm.name = 'alanine_tRNA_primary_transcript' OR cvterm.name = 'arginine_tRNA_primary_transcript' OR cvterm.name = 'asparagine_tRNA_primary_transcript' OR cvterm.name = 'aspartic_acid_tRNA_primary_transcript' OR cvterm.name = 'cysteine_tRNA_primary_transcript' OR cvterm.name = 'glutamic_acid_tRNA_primary_transcript' OR cvterm.name = 'glutamine_tRNA_primary_transcript' OR cvterm.name = 'glycine_tRNA_primary_transcript' OR cvterm.name = 'histidine_tRNA_primary_transcript' OR cvterm.name = 'isoleucine_tRNA_primary_transcript' OR cvterm.name = 'leucine_tRNA_primary_transcript' OR cvterm.name = 'lysine_tRNA_primary_transcript' OR cvterm.name = 'methionine_tRNA_primary_transcript' OR cvterm.name = 'phenylalanine_tRNA_primary_transcript' OR cvterm.name = 'proline_tRNA_primary_transcript' OR cvterm.name = 'serine_tRNA_primary_transcript' OR cvterm.name = 'threonine_tRNA_primary_transcript' OR cvterm.name = 'tryptophan_tRNA_primary_transcript' OR cvterm.name = 'tyrosine_tRNA_primary_transcript' OR cvterm.name = 'valine_tRNA_primary_transcript' OR cvterm.name = 'pyrrolysine_tRNA_primary_transcript' OR cvterm.name = 'selenocysteine_tRNA_primary_transcript' OR cvterm.name = 'methylation_guide_snoRNA_primary_transcript' OR cvterm.name = 'rRNA_cleavage_snoRNA_primary_transcript' OR cvterm.name = 'C_D_box_snoRNA_primary_transcript' OR cvterm.name = 'H_ACA_box_snoRNA_primary_transcript' OR cvterm.name = 'U14_snoRNA_primary_transcript' OR cvterm.name = 'stRNA_primary_transcript' OR cvterm.name = 'nc_primary_transcript';
- CREATE VIEW three_prime_coding_exon_noncoding_region AS
- SELECT
- feature_id AS three_prime_coding_exon_noncoding_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_coding_exon_noncoding_region';
- CREATE VIEW dj_j_cluster AS
- SELECT
- feature_id AS dj_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DJ_J_cluster';
- CREATE VIEW five_prime_coding_exon_noncoding_region AS
- SELECT
- feature_id AS five_prime_coding_exon_noncoding_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_coding_exon_noncoding_region';
- CREATE VIEW vdj_j_c_cluster AS
- SELECT
- feature_id AS vdj_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VDJ_J_C_cluster';
- CREATE VIEW vdj_j_cluster AS
- SELECT
- feature_id AS vdj_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VDJ_J_cluster';
- CREATE VIEW vj_c_cluster AS
- SELECT
- feature_id AS vj_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VJ_C_cluster';
- CREATE VIEW vj_j_c_cluster AS
- SELECT
- feature_id AS vj_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VJ_J_C_cluster';
- CREATE VIEW vj_j_cluster AS
- SELECT
- feature_id AS vj_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VJ_J_cluster';
- CREATE VIEW d_gene_recombination_feature AS
- SELECT
- feature_id AS d_gene_recombination_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'D_gene_recombination_feature';
- CREATE VIEW three_prime_d_heptamer AS
- SELECT
- feature_id AS three_prime_d_heptamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_D_heptamer';
- CREATE VIEW three_prime_d_nonamer AS
- SELECT
- feature_id AS three_prime_d_nonamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_D_nonamer';
- CREATE VIEW three_prime_d_spacer AS
- SELECT
- feature_id AS three_prime_d_spacer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_D_spacer';
- CREATE VIEW five_prime_d_heptamer AS
- SELECT
- feature_id AS five_prime_d_heptamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_D_heptamer';
- CREATE VIEW five_prime_d_nonamer AS
- SELECT
- feature_id AS five_prime_d_nonamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_D_nonamer';
- CREATE VIEW five_prime_d_spacer AS
- SELECT
- feature_id AS five_prime_d_spacer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_D_spacer';
- CREATE VIEW virtual_sequence AS
- SELECT
- feature_id AS virtual_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'virtual_sequence';
- CREATE VIEW hoogsteen_base_pair AS
- SELECT
- feature_id AS hoogsteen_base_pair_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'Hoogsteen_base_pair';
- CREATE VIEW reverse_hoogsteen_base_pair AS
- SELECT
- feature_id AS reverse_hoogsteen_base_pair_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'reverse_Hoogsteen_base_pair';
- CREATE VIEW d_dj_c_cluster AS
- SELECT
- feature_id AS d_dj_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_DJ_C_cluster';
- CREATE VIEW d_dj_cluster AS
- SELECT
- feature_id AS d_dj_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_DJ_cluster';
- CREATE VIEW d_dj_j_c_cluster AS
- SELECT
- feature_id AS d_dj_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_DJ_J_C_cluster';
- CREATE VIEW pseudogenic_exon AS
- SELECT
- feature_id AS pseudogenic_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudogenic_exon';
- CREATE VIEW d_dj_j_cluster AS
- SELECT
- feature_id AS d_dj_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_DJ_J_cluster';
- CREATE VIEW d_j_c_cluster AS
- SELECT
- feature_id AS d_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_J_C_cluster';
- CREATE VIEW vd_gene AS
- SELECT
- feature_id AS vd_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VD_gene';
- CREATE VIEW j_c_cluster AS
- SELECT
- feature_id AS j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'J_C_cluster';
- CREATE VIEW inversion_derived_deficiency_plus_aneuploid AS
- SELECT
- feature_id AS inversion_derived_deficiency_plus_aneuploid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_derived_deficiency_plus_aneuploid';
- CREATE VIEW j_cluster AS
- SELECT
- feature_id AS j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'J_cluster';
- CREATE VIEW j_nonamer AS
- SELECT
- feature_id AS j_nonamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'J_nonamer';
- CREATE VIEW j_heptamer AS
- SELECT
- feature_id AS j_heptamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'J_heptamer';
- CREATE VIEW pseudogenic_transcript AS
- SELECT
- feature_id AS pseudogenic_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudogenic_transcript';
- CREATE VIEW j_spacer AS
- SELECT
- feature_id AS j_spacer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'J_spacer';
- CREATE VIEW v_dj_cluster AS
- SELECT
- feature_id AS v_dj_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_DJ_cluster';
- CREATE VIEW v_dj_j_cluster AS
- SELECT
- feature_id AS v_dj_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_DJ_J_cluster';
- CREATE VIEW v_vdj_c_cluster AS
- SELECT
- feature_id AS v_vdj_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_VDJ_C_cluster';
- CREATE VIEW v_vdj_cluster AS
- SELECT
- feature_id AS v_vdj_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_VDJ_cluster';
- CREATE VIEW v_vdj_j_cluster AS
- SELECT
- feature_id AS v_vdj_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_VDJ_J_cluster';
- CREATE VIEW v_vj_c_cluster AS
- SELECT
- feature_id AS v_vj_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_VJ_C_cluster';
- CREATE VIEW v_vj_cluster AS
- SELECT
- feature_id AS v_vj_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_VJ_cluster';
- CREATE VIEW v_vj_j_cluster AS
- SELECT
- feature_id AS v_vj_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_VJ_J_cluster';
- CREATE VIEW v_cluster AS
- SELECT
- feature_id AS v_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_cluster';
- CREATE VIEW v_d_dj_c_cluster AS
- SELECT
- feature_id AS v_d_dj_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_D_DJ_C_cluster';
- CREATE VIEW v_d_dj_cluster AS
- SELECT
- feature_id AS v_d_dj_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_D_DJ_cluster';
- CREATE VIEW v_d_dj_j_c_cluster AS
- SELECT
- feature_id AS v_d_dj_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_D_DJ_J_C_cluster';
- CREATE VIEW v_d_dj_j_cluster AS
- SELECT
- feature_id AS v_d_dj_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_D_DJ_J_cluster';
- CREATE VIEW v_d_j_c_cluster AS
- SELECT
- feature_id AS v_d_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_D_J_C_cluster';
- CREATE VIEW v_d_j_cluster AS
- SELECT
- feature_id AS v_d_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_D_J_cluster';
- CREATE VIEW v_heptamer AS
- SELECT
- feature_id AS v_heptamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_heptamer';
- CREATE VIEW v_j_cluster AS
- SELECT
- feature_id AS v_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_J_cluster';
- CREATE VIEW v_j_c_cluster AS
- SELECT
- feature_id AS v_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_J_C_cluster';
- CREATE VIEW v_nonamer AS
- SELECT
- feature_id AS v_nonamer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_nonamer';
- CREATE VIEW v_spacer AS
- SELECT
- feature_id AS v_spacer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_spacer';
- CREATE VIEW v_gene_recombination_feature AS
- SELECT
- feature_id AS v_gene_recombination_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_gene_recombination_feature';
- CREATE VIEW dj_c_cluster AS
- SELECT
- feature_id AS dj_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DJ_C_cluster';
- CREATE VIEW dj_j_c_cluster AS
- SELECT
- feature_id AS dj_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DJ_J_C_cluster';
- CREATE VIEW vdj_c_cluster AS
- SELECT
- feature_id AS vdj_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VDJ_C_cluster';
- CREATE VIEW v_dj_c_cluster AS
- SELECT
- feature_id AS v_dj_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_DJ_C_cluster';
- CREATE VIEW helitron AS
- SELECT
- feature_id AS helitron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'helitron';
- CREATE VIEW recoding_pseudoknot AS
- SELECT
- feature_id AS recoding_pseudoknot_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recoding_pseudoknot';
- CREATE VIEW designed_sequence AS
- SELECT
- feature_id AS designed_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'designed_sequence';
- CREATE VIEW inversion_derived_bipartite_duplication AS
- SELECT
- feature_id AS inversion_derived_bipartite_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_derived_bipartite_duplication';
- CREATE VIEW gene_with_edited_transcript AS
- SELECT
- feature_id AS gene_with_edited_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_edited_transcript';
- CREATE VIEW inversion_derived_duplication_plus_aneuploid AS
- SELECT
- feature_id AS inversion_derived_duplication_plus_aneuploid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_derived_duplication_plus_aneuploid';
- CREATE VIEW aneuploid_chromosome AS
- SELECT
- feature_id AS aneuploid_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_derived_aneuploid_chromosome' OR cvterm.name = 'chromosomal_deletion' OR cvterm.name = 'chromosomal_duplication' OR cvterm.name = 'inversion_derived_bipartite_deficiency' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_aneuploid' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'interchromosomal_duplication' OR cvterm.name = 'intrachromosomal_duplication' OR cvterm.name = 'free_duplication' OR cvterm.name = 'insertional_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_bipartite_duplication' OR cvterm.name = 'inversion_derived_duplication_plus_aneuploid' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'free_ring_duplication' OR cvterm.name = 'uninverted_insertional_duplication' OR cvterm.name = 'inverted_insertional_duplication' OR cvterm.name = 'unoriented_insertional_duplication' OR cvterm.name = 'aneuploid_chromosome';
- CREATE VIEW polya_signal_sequence AS
- SELECT
- feature_id AS polya_signal_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polyA_signal_sequence';
- CREATE VIEW shine_dalgarno_sequence AS
- SELECT
- feature_id AS shine_dalgarno_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'Shine_Dalgarno_sequence';
- CREATE VIEW polya_site AS
- SELECT
- feature_id AS polya_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polyA_site';
- CREATE VIEW five_prime_clip AS
- SELECT
- feature_id AS five_prime_clip_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_clip';
- CREATE VIEW five_prime_d_recombination_signal_sequence AS
- SELECT
- feature_id AS five_prime_d_recombination_signal_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_D_recombination_signal_sequence';
- CREATE VIEW three_prime_clip AS
- SELECT
- feature_id AS three_prime_clip_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_clip';
- CREATE VIEW c_cluster AS
- SELECT
- feature_id AS c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_cluster';
- CREATE VIEW d_cluster AS
- SELECT
- feature_id AS d_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_cluster';
- CREATE VIEW d_j_cluster AS
- SELECT
- feature_id AS d_j_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'D_J_cluster';
- CREATE VIEW heptamer_of_recombination_feature_of_vertebrate_im_sys_gene AS
- SELECT
- feature_id AS heptamer_of_recombination_feature_of_vertebrate_im_sys_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene';
- CREATE VIEW nonamer_of_recombination_feature_of_vertebrate_im_sys_gene AS
- SELECT
- feature_id AS nonamer_of_recombination_feature_of_vertebrate_im_sys_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene';
- CREATE VIEW vertebrate_immune_system_gene_recombination_spacer AS
- SELECT
- feature_id AS vertebrate_immune_system_gene_recombination_spacer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_D_spacer' OR cvterm.name = 'five_prime_D_spacer' OR cvterm.name = 'J_spacer' OR cvterm.name = 'V_spacer' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_spacer';
- CREATE VIEW v_dj_j_c_cluster AS
- SELECT
- feature_id AS v_dj_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_DJ_J_C_cluster';
- CREATE VIEW v_vdj_j_c_cluster AS
- SELECT
- feature_id AS v_vdj_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_VDJ_J_C_cluster';
- CREATE VIEW v_vj_j_c_cluster AS
- SELECT
- feature_id AS v_vj_j_c_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'V_VJ_J_C_cluster';
- CREATE VIEW inversion_derived_aneuploid_chromosome AS
- SELECT
- feature_id AS inversion_derived_aneuploid_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_derived_aneuploid_chromosome';
- CREATE VIEW bidirectional_promoter AS
- SELECT
- feature_id AS bidirectional_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bidirectional_promoter';
- CREATE VIEW retrotransposed AS
- SELECT
- feature_id AS retrotransposed_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'retrotransposed';
- CREATE VIEW three_prime_d_recombination_signal_sequence AS
- SELECT
- feature_id AS three_prime_d_recombination_signal_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_D_recombination_signal_sequence';
- CREATE VIEW mirna_encoding AS
- SELECT
- feature_id AS mirna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA_encoding';
- CREATE VIEW dj_gene AS
- SELECT
- feature_id AS dj_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DJ_gene';
- CREATE VIEW rrna_encoding AS
- SELECT
- feature_id AS rrna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_encoding';
- CREATE VIEW vdj_gene AS
- SELECT
- feature_id AS vdj_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VDJ_gene';
- CREATE VIEW scrna_encoding AS
- SELECT
- feature_id AS scrna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'scRNA_encoding';
- CREATE VIEW vj_gene AS
- SELECT
- feature_id AS vj_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VJ_gene';
- CREATE VIEW centromere AS
- SELECT
- feature_id AS centromere_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'centromere';
- CREATE VIEW snorna_encoding AS
- SELECT
- feature_id AS snorna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_D_box_snoRNA_encoding' OR cvterm.name = 'H_ACA_box_snoRNA_encoding' OR cvterm.name = 'snoRNA_encoding';
- CREATE VIEW edited_transcript_feature AS
- SELECT
- feature_id AS edited_transcript_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pre_edited_region' OR cvterm.name = 'editing_block' OR cvterm.name = 'editing_domain' OR cvterm.name = 'unedited_region' OR cvterm.name = 'edited_transcript_feature';
- CREATE VIEW methylation_guide_snorna_primary_transcript AS
- SELECT
- feature_id AS methylation_guide_snorna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylation_guide_snoRNA_primary_transcript';
- CREATE VIEW cap AS
- SELECT
- feature_id AS cap_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cap';
- CREATE VIEW rrna_cleavage_snorna_primary_transcript AS
- SELECT
- feature_id AS rrna_cleavage_snorna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_cleavage_snoRNA_primary_transcript';
- CREATE VIEW pre_edited_region AS
- SELECT
- feature_id AS pre_edited_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pre_edited_region';
- CREATE VIEW tmrna AS
- SELECT
- feature_id AS tmrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tmRNA';
- CREATE VIEW c_d_box_snorna_encoding AS
- SELECT
- feature_id AS c_d_box_snorna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_D_box_snoRNA_encoding';
- CREATE VIEW tmrna_primary_transcript AS
- SELECT
- feature_id AS tmrna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tmRNA_primary_transcript';
- CREATE VIEW group_i_intron AS
- SELECT
- feature_id AS group_i_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'group_I_intron';
- CREATE VIEW autocatalytically_spliced_intron AS
- SELECT
- feature_id AS autocatalytically_spliced_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'group_I_intron' OR cvterm.name = 'group_II_intron' OR cvterm.name = 'group_III_intron' OR cvterm.name = 'group_IIA_intron' OR cvterm.name = 'group_IIB_intron' OR cvterm.name = 'autocatalytically_spliced_intron';
- CREATE VIEW srp_rna_primary_transcript AS
- SELECT
- feature_id AS srp_rna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SRP_RNA_primary_transcript';
- CREATE VIEW srp_rna AS
- SELECT
- feature_id AS srp_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SRP_RNA';
- CREATE VIEW pseudoknot AS
- SELECT
- feature_id AS pseudoknot_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recoding_pseudoknot' OR cvterm.name = 'H_pseudoknot' OR cvterm.name = 'pseudoknot';
- CREATE VIEW h_pseudoknot AS
- SELECT
- feature_id AS h_pseudoknot_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H_pseudoknot';
- CREATE VIEW c_d_box_snorna AS
- SELECT
- feature_id AS c_d_box_snorna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U14_snoRNA' OR cvterm.name = 'U3_snoRNA' OR cvterm.name = 'methylation_guide_snoRNA' OR cvterm.name = 'C_D_box_snoRNA';
- CREATE VIEW h_aca_box_snorna AS
- SELECT
- feature_id AS h_aca_box_snorna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudouridylation_guide_snoRNA' OR cvterm.name = 'H_ACA_box_snoRNA';
- CREATE VIEW c_d_box_snorna_primary_transcript AS
- SELECT
- feature_id AS c_d_box_snorna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_D_box_snoRNA_primary_transcript';
- CREATE VIEW h_aca_box_snorna_primary_transcript AS
- SELECT
- feature_id AS h_aca_box_snorna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H_ACA_box_snoRNA_primary_transcript';
- CREATE VIEW guide_rna AS
- SELECT
- feature_id AS guide_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'guide_RNA';
- CREATE VIEW group_ii_intron AS
- SELECT
- feature_id AS group_ii_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'group_IIA_intron' OR cvterm.name = 'group_IIB_intron' OR cvterm.name = 'group_II_intron';
- CREATE VIEW editing_block AS
- SELECT
- feature_id AS editing_block_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'editing_block';
- CREATE VIEW intergenic_region AS
- SELECT
- feature_id AS intergenic_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intergenic_region';
- CREATE VIEW editing_domain AS
- SELECT
- feature_id AS editing_domain_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'editing_domain';
- CREATE VIEW unedited_region AS
- SELECT
- feature_id AS unedited_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unedited_region';
- CREATE VIEW h_aca_box_snorna_encoding AS
- SELECT
- feature_id AS h_aca_box_snorna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H_ACA_box_snoRNA_encoding';
- CREATE VIEW oligo_u_tail AS
- SELECT
- feature_id AS oligo_u_tail_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'oligo_U_tail';
- CREATE VIEW polya_sequence AS
- SELECT
- feature_id AS polya_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polyA_sequence';
- CREATE VIEW branch_site AS
- SELECT
- feature_id AS branch_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'branch_site';
- CREATE VIEW polypyrimidine_tract AS
- SELECT
- feature_id AS polypyrimidine_tract_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypyrimidine_tract';
- CREATE VIEW bacterial_rnapol_promoter AS
- SELECT
- feature_id AS bacterial_rnapol_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bacterial_RNApol_promoter';
- CREATE VIEW bacterial_terminator AS
- SELECT
- feature_id AS bacterial_terminator_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'bacterial_terminator';
- CREATE VIEW terminator_of_type_2_rnapol_iii_promoter AS
- SELECT
- feature_id AS terminator_of_type_2_rnapol_iii_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'terminator_of_type_2_RNApol_III_promoter';
- CREATE VIEW transcription_end_site AS
- SELECT
- feature_id AS transcription_end_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcription_end_site';
- CREATE VIEW rnapol_iii_promoter_type_1 AS
- SELECT
- feature_id AS rnapol_iii_promoter_type_1_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNApol_III_promoter_type_1';
- CREATE VIEW rnapol_iii_promoter_type_2 AS
- SELECT
- feature_id AS rnapol_iii_promoter_type_2_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNApol_III_promoter_type_2';
- CREATE VIEW a_box AS
- SELECT
- feature_id AS a_box_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'A_box';
- CREATE VIEW b_box AS
- SELECT
- feature_id AS b_box_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'B_box';
- CREATE VIEW rnapol_iii_promoter_type_3 AS
- SELECT
- feature_id AS rnapol_iii_promoter_type_3_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNApol_III_promoter_type_3';
- CREATE VIEW c_box AS
- SELECT
- feature_id AS c_box_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_box';
- CREATE VIEW snrna_encoding AS
- SELECT
- feature_id AS snrna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'snRNA_encoding';
- CREATE VIEW telomere AS
- SELECT
- feature_id AS telomere_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'telomere';
- CREATE VIEW silencer AS
- SELECT
- feature_id AS silencer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silencer';
- CREATE VIEW chromosomal_regulatory_element AS
- SELECT
- feature_id AS chromosomal_regulatory_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'matrix_attachment_site' OR cvterm.name = 'chromosomal_regulatory_element';
- CREATE VIEW insulator AS
- SELECT
- feature_id AS insulator_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'insulator';
- CREATE VIEW chromosomal_structural_element AS
- SELECT
- feature_id AS chromosomal_structural_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'centromere' OR cvterm.name = 'telomere' OR cvterm.name = 'chromosomal_structural_element';
- CREATE VIEW five_prime_open_reading_frame AS
- SELECT
- feature_id AS five_prime_open_reading_frame_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_open_reading_frame';
- CREATE VIEW upstream_aug_codon AS
- SELECT
- feature_id AS upstream_aug_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'upstream_AUG_codon';
- CREATE VIEW polycistronic_primary_transcript AS
- SELECT
- feature_id AS polycistronic_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'polycistronic_primary_transcript';
- CREATE VIEW monocistronic_primary_transcript AS
- SELECT
- feature_id AS monocistronic_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'monocistronic_primary_transcript';
- CREATE VIEW monocistronic_mrna AS
- SELECT
- feature_id AS monocistronic_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'monocistronic_mRNA';
- CREATE VIEW polycistronic_mrna AS
- SELECT
- feature_id AS polycistronic_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'polycistronic_mRNA';
- CREATE VIEW mini_exon_donor_rna AS
- SELECT
- feature_id AS mini_exon_donor_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mini_exon_donor_RNA';
- CREATE VIEW spliced_leader_rna AS
- SELECT
- feature_id AS spliced_leader_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'spliced_leader_RNA';
- CREATE VIEW engineered_plasmid AS
- SELECT
- feature_id AS engineered_plasmid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_plasmid';
- CREATE VIEW transcribed_spacer_region AS
- SELECT
- feature_id AS transcribed_spacer_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_transcribed_spacer_region' OR cvterm.name = 'external_transcribed_spacer_region' OR cvterm.name = 'transcribed_spacer_region';
- CREATE VIEW internal_transcribed_spacer_region AS
- SELECT
- feature_id AS internal_transcribed_spacer_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_transcribed_spacer_region';
- CREATE VIEW external_transcribed_spacer_region AS
- SELECT
- feature_id AS external_transcribed_spacer_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'external_transcribed_spacer_region';
- CREATE VIEW tetranuc_repeat_microsat AS
- SELECT
- feature_id AS tetranuc_repeat_microsat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tetranucleotide_repeat_microsatellite_feature';
- CREATE VIEW srp_rna_encoding AS
- SELECT
- feature_id AS srp_rna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SRP_RNA_encoding';
- CREATE VIEW minisatellite AS
- SELECT
- feature_id AS minisatellite_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minisatellite';
- CREATE VIEW antisense_rna AS
- SELECT
- feature_id AS antisense_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'MicF_RNA' OR cvterm.name = 'antisense_RNA';
- CREATE VIEW antisense_primary_transcript AS
- SELECT
- feature_id AS antisense_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'antisense_primary_transcript';
- CREATE VIEW sirna AS
- SELECT
- feature_id AS sirna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'siRNA';
- CREATE VIEW mirna_primary_transcript AS
- SELECT
- feature_id AS mirna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stRNA_primary_transcript' OR cvterm.name = 'miRNA_primary_transcript';
- CREATE VIEW strna_primary_transcript AS
- SELECT
- feature_id AS strna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stRNA_primary_transcript';
- CREATE VIEW strna AS
- SELECT
- feature_id AS strna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stRNA';
- CREATE VIEW small_subunit_rrna AS
- SELECT
- feature_id AS small_subunit_rrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_18S' OR cvterm.name = 'rRNA_16S' OR cvterm.name = 'small_subunit_rRNA';
- CREATE VIEW large_subunit_rrna AS
- SELECT
- feature_id AS large_subunit_rrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_5_8S' OR cvterm.name = 'rRNA_5S' OR cvterm.name = 'rRNA_28S' OR cvterm.name = 'rRNA_23S' OR cvterm.name = 'rRNA_25S' OR cvterm.name = 'rRNA_21S' OR cvterm.name = 'large_subunit_rRNA';
- CREATE VIEW rrna_5s AS
- SELECT
- feature_id AS rrna_5s_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_5S';
- CREATE VIEW rrna_28s AS
- SELECT
- feature_id AS rrna_28s_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_28S';
- CREATE VIEW maxicircle_gene AS
- SELECT
- feature_id AS maxicircle_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptogene' OR cvterm.name = 'maxicircle_gene';
- CREATE VIEW ncrna AS
- SELECT
- feature_id AS ncrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'scRNA' OR cvterm.name = 'rRNA' OR cvterm.name = 'tRNA' OR cvterm.name = 'snRNA' OR cvterm.name = 'snoRNA' OR cvterm.name = 'small_regulatory_ncRNA' OR cvterm.name = 'RNase_MRP_RNA' OR cvterm.name = 'RNase_P_RNA' OR cvterm.name = 'telomerase_RNA' OR cvterm.name = 'vault_RNA' OR cvterm.name = 'Y_RNA' OR cvterm.name = 'rasiRNA' OR cvterm.name = 'SRP_RNA' OR cvterm.name = 'guide_RNA' OR cvterm.name = 'antisense_RNA' OR cvterm.name = 'siRNA' OR cvterm.name = 'stRNA' OR cvterm.name = 'class_II_RNA' OR cvterm.name = 'class_I_RNA' OR cvterm.name = 'piRNA' OR cvterm.name = 'lincRNA' OR cvterm.name = 'rRNA_cleavage_RNA' OR cvterm.name = 'small_subunit_rRNA' OR cvterm.name = 'large_subunit_rRNA' OR cvterm.name = 'rRNA_18S' OR cvterm.name = 'rRNA_16S' OR cvterm.name = 'rRNA_5_8S' OR cvterm.name = 'rRNA_5S' OR cvterm.name = 'rRNA_28S' OR cvterm.name = 'rRNA_23S' OR cvterm.name = 'rRNA_25S' OR cvterm.name = 'rRNA_21S' OR cvterm.name = 'alanyl_tRNA' OR cvterm.name = 'asparaginyl_tRNA' OR cvterm.name = 'aspartyl_tRNA' OR cvterm.name = 'cysteinyl_tRNA' OR cvterm.name = 'glutaminyl_tRNA' OR cvterm.name = 'glutamyl_tRNA' OR cvterm.name = 'glycyl_tRNA' OR cvterm.name = 'histidyl_tRNA' OR cvterm.name = 'isoleucyl_tRNA' OR cvterm.name = 'leucyl_tRNA' OR cvterm.name = 'lysyl_tRNA' OR cvterm.name = 'methionyl_tRNA' OR cvterm.name = 'phenylalanyl_tRNA' OR cvterm.name = 'prolyl_tRNA' OR cvterm.name = 'seryl_tRNA' OR cvterm.name = 'threonyl_tRNA' OR cvterm.name = 'tryptophanyl_tRNA' OR cvterm.name = 'tyrosyl_tRNA' OR cvterm.name = 'valyl_tRNA' OR cvterm.name = 'pyrrolysyl_tRNA' OR cvterm.name = 'arginyl_tRNA' OR cvterm.name = 'selenocysteinyl_tRNA' OR cvterm.name = 'U1_snRNA' OR cvterm.name = 'U2_snRNA' OR cvterm.name = 'U4_snRNA' OR cvterm.name = 'U4atac_snRNA' OR cvterm.name = 'U5_snRNA' OR cvterm.name = 'U6_snRNA' OR cvterm.name = 'U6atac_snRNA' OR cvterm.name = 'U11_snRNA' OR cvterm.name = 'U12_snRNA' OR cvterm.name = 'C_D_box_snoRNA' OR cvterm.name = 'H_ACA_box_snoRNA' OR cvterm.name = 'U14_snoRNA' OR cvterm.name = 'U3_snoRNA' OR cvterm.name = 'methylation_guide_snoRNA' OR cvterm.name = 'pseudouridylation_guide_snoRNA' OR cvterm.name = 'miRNA' OR cvterm.name = 'RNA_6S' OR cvterm.name = 'CsrB_RsmB_RNA' OR cvterm.name = 'DsrA_RNA' OR cvterm.name = 'OxyS_RNA' OR cvterm.name = 'RprA_RNA' OR cvterm.name = 'RRE_RNA' OR cvterm.name = 'spot_42_RNA' OR cvterm.name = 'tmRNA' OR cvterm.name = 'GcvB_RNA' OR cvterm.name = 'MicF_RNA' OR cvterm.name = 'ncRNA';
- CREATE VIEW strna_encoding AS
- SELECT
- feature_id AS strna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stRNA_encoding';
- CREATE VIEW repeat_region AS
- SELECT
- feature_id AS repeat_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'long_terminal_repeat' OR cvterm.name = 'engineered_foreign_repetitive_element' OR cvterm.name = 'inverted_repeat' OR cvterm.name = 'direct_repeat' OR cvterm.name = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'dispersed_repeat' OR cvterm.name = 'tandem_repeat' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'five_prime_LTR' OR cvterm.name = 'three_prime_LTR' OR cvterm.name = 'solo_LTR' OR cvterm.name = 'terminal_inverted_repeat' OR cvterm.name = 'five_prime_terminal_inverted_repeat' OR cvterm.name = 'three_prime_terminal_inverted_repeat' OR cvterm.name = 'target_site_duplication' OR cvterm.name = 'CRISPR' OR cvterm.name = 'satellite_DNA' OR cvterm.name = 'microsatellite' OR cvterm.name = 'minisatellite' OR cvterm.name = 'dinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'trinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'tetranucleotide_repeat_microsatellite_feature' OR cvterm.name = 'repeat_region';
- CREATE VIEW dispersed_repeat AS
- SELECT
- feature_id AS dispersed_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dispersed_repeat';
- CREATE VIEW tmrna_encoding AS
- SELECT
- feature_id AS tmrna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tmRNA_encoding';
- CREATE VIEW spliceosomal_intron AS
- SELECT
- feature_id AS spliceosomal_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U2_intron' OR cvterm.name = 'U12_intron' OR cvterm.name = 'spliceosomal_intron';
- CREATE VIEW trna_encoding AS
- SELECT
- feature_id AS trna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tRNA_encoding';
- CREATE VIEW introgressed_chromosome_region AS
- SELECT
- feature_id AS introgressed_chromosome_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'introgressed_chromosome_region';
- CREATE VIEW monocistronic_transcript AS
- SELECT
- feature_id AS monocistronic_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'monocistronic_transcript';
- CREATE VIEW mobile_intron AS
- SELECT
- feature_id AS mobile_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mobile_intron';
- CREATE VIEW insertion AS
- SELECT
- feature_id AS insertion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transgenic_insertion' OR cvterm.name = 'insertion';
- CREATE VIEW est_match AS
- SELECT
- feature_id AS est_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'EST_match';
- CREATE VIEW sequence_rearrangement_feature AS
- SELECT
- feature_id AS sequence_rearrangement_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'specific_recombination_site' OR cvterm.name = 'chromosome_breakage_sequence' OR cvterm.name = 'internal_eliminated_sequence' OR cvterm.name = 'macronucleus_destined_segment' OR cvterm.name = 'recombination_feature_of_rearranged_gene' OR cvterm.name = 'site_specific_recombination_target_region' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_feature' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_spacer' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_signal_feature' OR cvterm.name = 'D_gene' OR cvterm.name = 'V_gene' OR cvterm.name = 'J_gene' OR cvterm.name = 'C_gene' OR cvterm.name = 'D_J_C_cluster' OR cvterm.name = 'J_C_cluster' OR cvterm.name = 'J_cluster' OR cvterm.name = 'V_cluster' OR cvterm.name = 'V_J_cluster' OR cvterm.name = 'V_J_C_cluster' OR cvterm.name = 'C_cluster' OR cvterm.name = 'D_cluster' OR cvterm.name = 'D_J_cluster' OR cvterm.name = 'three_prime_D_spacer' OR cvterm.name = 'five_prime_D_spacer' OR cvterm.name = 'J_spacer' OR cvterm.name = 'V_spacer' OR cvterm.name = 'VD_gene' OR cvterm.name = 'DJ_gene' OR cvterm.name = 'VDJ_gene' OR cvterm.name = 'VJ_gene' OR cvterm.name = 'DJ_J_cluster' OR cvterm.name = 'VDJ_J_C_cluster' OR cvterm.name = 'VDJ_J_cluster' OR cvterm.name = 'VJ_C_cluster' OR cvterm.name = 'VJ_J_C_cluster' OR cvterm.name = 'VJ_J_cluster' OR cvterm.name = 'D_DJ_C_cluster' OR cvterm.name = 'D_DJ_cluster' OR cvterm.name = 'D_DJ_J_C_cluster' OR cvterm.name = 'D_DJ_J_cluster' OR cvterm.name = 'V_DJ_cluster' OR cvterm.name = 'V_DJ_J_cluster' OR cvterm.name = 'V_VDJ_C_cluster' OR cvterm.name = 'V_VDJ_cluster' OR cvterm.name = 'V_VDJ_J_cluster' OR cvterm.name = 'V_VJ_C_cluster' OR cvterm.name = 'V_VJ_cluster' OR cvterm.name = 'V_VJ_J_cluster' OR cvterm.name = 'V_D_DJ_C_cluster' OR cvterm.name = 'V_D_DJ_cluster' OR cvterm.name = 'V_D_DJ_J_C_cluster' OR cvterm.name = 'V_D_DJ_J_cluster' OR cvterm.name = 'V_D_J_C_cluster' OR cvterm.name = 'V_D_J_cluster' OR cvterm.name = 'DJ_C_cluster' OR cvterm.name = 'DJ_J_C_cluster' OR cvterm.name = 'VDJ_C_cluster' OR cvterm.name = 'V_DJ_C_cluster' OR cvterm.name = 'V_DJ_J_C_cluster' OR cvterm.name = 'V_VDJ_J_C_cluster' OR cvterm.name = 'V_VJ_J_C_cluster' OR cvterm.name = 'J_gene_recombination_feature' OR cvterm.name = 'D_gene_recombination_feature' OR cvterm.name = 'V_gene_recombination_feature' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'integration_excision_site' OR cvterm.name = 'resolution_site' OR cvterm.name = 'inversion_site' OR cvterm.name = 'inversion_site_part' OR cvterm.name = 'attI_site' OR cvterm.name = 'attP_site' OR cvterm.name = 'attB_site' OR cvterm.name = 'attL_site' OR cvterm.name = 'attR_site' OR cvterm.name = 'attC_site' OR cvterm.name = 'attCtn_site' OR cvterm.name = 'loxP_site' OR cvterm.name = 'dif_site' OR cvterm.name = 'FRT_site' OR cvterm.name = 'IRLinv_site' OR cvterm.name = 'IRRinv_site' OR cvterm.name = 'sequence_rearrangement_feature';
- CREATE VIEW chromosome_breakage_sequence AS
- SELECT
- feature_id AS chromosome_breakage_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosome_breakage_sequence';
- CREATE VIEW internal_eliminated_sequence AS
- SELECT
- feature_id AS internal_eliminated_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_eliminated_sequence';
- CREATE VIEW macronucleus_destined_segment AS
- SELECT
- feature_id AS macronucleus_destined_segment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'macronucleus_destined_segment';
- CREATE VIEW transcript AS
- SELECT
- feature_id AS transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polycistronic_transcript' OR cvterm.name = 'transcript_with_translational_frameshift' OR cvterm.name = 'primary_transcript' OR cvterm.name = 'mature_transcript' OR cvterm.name = 'transcript_bound_by_nucleic_acid' OR cvterm.name = 'transcript_bound_by_protein' OR cvterm.name = 'enzymatic_RNA' OR cvterm.name = 'trans_spliced_transcript' OR cvterm.name = 'monocistronic_transcript' OR cvterm.name = 'aberrant_processed_transcript' OR cvterm.name = 'edited_transcript' OR cvterm.name = 'alternatively_spliced_transcript' OR cvterm.name = 'dicistronic_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'protein_coding_primary_transcript' OR cvterm.name = 'nc_primary_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'mini_exon_donor_RNA' OR cvterm.name = 'antisense_primary_transcript' OR cvterm.name = 'capped_primary_transcript' OR cvterm.name = 'pre_edited_mRNA' OR cvterm.name = 'scRNA_primary_transcript' OR cvterm.name = 'rRNA_primary_transcript' OR cvterm.name = 'tRNA_primary_transcript' OR cvterm.name = 'snRNA_primary_transcript' OR cvterm.name = 'snoRNA_primary_transcript' OR cvterm.name = 'tmRNA_primary_transcript' OR cvterm.name = 'SRP_RNA_primary_transcript' OR cvterm.name = 'miRNA_primary_transcript' OR cvterm.name = 'rRNA_small_subunit_primary_transcript' OR cvterm.name = 'rRNA_large_subunit_primary_transcript' OR cvterm.name = 'alanine_tRNA_primary_transcript' OR cvterm.name = 'arginine_tRNA_primary_transcript' OR cvterm.name = 'asparagine_tRNA_primary_transcript' OR cvterm.name = 'aspartic_acid_tRNA_primary_transcript' OR cvterm.name = 'cysteine_tRNA_primary_transcript' OR cvterm.name = 'glutamic_acid_tRNA_primary_transcript' OR cvterm.name = 'glutamine_tRNA_primary_transcript' OR cvterm.name = 'glycine_tRNA_primary_transcript' OR cvterm.name = 'histidine_tRNA_primary_transcript' OR cvterm.name = 'isoleucine_tRNA_primary_transcript' OR cvterm.name = 'leucine_tRNA_primary_transcript' OR cvterm.name = 'lysine_tRNA_primary_transcript' OR cvterm.name = 'methionine_tRNA_primary_transcript' OR cvterm.name = 'phenylalanine_tRNA_primary_transcript' OR cvterm.name = 'proline_tRNA_primary_transcript' OR cvterm.name = 'serine_tRNA_primary_transcript' OR cvterm.name = 'threonine_tRNA_primary_transcript' OR cvterm.name = 'tryptophan_tRNA_primary_transcript' OR cvterm.name = 'tyrosine_tRNA_primary_transcript' OR cvterm.name = 'valine_tRNA_primary_transcript' OR cvterm.name = 'pyrrolysine_tRNA_primary_transcript' OR cvterm.name = 'selenocysteine_tRNA_primary_transcript' OR cvterm.name = 'methylation_guide_snoRNA_primary_transcript' OR cvterm.name = 'rRNA_cleavage_snoRNA_primary_transcript' OR cvterm.name = 'C_D_box_snoRNA_primary_transcript' OR cvterm.name = 'H_ACA_box_snoRNA_primary_transcript' OR cvterm.name = 'U14_snoRNA_primary_transcript' OR cvterm.name = 'stRNA_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'mRNA' OR cvterm.name = 'ncRNA' OR cvterm.name = 'mRNA_with_frameshift' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'exemplar_mRNA' OR cvterm.name = 'capped_mRNA' OR cvterm.name = 'polyadenylated_mRNA' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'recoded_mRNA' OR cvterm.name = 'mRNA_with_minus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_2_frameshift' OR cvterm.name = 'mRNA_with_minus_2_frameshift' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'mRNA_recoded_by_translational_bypass' OR cvterm.name = 'mRNA_recoded_by_codon_redefinition' OR cvterm.name = 'scRNA' OR cvterm.name = 'rRNA' OR cvterm.name = 'tRNA' OR cvterm.name = 'snRNA' OR cvterm.name = 'snoRNA' OR cvterm.name = 'small_regulatory_ncRNA' OR cvterm.name = 'RNase_MRP_RNA' OR cvterm.name = 'RNase_P_RNA' OR cvterm.name = 'telomerase_RNA' OR cvterm.name = 'vault_RNA' OR cvterm.name = 'Y_RNA' OR cvterm.name = 'rasiRNA' OR cvterm.name = 'SRP_RNA' OR cvterm.name = 'guide_RNA' OR cvterm.name = 'antisense_RNA' OR cvterm.name = 'siRNA' OR cvterm.name = 'stRNA' OR cvterm.name = 'class_II_RNA' OR cvterm.name = 'class_I_RNA' OR cvterm.name = 'piRNA' OR cvterm.name = 'lincRNA' OR cvterm.name = 'rRNA_cleavage_RNA' OR cvterm.name = 'small_subunit_rRNA' OR cvterm.name = 'large_subunit_rRNA' OR cvterm.name = 'rRNA_18S' OR cvterm.name = 'rRNA_16S' OR cvterm.name = 'rRNA_5_8S' OR cvterm.name = 'rRNA_5S' OR cvterm.name = 'rRNA_28S' OR cvterm.name = 'rRNA_23S' OR cvterm.name = 'rRNA_25S' OR cvterm.name = 'rRNA_21S' OR cvterm.name = 'alanyl_tRNA' OR cvterm.name = 'asparaginyl_tRNA' OR cvterm.name = 'aspartyl_tRNA' OR cvterm.name = 'cysteinyl_tRNA' OR cvterm.name = 'glutaminyl_tRNA' OR cvterm.name = 'glutamyl_tRNA' OR cvterm.name = 'glycyl_tRNA' OR cvterm.name = 'histidyl_tRNA' OR cvterm.name = 'isoleucyl_tRNA' OR cvterm.name = 'leucyl_tRNA' OR cvterm.name = 'lysyl_tRNA' OR cvterm.name = 'methionyl_tRNA' OR cvterm.name = 'phenylalanyl_tRNA' OR cvterm.name = 'prolyl_tRNA' OR cvterm.name = 'seryl_tRNA' OR cvterm.name = 'threonyl_tRNA' OR cvterm.name = 'tryptophanyl_tRNA' OR cvterm.name = 'tyrosyl_tRNA' OR cvterm.name = 'valyl_tRNA' OR cvterm.name = 'pyrrolysyl_tRNA' OR cvterm.name = 'arginyl_tRNA' OR cvterm.name = 'selenocysteinyl_tRNA' OR cvterm.name = 'U1_snRNA' OR cvterm.name = 'U2_snRNA' OR cvterm.name = 'U4_snRNA' OR cvterm.name = 'U4atac_snRNA' OR cvterm.name = 'U5_snRNA' OR cvterm.name = 'U6_snRNA' OR cvterm.name = 'U6atac_snRNA' OR cvterm.name = 'U11_snRNA' OR cvterm.name = 'U12_snRNA' OR cvterm.name = 'C_D_box_snoRNA' OR cvterm.name = 'H_ACA_box_snoRNA' OR cvterm.name = 'U14_snoRNA' OR cvterm.name = 'U3_snoRNA' OR cvterm.name = 'methylation_guide_snoRNA' OR cvterm.name = 'pseudouridylation_guide_snoRNA' OR cvterm.name = 'miRNA' OR cvterm.name = 'RNA_6S' OR cvterm.name = 'CsrB_RsmB_RNA' OR cvterm.name = 'DsrA_RNA' OR cvterm.name = 'OxyS_RNA' OR cvterm.name = 'RprA_RNA' OR cvterm.name = 'RRE_RNA' OR cvterm.name = 'spot_42_RNA' OR cvterm.name = 'tmRNA' OR cvterm.name = 'GcvB_RNA' OR cvterm.name = 'MicF_RNA' OR cvterm.name = 'ribozyme' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'edited_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'transcript';
- CREATE VIEW canonical_three_prime_splice_site AS
- SELECT
- feature_id AS canonical_three_prime_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'canonical_three_prime_splice_site';
- CREATE VIEW canonical_five_prime_splice_site AS
- SELECT
- feature_id AS canonical_five_prime_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'canonical_five_prime_splice_site';
- CREATE VIEW non_canonical_three_prime_splice_site AS
- SELECT
- feature_id AS non_canonical_three_prime_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_canonical_three_prime_splice_site';
- CREATE VIEW non_canonical_five_prime_splice_site AS
- SELECT
- feature_id AS non_canonical_five_prime_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_canonical_five_prime_splice_site';
- CREATE VIEW non_canonical_start_codon AS
- SELECT
- feature_id AS non_canonical_start_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'four_bp_start_codon' OR cvterm.name = 'CTG_start_codon' OR cvterm.name = 'non_canonical_start_codon';
- CREATE VIEW aberrant_processed_transcript AS
- SELECT
- feature_id AS aberrant_processed_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'aberrant_processed_transcript';
- CREATE VIEW exonic_splice_enhancer AS
- SELECT
- feature_id AS exonic_splice_enhancer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'exonic_splice_enhancer';
- CREATE VIEW nuclease_sensitive_site AS
- SELECT
- feature_id AS nuclease_sensitive_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclease_hypersensitive_site' OR cvterm.name = 'group_1_intron_homing_endonuclease_target_region' OR cvterm.name = 'DNAseI_hypersensitive_site' OR cvterm.name = 'nuclease_sensitive_site';
- CREATE VIEW dnasei_hypersensitive_site AS
- SELECT
- feature_id AS dnasei_hypersensitive_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DNAseI_hypersensitive_site';
- CREATE VIEW translocation_element AS
- SELECT
- feature_id AS translocation_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'translocation_element';
- CREATE VIEW deletion_junction AS
- SELECT
- feature_id AS deletion_junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deletion_junction';
- CREATE VIEW golden_path AS
- SELECT
- feature_id AS golden_path_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'golden_path';
- CREATE VIEW cdna_match AS
- SELECT
- feature_id AS cdna_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cDNA_match';
- CREATE VIEW gene_with_polycistronic_transcript AS
- SELECT
- feature_id AS gene_with_polycistronic_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_dicistronic_transcript' OR cvterm.name = 'gene_with_dicistronic_primary_transcript' OR cvterm.name = 'gene_with_dicistronic_mRNA' OR cvterm.name = 'gene_with_polycistronic_transcript';
- CREATE VIEW cleaved_initiator_methionine AS
- SELECT
- feature_id AS cleaved_initiator_methionine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cleaved_initiator_methionine';
- CREATE VIEW gene_with_dicistronic_transcript AS
- SELECT
- feature_id AS gene_with_dicistronic_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_dicistronic_primary_transcript' OR cvterm.name = 'gene_with_dicistronic_mRNA' OR cvterm.name = 'gene_with_dicistronic_transcript';
- CREATE VIEW gene_with_recoded_mrna AS
- SELECT
- feature_id AS gene_with_recoded_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_stop_codon_read_through' OR cvterm.name = 'gene_with_mRNA_recoded_by_translational_bypass' OR cvterm.name = 'gene_with_transcript_with_translational_frameshift' OR cvterm.name = 'gene_with_stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'gene_with_stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'gene_with_recoded_mRNA';
- CREATE VIEW snp AS
- SELECT
- feature_id AS snp_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SNP';
- CREATE VIEW reagent AS
- SELECT
- feature_id AS reagent_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'PCR_product' OR cvterm.name = 'clone' OR cvterm.name = 'rescue_region' OR cvterm.name = 'oligo' OR cvterm.name = 'clone_insert' OR cvterm.name = 'cloned_region' OR cvterm.name = 'databank_entry' OR cvterm.name = 'RAPD' OR cvterm.name = 'genomic_clone' OR cvterm.name = 'cDNA_clone' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'validated_cDNA_clone' OR cvterm.name = 'invalidated_cDNA_clone' OR cvterm.name = 'three_prime_RACE_clone' OR cvterm.name = 'chimeric_cDNA_clone' OR cvterm.name = 'genomically_contaminated_cDNA_clone' OR cvterm.name = 'polyA_primed_cDNA_clone' OR cvterm.name = 'partially_processed_cDNA_clone' OR cvterm.name = 'engineered_rescue_region' OR cvterm.name = 'aptamer' OR cvterm.name = 'probe' OR cvterm.name = 'tag' OR cvterm.name = 'ss_oligo' OR cvterm.name = 'ds_oligo' OR cvterm.name = 'DNAzyme' OR cvterm.name = 'synthetic_oligo' OR cvterm.name = 'DNA_aptamer' OR cvterm.name = 'RNA_aptamer' OR cvterm.name = 'microarray_oligo' OR cvterm.name = 'SAGE_tag' OR cvterm.name = 'STS' OR cvterm.name = 'EST' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'five_prime_EST' OR cvterm.name = 'three_prime_EST' OR cvterm.name = 'UST' OR cvterm.name = 'RST' OR cvterm.name = 'three_prime_UST' OR cvterm.name = 'five_prime_UST' OR cvterm.name = 'three_prime_RST' OR cvterm.name = 'five_prime_RST' OR cvterm.name = 'primer' OR cvterm.name = 'sequencing_primer' OR cvterm.name = 'forward_primer' OR cvterm.name = 'reverse_primer' OR cvterm.name = 'RNAi_reagent' OR cvterm.name = 'DNA_constraint_sequence' OR cvterm.name = 'morpholino_oligo' OR cvterm.name = 'PNA_oligo' OR cvterm.name = 'LNA_oligo' OR cvterm.name = 'TNA_oligo' OR cvterm.name = 'GNA_oligo' OR cvterm.name = 'R_GNA_oligo' OR cvterm.name = 'S_GNA_oligo' OR cvterm.name = 'cloned_cDNA_insert' OR cvterm.name = 'cloned_genomic_insert' OR cvterm.name = 'engineered_insert' OR cvterm.name = 'BAC_cloned_genomic_insert' OR cvterm.name = 'reagent';
- CREATE VIEW oligo AS
- SELECT
- feature_id AS oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'aptamer' OR cvterm.name = 'probe' OR cvterm.name = 'tag' OR cvterm.name = 'ss_oligo' OR cvterm.name = 'ds_oligo' OR cvterm.name = 'DNAzyme' OR cvterm.name = 'synthetic_oligo' OR cvterm.name = 'DNA_aptamer' OR cvterm.name = 'RNA_aptamer' OR cvterm.name = 'microarray_oligo' OR cvterm.name = 'SAGE_tag' OR cvterm.name = 'STS' OR cvterm.name = 'EST' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'five_prime_EST' OR cvterm.name = 'three_prime_EST' OR cvterm.name = 'UST' OR cvterm.name = 'RST' OR cvterm.name = 'three_prime_UST' OR cvterm.name = 'five_prime_UST' OR cvterm.name = 'three_prime_RST' OR cvterm.name = 'five_prime_RST' OR cvterm.name = 'primer' OR cvterm.name = 'sequencing_primer' OR cvterm.name = 'forward_primer' OR cvterm.name = 'reverse_primer' OR cvterm.name = 'RNAi_reagent' OR cvterm.name = 'DNA_constraint_sequence' OR cvterm.name = 'morpholino_oligo' OR cvterm.name = 'PNA_oligo' OR cvterm.name = 'LNA_oligo' OR cvterm.name = 'TNA_oligo' OR cvterm.name = 'GNA_oligo' OR cvterm.name = 'R_GNA_oligo' OR cvterm.name = 'S_GNA_oligo' OR cvterm.name = 'oligo';
- CREATE VIEW gene_with_stop_codon_read_through AS
- SELECT
- feature_id AS gene_with_stop_codon_read_through_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'gene_with_stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'gene_with_stop_codon_read_through';
- CREATE VIEW gene_with_stop_codon_redefined_as_pyrrolysine AS
- SELECT
- feature_id AS gene_with_stop_codon_redefined_as_pyrrolysine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_stop_codon_redefined_as_pyrrolysine';
- CREATE VIEW junction AS
- SELECT
- feature_id AS junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'clone_insert_end' OR cvterm.name = 'clone_insert_start' OR cvterm.name = 'exon_junction' OR cvterm.name = 'insertion_site' OR cvterm.name = 'deletion_junction' OR cvterm.name = 'chromosome_breakpoint' OR cvterm.name = 'splice_junction' OR cvterm.name = 'polyA_junction' OR cvterm.name = 'trans_splice_junction' OR cvterm.name = 'transposable_element_insertion_site' OR cvterm.name = 'inversion_breakpoint' OR cvterm.name = 'translocation_breakpoint' OR cvterm.name = 'insertion_breakpoint' OR cvterm.name = 'deletion_breakpoint' OR cvterm.name = 'junction';
- CREATE VIEW remark AS
- SELECT
- feature_id AS remark_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_difference' OR cvterm.name = 'experimental_result_region' OR cvterm.name = 'polypeptide_sequencing_information' OR cvterm.name = 'possible_base_call_error' OR cvterm.name = 'possible_assembly_error' OR cvterm.name = 'overlapping_feature_set' OR cvterm.name = 'no_output' OR cvterm.name = 'overlapping_EST_set' OR cvterm.name = 'non_adjacent_residues' OR cvterm.name = 'non_terminal_residue' OR cvterm.name = 'sequence_conflict' OR cvterm.name = 'sequence_uncertainty' OR cvterm.name = 'remark';
- CREATE VIEW possible_base_call_error AS
- SELECT
- feature_id AS possible_base_call_error_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'possible_base_call_error';
- CREATE VIEW possible_assembly_error AS
- SELECT
- feature_id AS possible_assembly_error_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'possible_assembly_error';
- CREATE VIEW experimental_result_region AS
- SELECT
- feature_id AS experimental_result_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'overlapping_feature_set' OR cvterm.name = 'no_output' OR cvterm.name = 'overlapping_EST_set' OR cvterm.name = 'experimental_result_region';
- CREATE VIEW gene AS
- SELECT
- feature_id AS gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclear_gene' OR cvterm.name = 'mt_gene' OR cvterm.name = 'plastid_gene' OR cvterm.name = 'nucleomorph_gene' OR cvterm.name = 'plasmid_gene' OR cvterm.name = 'proviral_gene' OR cvterm.name = 'transposable_element_gene' OR cvterm.name = 'silenced_gene' OR cvterm.name = 'engineered_gene' OR cvterm.name = 'foreign_gene' OR cvterm.name = 'fusion_gene' OR cvterm.name = 'recombinationally_rearranged_gene' OR cvterm.name = 'gene_with_trans_spliced_transcript' OR cvterm.name = 'gene_with_polycistronic_transcript' OR cvterm.name = 'rescue_gene' OR cvterm.name = 'post_translationally_regulated_gene' OR cvterm.name = 'negatively_autoregulated_gene' OR cvterm.name = 'positively_autoregulated_gene' OR cvterm.name = 'translationally_regulated_gene' OR cvterm.name = 'epigenetically_modified_gene' OR cvterm.name = 'transgene' OR cvterm.name = 'predicted_gene' OR cvterm.name = 'protein_coding_gene' OR cvterm.name = 'retrogene' OR cvterm.name = 'ncRNA_gene' OR cvterm.name = 'cryptic_gene' OR cvterm.name = 'gene_cassette' OR cvterm.name = 'kinetoplast_gene' OR cvterm.name = 'maxicircle_gene' OR cvterm.name = 'minicircle_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'apicoplast_gene' OR cvterm.name = 'ct_gene' OR cvterm.name = 'chromoplast_gene' OR cvterm.name = 'cyanelle_gene' OR cvterm.name = 'leucoplast_gene' OR cvterm.name = 'proplastid_gene' OR cvterm.name = 'endogenous_retroviral_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'gene_silenced_by_DNA_modification' OR cvterm.name = 'gene_silenced_by_RNA_interference' OR cvterm.name = 'gene_silenced_by_histone_modification' OR cvterm.name = 'gene_silenced_by_DNA_methylation' OR cvterm.name = 'gene_silenced_by_histone_methylation' OR cvterm.name = 'gene_silenced_by_histone_deacetylation' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'recombinationally_inverted_gene' OR cvterm.name = 'recombinationally_rearranged_vertebrate_immune_system_gene' OR cvterm.name = 'gene_with_dicistronic_transcript' OR cvterm.name = 'gene_with_dicistronic_primary_transcript' OR cvterm.name = 'gene_with_dicistronic_mRNA' OR cvterm.name = 'wild_type_rescue_gene' OR cvterm.name = 'gene_rearranged_at_DNA_level' OR cvterm.name = 'maternally_imprinted_gene' OR cvterm.name = 'paternally_imprinted_gene' OR cvterm.name = 'allelically_excluded_gene' OR cvterm.name = 'floxed_gene' OR cvterm.name = 'gene_with_polyadenylated_mRNA' OR cvterm.name = 'gene_with_mRNA_with_frameshift' OR cvterm.name = 'gene_with_edited_transcript' OR cvterm.name = 'gene_with_recoded_mRNA' OR cvterm.name = 'gene_with_stop_codon_read_through' OR cvterm.name = 'gene_with_mRNA_recoded_by_translational_bypass' OR cvterm.name = 'gene_with_transcript_with_translational_frameshift' OR cvterm.name = 'gene_with_stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'gene_with_stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'gRNA_gene' OR cvterm.name = 'miRNA_gene' OR cvterm.name = 'scRNA_gene' OR cvterm.name = 'snoRNA_gene' OR cvterm.name = 'snRNA_gene' OR cvterm.name = 'SRP_RNA_gene' OR cvterm.name = 'stRNA_gene' OR cvterm.name = 'tmRNA_gene' OR cvterm.name = 'tRNA_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'gene';
- CREATE VIEW tandem_repeat AS
- SELECT
- feature_id AS tandem_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'satellite_DNA' OR cvterm.name = 'microsatellite' OR cvterm.name = 'minisatellite' OR cvterm.name = 'dinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'trinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'tetranucleotide_repeat_microsatellite_feature' OR cvterm.name = 'tandem_repeat';
- CREATE VIEW trans_splice_acceptor_site AS
- SELECT
- feature_id AS trans_splice_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL1_acceptor_site' OR cvterm.name = 'SL2_acceptor_site' OR cvterm.name = 'trans_splice_acceptor_site';
- CREATE VIEW trans_splice_donor_site AS
- SELECT
- feature_id AS trans_splice_donor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'trans_splice_donor_site';
- CREATE VIEW sl1_acceptor_site AS
- SELECT
- feature_id AS sl1_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL1_acceptor_site';
- CREATE VIEW sl2_acceptor_site AS
- SELECT
- feature_id AS sl2_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL2_acceptor_site';
- CREATE VIEW gene_with_stop_codon_redefined_as_selenocysteine AS
- SELECT
- feature_id AS gene_with_stop_codon_redefined_as_selenocysteine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_stop_codon_redefined_as_selenocysteine';
- CREATE VIEW gene_with_mrna_recoded_by_translational_bypass AS
- SELECT
- feature_id AS gene_with_mrna_recoded_by_translational_bypass_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_mRNA_recoded_by_translational_bypass';
- CREATE VIEW gene_with_transcript_with_translational_frameshift AS
- SELECT
- feature_id AS gene_with_transcript_with_translational_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_transcript_with_translational_frameshift';
- CREATE VIEW dna_motif AS
- SELECT
- feature_id AS dna_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'PSE_motif' OR cvterm.name = 'GC_rich_promoter_region' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DMv4_motif' OR cvterm.name = 'DMv5_motif' OR cvterm.name = 'DMv3_motif' OR cvterm.name = 'DMv2_motif' OR cvterm.name = 'DPE1_motif' OR cvterm.name = 'DMv1_motif' OR cvterm.name = 'NDM2_motif' OR cvterm.name = 'NDM3_motif' OR cvterm.name = 'DNA_motif';
- CREATE VIEW nucleotide_motif AS
- SELECT
- feature_id AS nucleotide_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DNA_motif' OR cvterm.name = 'RNA_motif' OR cvterm.name = 'PSE_motif' OR cvterm.name = 'GC_rich_promoter_region' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DMv4_motif' OR cvterm.name = 'DMv5_motif' OR cvterm.name = 'DMv3_motif' OR cvterm.name = 'DMv2_motif' OR cvterm.name = 'DPE1_motif' OR cvterm.name = 'DMv1_motif' OR cvterm.name = 'NDM2_motif' OR cvterm.name = 'NDM3_motif' OR cvterm.name = 'RNA_internal_loop' OR cvterm.name = 'A_minor_RNA_motif' OR cvterm.name = 'RNA_junction_loop' OR cvterm.name = 'hammerhead_ribozyme' OR cvterm.name = 'asymmetric_RNA_internal_loop' OR cvterm.name = 'symmetric_RNA_internal_loop' OR cvterm.name = 'K_turn_RNA_motif' OR cvterm.name = 'sarcin_like_RNA_motif' OR cvterm.name = 'RNA_hook_turn' OR cvterm.name = 'nucleotide_motif';
- CREATE VIEW rna_motif AS
- SELECT
- feature_id AS rna_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNA_internal_loop' OR cvterm.name = 'A_minor_RNA_motif' OR cvterm.name = 'RNA_junction_loop' OR cvterm.name = 'hammerhead_ribozyme' OR cvterm.name = 'asymmetric_RNA_internal_loop' OR cvterm.name = 'symmetric_RNA_internal_loop' OR cvterm.name = 'K_turn_RNA_motif' OR cvterm.name = 'sarcin_like_RNA_motif' OR cvterm.name = 'RNA_hook_turn' OR cvterm.name = 'RNA_motif';
- CREATE VIEW dicistronic_mrna AS
- SELECT
- feature_id AS dicistronic_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dicistronic_mRNA';
- CREATE VIEW reading_frame AS
- SELECT
- feature_id AS reading_frame_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ORF' OR cvterm.name = 'blocked_reading_frame' OR cvterm.name = 'mini_gene' OR cvterm.name = 'rescue_mini_gene' OR cvterm.name = 'reading_frame';
- CREATE VIEW blocked_reading_frame AS
- SELECT
- feature_id AS blocked_reading_frame_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'blocked_reading_frame';
- CREATE VIEW ultracontig AS
- SELECT
- feature_id AS ultracontig_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ultracontig';
- CREATE VIEW foreign_transposable_element AS
- SELECT
- feature_id AS foreign_transposable_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'foreign_transposable_element';
- CREATE VIEW gene_with_dicistronic_primary_transcript AS
- SELECT
- feature_id AS gene_with_dicistronic_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_dicistronic_primary_transcript';
- CREATE VIEW gene_with_dicistronic_mrna AS
- SELECT
- feature_id AS gene_with_dicistronic_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_dicistronic_mRNA';
- CREATE VIEW idna AS
- SELECT
- feature_id AS idna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'iDNA';
- CREATE VIEW orit AS
- SELECT
- feature_id AS orit_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'oriT';
- CREATE VIEW transit_peptide AS
- SELECT
- feature_id AS transit_peptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transit_peptide';
- CREATE VIEW repeat_unit AS
- SELECT
- feature_id AS repeat_unit_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'repeat_unit';
- CREATE VIEW crm AS
- SELECT
- feature_id AS crm_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'locus_control_region' OR cvterm.name = 'enhancer' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'CRM';
- CREATE VIEW intein AS
- SELECT
- feature_id AS intein_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intein';
- CREATE VIEW intein_containing AS
- SELECT
- feature_id AS intein_containing_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intein_containing';
- CREATE VIEW gap AS
- SELECT
- feature_id AS gap_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gap';
- CREATE VIEW fragmentary AS
- SELECT
- feature_id AS fragmentary_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'fragmentary';
- CREATE VIEW predicted AS
- SELECT
- feature_id AS predicted_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'supported_by_sequence_similarity' OR cvterm.name = 'orphan' OR cvterm.name = 'predicted_by_ab_initio_computation' OR cvterm.name = 'supported_by_domain_match' OR cvterm.name = 'supported_by_EST_or_cDNA' OR cvterm.name = 'predicted';
- CREATE VIEW feature_attribute AS
- SELECT
- feature_id AS feature_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcript_attribute' OR cvterm.name = 'bound_by_factor' OR cvterm.name = 'flanked' OR cvterm.name = 'gene_attribute' OR cvterm.name = 'retrotransposed' OR cvterm.name = 'transgenic' OR cvterm.name = 'natural' OR cvterm.name = 'engineered' OR cvterm.name = 'foreign' OR cvterm.name = 'fusion' OR cvterm.name = 'rescue' OR cvterm.name = 'wild_type' OR cvterm.name = 'conserved' OR cvterm.name = 'status' OR cvterm.name = 'intermediate' OR cvterm.name = 'recombinationally_rearranged' OR cvterm.name = 'cryptic' OR cvterm.name = 'strand_attribute' OR cvterm.name = 'direction_attribute' OR cvterm.name = 'enzymatic' OR cvterm.name = 'mobile' OR cvterm.name = 'edited' OR cvterm.name = 'capped' OR cvterm.name = 'mRNA_attribute' OR cvterm.name = 'trans_spliced' OR cvterm.name = 'alternatively_spliced' OR cvterm.name = 'monocistronic' OR cvterm.name = 'polycistronic' OR cvterm.name = 'polyadenylated' OR cvterm.name = 'exemplar' OR cvterm.name = 'frameshift' OR cvterm.name = 'recoded' OR cvterm.name = 'minus_1_frameshift' OR cvterm.name = 'minus_2_frameshift' OR cvterm.name = 'plus_1_frameshift' OR cvterm.name = 'plus_2_framshift' OR cvterm.name = 'codon_redefined' OR cvterm.name = 'recoded_by_translational_bypass' OR cvterm.name = 'translationally_frameshifted' OR cvterm.name = 'minus_1_translationally_frameshifted' OR cvterm.name = 'plus_1_translationally_frameshifted' OR cvterm.name = 'dicistronic' OR cvterm.name = 'bound_by_protein' OR cvterm.name = 'bound_by_nucleic_acid' OR cvterm.name = 'floxed' OR cvterm.name = 'FRT_flanked' OR cvterm.name = 'protein_coding' OR cvterm.name = 'non_protein_coding' OR cvterm.name = 'gene_to_gene_feature' OR cvterm.name = 'gene_array_member' OR cvterm.name = 'regulated' OR cvterm.name = 'epigenetically_modified' OR cvterm.name = 'encodes_alternately_spliced_transcripts' OR cvterm.name = 'encodes_alternate_transcription_start_sites' OR cvterm.name = 'intein_containing' OR cvterm.name = 'miRNA_encoding' OR cvterm.name = 'rRNA_encoding' OR cvterm.name = 'scRNA_encoding' OR cvterm.name = 'snoRNA_encoding' OR cvterm.name = 'snRNA_encoding' OR cvterm.name = 'SRP_RNA_encoding' OR cvterm.name = 'stRNA_encoding' OR cvterm.name = 'tmRNA_encoding' OR cvterm.name = 'tRNA_encoding' OR cvterm.name = 'gRNA_encoding' OR cvterm.name = 'C_D_box_snoRNA_encoding' OR cvterm.name = 'H_ACA_box_snoRNA_encoding' OR cvterm.name = 'overlapping' OR cvterm.name = 'inside_intron' OR cvterm.name = 'five_prime_three_prime_overlap' OR cvterm.name = 'five_prime_five_prime_overlap' OR cvterm.name = 'three_prime_three_prime_overlap' OR cvterm.name = 'three_prime_five_prime_overlap' OR cvterm.name = 'antisense' OR cvterm.name = 'inside_intron_antiparallel' OR cvterm.name = 'inside_intron_parallel' OR cvterm.name = 'operon_member' OR cvterm.name = 'gene_cassette_member' OR cvterm.name = 'gene_subarray_member' OR cvterm.name = 'member_of_regulon' OR cvterm.name = 'cassette_array_member' OR cvterm.name = 'transcriptionally_regulated' OR cvterm.name = 'post_translationally_regulated' OR cvterm.name = 'translationally_regulated' OR cvterm.name = 'imprinted' OR cvterm.name = 'transcriptionally_constitutive' OR cvterm.name = 'transcriptionally_induced' OR cvterm.name = 'transcriptionally_repressed' OR cvterm.name = 'autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'silenced' OR cvterm.name = 'silenced_by_DNA_modification' OR cvterm.name = 'silenced_by_RNA_interference' OR cvterm.name = 'silenced_by_histone_modification' OR cvterm.name = 'silenced_by_DNA_methylation' OR cvterm.name = 'silenced_by_histone_methylation' OR cvterm.name = 'silenced_by_histone_deacetylation' OR cvterm.name = 'negatively_autoregulated' OR cvterm.name = 'positively_autoregulated' OR cvterm.name = 'post_translationally_regulated_by_protein_stability' OR cvterm.name = 'post_translationally_regulated_by_protein_modification' OR cvterm.name = 'maternally_imprinted' OR cvterm.name = 'paternally_imprinted' OR cvterm.name = 'imprinted' OR cvterm.name = 'allelically_excluded' OR cvterm.name = 'rearranged_at_DNA_level' OR cvterm.name = 'maternally_imprinted' OR cvterm.name = 'paternally_imprinted' OR cvterm.name = 'encodes_1_polypeptide' OR cvterm.name = 'encodes_greater_than_1_polypeptide' OR cvterm.name = 'encodes_disjoint_polypeptides' OR cvterm.name = 'encodes_overlapping_peptides' OR cvterm.name = 'encodes_different_polypeptides_different_stop' OR cvterm.name = 'encodes_overlapping_peptides_different_start' OR cvterm.name = 'encodes_overlapping_polypeptides_different_start_and_stop' OR cvterm.name = 'homologous' OR cvterm.name = 'syntenic' OR cvterm.name = 'orthologous' OR cvterm.name = 'paralogous' OR cvterm.name = 'fragmentary' OR cvterm.name = 'predicted' OR cvterm.name = 'validated' OR cvterm.name = 'invalidated' OR cvterm.name = 'independently_known' OR cvterm.name = 'consensus' OR cvterm.name = 'low_complexity' OR cvterm.name = 'supported_by_sequence_similarity' OR cvterm.name = 'orphan' OR cvterm.name = 'predicted_by_ab_initio_computation' OR cvterm.name = 'supported_by_domain_match' OR cvterm.name = 'supported_by_EST_or_cDNA' OR cvterm.name = 'experimentally_determined' OR cvterm.name = 'invalidated_by_chimeric_cDNA' OR cvterm.name = 'invalidated_by_genomic_contamination' OR cvterm.name = 'invalidated_by_genomic_polyA_primed_cDNA' OR cvterm.name = 'invalidated_by_partial_processing' OR cvterm.name = 'single' OR cvterm.name = 'double' OR cvterm.name = 'forward' OR cvterm.name = 'reverse' OR cvterm.name = 'ribozymic' OR cvterm.name = 'feature_attribute';
- CREATE VIEW exemplar_mrna AS
- SELECT
- feature_id AS exemplar_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'exemplar_mRNA';
- CREATE VIEW sequence_location AS
- SELECT
- feature_id AS sequence_location_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'organelle_sequence' OR cvterm.name = 'plasmid_location' OR cvterm.name = 'proviral_location' OR cvterm.name = 'macronuclear_sequence' OR cvterm.name = 'micronuclear_sequence' OR cvterm.name = 'mitochondrial_sequence' OR cvterm.name = 'nuclear_sequence' OR cvterm.name = 'nucleomorphic_sequence' OR cvterm.name = 'plastid_sequence' OR cvterm.name = 'mitochondrial_DNA' OR cvterm.name = 'apicoplast_sequence' OR cvterm.name = 'chromoplast_sequence' OR cvterm.name = 'chloroplast_sequence' OR cvterm.name = 'cyanelle_sequence' OR cvterm.name = 'leucoplast_sequence' OR cvterm.name = 'proplastid_sequence' OR cvterm.name = 'chloroplast_DNA' OR cvterm.name = 'endogenous_retroviral_sequence' OR cvterm.name = 'sequence_location';
- CREATE VIEW organelle_sequence AS
- SELECT
- feature_id AS organelle_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'macronuclear_sequence' OR cvterm.name = 'micronuclear_sequence' OR cvterm.name = 'mitochondrial_sequence' OR cvterm.name = 'nuclear_sequence' OR cvterm.name = 'nucleomorphic_sequence' OR cvterm.name = 'plastid_sequence' OR cvterm.name = 'mitochondrial_DNA' OR cvterm.name = 'apicoplast_sequence' OR cvterm.name = 'chromoplast_sequence' OR cvterm.name = 'chloroplast_sequence' OR cvterm.name = 'cyanelle_sequence' OR cvterm.name = 'leucoplast_sequence' OR cvterm.name = 'proplastid_sequence' OR cvterm.name = 'chloroplast_DNA' OR cvterm.name = 'organelle_sequence';
- CREATE VIEW mitochondrial_sequence AS
- SELECT
- feature_id AS mitochondrial_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mitochondrial_DNA' OR cvterm.name = 'mitochondrial_sequence';
- CREATE VIEW nuclear_sequence AS
- SELECT
- feature_id AS nuclear_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclear_sequence';
- CREATE VIEW nucleomorphic_sequence AS
- SELECT
- feature_id AS nucleomorphic_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleomorphic_sequence';
- CREATE VIEW plastid_sequence AS
- SELECT
- feature_id AS plastid_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'apicoplast_sequence' OR cvterm.name = 'chromoplast_sequence' OR cvterm.name = 'chloroplast_sequence' OR cvterm.name = 'cyanelle_sequence' OR cvterm.name = 'leucoplast_sequence' OR cvterm.name = 'proplastid_sequence' OR cvterm.name = 'chloroplast_DNA' OR cvterm.name = 'plastid_sequence';
- CREATE VIEW kinetoplast AS
- SELECT
- feature_id AS kinetoplast_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'kinetoplast';
- CREATE VIEW maxicircle AS
- SELECT
- feature_id AS maxicircle_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'maxicircle';
- CREATE VIEW apicoplast_sequence AS
- SELECT
- feature_id AS apicoplast_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'apicoplast_sequence';
- CREATE VIEW chromoplast_sequence AS
- SELECT
- feature_id AS chromoplast_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromoplast_sequence';
- CREATE VIEW chloroplast_sequence AS
- SELECT
- feature_id AS chloroplast_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chloroplast_DNA' OR cvterm.name = 'chloroplast_sequence';
- CREATE VIEW cyanelle_sequence AS
- SELECT
- feature_id AS cyanelle_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cyanelle_sequence';
- CREATE VIEW leucoplast_sequence AS
- SELECT
- feature_id AS leucoplast_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'leucoplast_sequence';
- CREATE VIEW proplastid_sequence AS
- SELECT
- feature_id AS proplastid_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'proplastid_sequence';
- CREATE VIEW plasmid_location AS
- SELECT
- feature_id AS plasmid_location_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plasmid_location';
- CREATE VIEW amplification_origin AS
- SELECT
- feature_id AS amplification_origin_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'amplification_origin';
- CREATE VIEW proviral_location AS
- SELECT
- feature_id AS proviral_location_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'endogenous_retroviral_sequence' OR cvterm.name = 'proviral_location';
- CREATE VIEW gene_group_regulatory_region AS
- SELECT
- feature_id AS gene_group_regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'gene_group_regulatory_region';
- CREATE VIEW clone_insert AS
- SELECT
- feature_id AS clone_insert_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cloned_cDNA_insert' OR cvterm.name = 'cloned_genomic_insert' OR cvterm.name = 'engineered_insert' OR cvterm.name = 'BAC_cloned_genomic_insert' OR cvterm.name = 'clone_insert';
- CREATE VIEW lambda_vector AS
- SELECT
- feature_id AS lambda_vector_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lambda_vector';
- CREATE VIEW plasmid_vector AS
- SELECT
- feature_id AS plasmid_vector_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plasmid_vector';
- CREATE VIEW cdna AS
- SELECT
- feature_id AS cdna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'single_stranded_cDNA' OR cvterm.name = 'double_stranded_cDNA' OR cvterm.name = 'cDNA';
- CREATE VIEW single_stranded_cdna AS
- SELECT
- feature_id AS single_stranded_cdna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'single_stranded_cDNA';
- CREATE VIEW double_stranded_cdna AS
- SELECT
- feature_id AS double_stranded_cdna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'double_stranded_cDNA';
- CREATE VIEW pyrrolysyl_trna AS
- SELECT
- feature_id AS pyrrolysyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pyrrolysyl_tRNA';
- CREATE VIEW episome AS
- SELECT
- feature_id AS episome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_episome' OR cvterm.name = 'episome';
- CREATE VIEW tmrna_coding_piece AS
- SELECT
- feature_id AS tmrna_coding_piece_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tmRNA_coding_piece';
- CREATE VIEW tmrna_acceptor_piece AS
- SELECT
- feature_id AS tmrna_acceptor_piece_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tmRNA_acceptor_piece';
- CREATE VIEW qtl AS
- SELECT
- feature_id AS qtl_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'QTL';
- CREATE VIEW genomic_island AS
- SELECT
- feature_id AS genomic_island_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pathogenic_island' OR cvterm.name = 'metabolic_island' OR cvterm.name = 'adaptive_island' OR cvterm.name = 'symbiosis_island' OR cvterm.name = 'cryptic_prophage' OR cvterm.name = 'defective_conjugative_transposon' OR cvterm.name = 'genomic_island';
- CREATE VIEW pathogenic_island AS
- SELECT
- feature_id AS pathogenic_island_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pathogenic_island';
- CREATE VIEW metabolic_island AS
- SELECT
- feature_id AS metabolic_island_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'metabolic_island';
- CREATE VIEW adaptive_island AS
- SELECT
- feature_id AS adaptive_island_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'adaptive_island';
- CREATE VIEW symbiosis_island AS
- SELECT
- feature_id AS symbiosis_island_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'symbiosis_island';
- CREATE VIEW pseudogenic_rrna AS
- SELECT
- feature_id AS pseudogenic_rrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudogenic_rRNA';
- CREATE VIEW pseudogenic_trna AS
- SELECT
- feature_id AS pseudogenic_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudogenic_tRNA';
- CREATE VIEW engineered_episome AS
- SELECT
- feature_id AS engineered_episome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_episome';
- CREATE VIEW transgenic AS
- SELECT
- feature_id AS transgenic_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transgenic';
- CREATE VIEW so_natural AS
- SELECT
- feature_id AS so_natural_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'natural';
- CREATE VIEW engineered AS
- SELECT
- feature_id AS engineered_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered';
- CREATE VIEW so_foreign AS
- SELECT
- feature_id AS so_foreign_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'foreign';
- CREATE VIEW cloned_region AS
- SELECT
- feature_id AS cloned_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cloned_region';
- CREATE VIEW validated AS
- SELECT
- feature_id AS validated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'experimentally_determined' OR cvterm.name = 'validated';
- CREATE VIEW invalidated AS
- SELECT
- feature_id AS invalidated_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'invalidated_by_chimeric_cDNA' OR cvterm.name = 'invalidated_by_genomic_contamination' OR cvterm.name = 'invalidated_by_genomic_polyA_primed_cDNA' OR cvterm.name = 'invalidated_by_partial_processing' OR cvterm.name = 'invalidated';
- CREATE VIEW engineered_rescue_region AS
- SELECT
- feature_id AS engineered_rescue_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_rescue_region';
- CREATE VIEW rescue_mini_gene AS
- SELECT
- feature_id AS rescue_mini_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rescue_mini_gene';
- CREATE VIEW transgenic_transposable_element AS
- SELECT
- feature_id AS transgenic_transposable_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transgenic_transposable_element';
- CREATE VIEW natural_transposable_element AS
- SELECT
- feature_id AS natural_transposable_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'natural_transposable_element';
- CREATE VIEW engineered_transposable_element AS
- SELECT
- feature_id AS engineered_transposable_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_transposable_element';
- CREATE VIEW engineered_foreign_transposable_element AS
- SELECT
- feature_id AS engineered_foreign_transposable_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_transposable_element';
- CREATE VIEW assortment_derived_duplication AS
- SELECT
- feature_id AS assortment_derived_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'assortment_derived_duplication';
- CREATE VIEW assortment_derived_deficiency_plus_duplication AS
- SELECT
- feature_id AS assortment_derived_deficiency_plus_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'assortment_derived_deficiency_plus_duplication';
- CREATE VIEW assortment_derived_deficiency AS
- SELECT
- feature_id AS assortment_derived_deficiency_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'assortment_derived_deficiency';
- CREATE VIEW assortment_derived_aneuploid AS
- SELECT
- feature_id AS assortment_derived_aneuploid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'assortment_derived_aneuploid';
- CREATE VIEW engineered_region AS
- SELECT
- feature_id AS engineered_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_gene' OR cvterm.name = 'engineered_plasmid' OR cvterm.name = 'engineered_rescue_region' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'engineered_foreign_region' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'engineered_insert' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_repetitive_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_region';
- CREATE VIEW engineered_foreign_region AS
- SELECT
- feature_id AS engineered_foreign_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_repetitive_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_foreign_region';
- CREATE VIEW fusion AS
- SELECT
- feature_id AS fusion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'fusion';
- CREATE VIEW engineered_tag AS
- SELECT
- feature_id AS engineered_tag_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_tag';
- CREATE VIEW validated_cdna_clone AS
- SELECT
- feature_id AS validated_cdna_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'validated_cDNA_clone';
- CREATE VIEW invalidated_cdna_clone AS
- SELECT
- feature_id AS invalidated_cdna_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chimeric_cDNA_clone' OR cvterm.name = 'genomically_contaminated_cDNA_clone' OR cvterm.name = 'polyA_primed_cDNA_clone' OR cvterm.name = 'partially_processed_cDNA_clone' OR cvterm.name = 'invalidated_cDNA_clone';
- CREATE VIEW chimeric_cdna_clone AS
- SELECT
- feature_id AS chimeric_cdna_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chimeric_cDNA_clone';
- CREATE VIEW genomically_contaminated_cdna_clone AS
- SELECT
- feature_id AS genomically_contaminated_cdna_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'genomically_contaminated_cDNA_clone';
- CREATE VIEW polya_primed_cdna_clone AS
- SELECT
- feature_id AS polya_primed_cdna_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polyA_primed_cDNA_clone';
- CREATE VIEW partially_processed_cdna_clone AS
- SELECT
- feature_id AS partially_processed_cdna_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'partially_processed_cDNA_clone';
- CREATE VIEW rescue AS
- SELECT
- feature_id AS rescue_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rescue';
- CREATE VIEW mini_gene AS
- SELECT
- feature_id AS mini_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rescue_mini_gene' OR cvterm.name = 'mini_gene';
- CREATE VIEW rescue_gene AS
- SELECT
- feature_id AS rescue_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'wild_type_rescue_gene' OR cvterm.name = 'rescue_gene';
- CREATE VIEW wild_type AS
- SELECT
- feature_id AS wild_type_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'wild_type';
- CREATE VIEW wild_type_rescue_gene AS
- SELECT
- feature_id AS wild_type_rescue_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'wild_type_rescue_gene';
- CREATE VIEW mitochondrial_chromosome AS
- SELECT
- feature_id AS mitochondrial_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mitochondrial_chromosome';
- CREATE VIEW chloroplast_chromosome AS
- SELECT
- feature_id AS chloroplast_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chloroplast_chromosome';
- CREATE VIEW chromoplast_chromosome AS
- SELECT
- feature_id AS chromoplast_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromoplast_chromosome';
- CREATE VIEW cyanelle_chromosome AS
- SELECT
- feature_id AS cyanelle_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cyanelle_chromosome';
- CREATE VIEW leucoplast_chromosome AS
- SELECT
- feature_id AS leucoplast_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'leucoplast_chromosome';
- CREATE VIEW macronuclear_chromosome AS
- SELECT
- feature_id AS macronuclear_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'macronuclear_chromosome';
- CREATE VIEW micronuclear_chromosome AS
- SELECT
- feature_id AS micronuclear_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'micronuclear_chromosome';
- CREATE VIEW nuclear_chromosome AS
- SELECT
- feature_id AS nuclear_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclear_chromosome';
- CREATE VIEW nucleomorphic_chromosome AS
- SELECT
- feature_id AS nucleomorphic_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleomorphic_chromosome';
- CREATE VIEW chromosome_part AS
- SELECT
- feature_id AS chromosome_part_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosome_arm' OR cvterm.name = 'chromosome_band' OR cvterm.name = 'interband' OR cvterm.name = 'chromosomal_regulatory_element' OR cvterm.name = 'chromosomal_structural_element' OR cvterm.name = 'introgressed_chromosome_region' OR cvterm.name = 'matrix_attachment_site' OR cvterm.name = 'centromere' OR cvterm.name = 'telomere' OR cvterm.name = 'chromosome_part';
- CREATE VIEW gene_member_region AS
- SELECT
- feature_id AS gene_member_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcript' OR cvterm.name = 'regulatory_region' OR cvterm.name = 'polycistronic_transcript' OR cvterm.name = 'transcript_with_translational_frameshift' OR cvterm.name = 'primary_transcript' OR cvterm.name = 'mature_transcript' OR cvterm.name = 'transcript_bound_by_nucleic_acid' OR cvterm.name = 'transcript_bound_by_protein' OR cvterm.name = 'enzymatic_RNA' OR cvterm.name = 'trans_spliced_transcript' OR cvterm.name = 'monocistronic_transcript' OR cvterm.name = 'aberrant_processed_transcript' OR cvterm.name = 'edited_transcript' OR cvterm.name = 'alternatively_spliced_transcript' OR cvterm.name = 'dicistronic_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'protein_coding_primary_transcript' OR cvterm.name = 'nc_primary_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'mini_exon_donor_RNA' OR cvterm.name = 'antisense_primary_transcript' OR cvterm.name = 'capped_primary_transcript' OR cvterm.name = 'pre_edited_mRNA' OR cvterm.name = 'scRNA_primary_transcript' OR cvterm.name = 'rRNA_primary_transcript' OR cvterm.name = 'tRNA_primary_transcript' OR cvterm.name = 'snRNA_primary_transcript' OR cvterm.name = 'snoRNA_primary_transcript' OR cvterm.name = 'tmRNA_primary_transcript' OR cvterm.name = 'SRP_RNA_primary_transcript' OR cvterm.name = 'miRNA_primary_transcript' OR cvterm.name = 'rRNA_small_subunit_primary_transcript' OR cvterm.name = 'rRNA_large_subunit_primary_transcript' OR cvterm.name = 'alanine_tRNA_primary_transcript' OR cvterm.name = 'arginine_tRNA_primary_transcript' OR cvterm.name = 'asparagine_tRNA_primary_transcript' OR cvterm.name = 'aspartic_acid_tRNA_primary_transcript' OR cvterm.name = 'cysteine_tRNA_primary_transcript' OR cvterm.name = 'glutamic_acid_tRNA_primary_transcript' OR cvterm.name = 'glutamine_tRNA_primary_transcript' OR cvterm.name = 'glycine_tRNA_primary_transcript' OR cvterm.name = 'histidine_tRNA_primary_transcript' OR cvterm.name = 'isoleucine_tRNA_primary_transcript' OR cvterm.name = 'leucine_tRNA_primary_transcript' OR cvterm.name = 'lysine_tRNA_primary_transcript' OR cvterm.name = 'methionine_tRNA_primary_transcript' OR cvterm.name = 'phenylalanine_tRNA_primary_transcript' OR cvterm.name = 'proline_tRNA_primary_transcript' OR cvterm.name = 'serine_tRNA_primary_transcript' OR cvterm.name = 'threonine_tRNA_primary_transcript' OR cvterm.name = 'tryptophan_tRNA_primary_transcript' OR cvterm.name = 'tyrosine_tRNA_primary_transcript' OR cvterm.name = 'valine_tRNA_primary_transcript' OR cvterm.name = 'pyrrolysine_tRNA_primary_transcript' OR cvterm.name = 'selenocysteine_tRNA_primary_transcript' OR cvterm.name = 'methylation_guide_snoRNA_primary_transcript' OR cvterm.name = 'rRNA_cleavage_snoRNA_primary_transcript' OR cvterm.name = 'C_D_box_snoRNA_primary_transcript' OR cvterm.name = 'H_ACA_box_snoRNA_primary_transcript' OR cvterm.name = 'U14_snoRNA_primary_transcript' OR cvterm.name = 'stRNA_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'mRNA' OR cvterm.name = 'ncRNA' OR cvterm.name = 'mRNA_with_frameshift' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'exemplar_mRNA' OR cvterm.name = 'capped_mRNA' OR cvterm.name = 'polyadenylated_mRNA' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'recoded_mRNA' OR cvterm.name = 'mRNA_with_minus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_2_frameshift' OR cvterm.name = 'mRNA_with_minus_2_frameshift' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'mRNA_recoded_by_translational_bypass' OR cvterm.name = 'mRNA_recoded_by_codon_redefinition' OR cvterm.name = 'scRNA' OR cvterm.name = 'rRNA' OR cvterm.name = 'tRNA' OR cvterm.name = 'snRNA' OR cvterm.name = 'snoRNA' OR cvterm.name = 'small_regulatory_ncRNA' OR cvterm.name = 'RNase_MRP_RNA' OR cvterm.name = 'RNase_P_RNA' OR cvterm.name = 'telomerase_RNA' OR cvterm.name = 'vault_RNA' OR cvterm.name = 'Y_RNA' OR cvterm.name = 'rasiRNA' OR cvterm.name = 'SRP_RNA' OR cvterm.name = 'guide_RNA' OR cvterm.name = 'antisense_RNA' OR cvterm.name = 'siRNA' OR cvterm.name = 'stRNA' OR cvterm.name = 'class_II_RNA' OR cvterm.name = 'class_I_RNA' OR cvterm.name = 'piRNA' OR cvterm.name = 'lincRNA' OR cvterm.name = 'rRNA_cleavage_RNA' OR cvterm.name = 'small_subunit_rRNA' OR cvterm.name = 'large_subunit_rRNA' OR cvterm.name = 'rRNA_18S' OR cvterm.name = 'rRNA_16S' OR cvterm.name = 'rRNA_5_8S' OR cvterm.name = 'rRNA_5S' OR cvterm.name = 'rRNA_28S' OR cvterm.name = 'rRNA_23S' OR cvterm.name = 'rRNA_25S' OR cvterm.name = 'rRNA_21S' OR cvterm.name = 'alanyl_tRNA' OR cvterm.name = 'asparaginyl_tRNA' OR cvterm.name = 'aspartyl_tRNA' OR cvterm.name = 'cysteinyl_tRNA' OR cvterm.name = 'glutaminyl_tRNA' OR cvterm.name = 'glutamyl_tRNA' OR cvterm.name = 'glycyl_tRNA' OR cvterm.name = 'histidyl_tRNA' OR cvterm.name = 'isoleucyl_tRNA' OR cvterm.name = 'leucyl_tRNA' OR cvterm.name = 'lysyl_tRNA' OR cvterm.name = 'methionyl_tRNA' OR cvterm.name = 'phenylalanyl_tRNA' OR cvterm.name = 'prolyl_tRNA' OR cvterm.name = 'seryl_tRNA' OR cvterm.name = 'threonyl_tRNA' OR cvterm.name = 'tryptophanyl_tRNA' OR cvterm.name = 'tyrosyl_tRNA' OR cvterm.name = 'valyl_tRNA' OR cvterm.name = 'pyrrolysyl_tRNA' OR cvterm.name = 'arginyl_tRNA' OR cvterm.name = 'selenocysteinyl_tRNA' OR cvterm.name = 'U1_snRNA' OR cvterm.name = 'U2_snRNA' OR cvterm.name = 'U4_snRNA' OR cvterm.name = 'U4atac_snRNA' OR cvterm.name = 'U5_snRNA' OR cvterm.name = 'U6_snRNA' OR cvterm.name = 'U6atac_snRNA' OR cvterm.name = 'U11_snRNA' OR cvterm.name = 'U12_snRNA' OR cvterm.name = 'C_D_box_snoRNA' OR cvterm.name = 'H_ACA_box_snoRNA' OR cvterm.name = 'U14_snoRNA' OR cvterm.name = 'U3_snoRNA' OR cvterm.name = 'methylation_guide_snoRNA' OR cvterm.name = 'pseudouridylation_guide_snoRNA' OR cvterm.name = 'miRNA' OR cvterm.name = 'RNA_6S' OR cvterm.name = 'CsrB_RsmB_RNA' OR cvterm.name = 'DsrA_RNA' OR cvterm.name = 'OxyS_RNA' OR cvterm.name = 'RprA_RNA' OR cvterm.name = 'RRE_RNA' OR cvterm.name = 'spot_42_RNA' OR cvterm.name = 'tmRNA' OR cvterm.name = 'GcvB_RNA' OR cvterm.name = 'MicF_RNA' OR cvterm.name = 'ribozyme' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'edited_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'attenuator' OR cvterm.name = 'terminator' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'polyA_signal_sequence' OR cvterm.name = 'gene_group_regulatory_region' OR cvterm.name = 'transcriptional_cis_regulatory_region' OR cvterm.name = 'splicing_regulatory_region' OR cvterm.name = 'cis_regulatory_frameshift_element' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'eukaryotic_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'terminator_of_type_2_RNApol_III_promoter' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'promoter' OR cvterm.name = 'insulator' OR cvterm.name = 'CRM' OR cvterm.name = 'promoter_targeting_sequence' OR cvterm.name = 'bidirectional_promoter' OR cvterm.name = 'RNA_polymerase_promoter' OR cvterm.name = 'RNApol_I_promoter' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'Phage_RNA_Polymerase_Promoter' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'SP6_RNA_Polymerase_Promoter' OR cvterm.name = 'T3_RNA_Polymerase_Promoter' OR cvterm.name = 'T7_RNA_Polymerase_Promoter' OR cvterm.name = 'locus_control_region' OR cvterm.name = 'enhancer' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'gene_member_region';
- CREATE VIEW transcript_region AS
- SELECT
- feature_id AS transcript_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'exon' OR cvterm.name = 'edited_transcript_feature' OR cvterm.name = 'mature_transcript_region' OR cvterm.name = 'primary_transcript_region' OR cvterm.name = 'exon_region' OR cvterm.name = 'anchor_binding_site' OR cvterm.name = 'coding_exon' OR cvterm.name = 'noncoding_exon' OR cvterm.name = 'interior_exon' OR cvterm.name = 'exon_of_single_exon_gene' OR cvterm.name = 'interior_coding_exon' OR cvterm.name = 'five_prime_coding_exon' OR cvterm.name = 'three_prime_coding_exon' OR cvterm.name = 'three_prime_noncoding_exon' OR cvterm.name = 'five_prime_noncoding_exon' OR cvterm.name = 'pre_edited_region' OR cvterm.name = 'editing_block' OR cvterm.name = 'editing_domain' OR cvterm.name = 'unedited_region' OR cvterm.name = 'mRNA_region' OR cvterm.name = 'tmRNA_region' OR cvterm.name = 'guide_RNA_region' OR cvterm.name = 'tRNA_region' OR cvterm.name = 'riboswitch' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' OR cvterm.name = 'codon' OR cvterm.name = 'five_prime_open_reading_frame' OR cvterm.name = 'UTR_region' OR cvterm.name = 'CDS_region' OR cvterm.name = 'translational_frameshift' OR cvterm.name = 'recoding_stimulatory_region' OR cvterm.name = 'five_prime_UTR' OR cvterm.name = 'three_prime_UTR' OR cvterm.name = 'internal_UTR' OR cvterm.name = 'untranslated_region_polycistronic_mRNA' OR cvterm.name = 'edited_CDS' OR cvterm.name = 'CDS_fragment' OR cvterm.name = 'CDS_independently_known' OR cvterm.name = 'CDS_predicted' OR cvterm.name = 'orphan_CDS' OR cvterm.name = 'CDS_supported_by_sequence_similarity_data' OR cvterm.name = 'CDS_supported_by_domain_match_data' OR cvterm.name = 'CDS_supported_by_EST_or_cDNA_data' OR cvterm.name = 'recoded_codon' OR cvterm.name = 'start_codon' OR cvterm.name = 'stop_codon' OR cvterm.name = 'stop_codon_read_through' OR cvterm.name = 'stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'non_canonical_start_codon' OR cvterm.name = 'four_bp_start_codon' OR cvterm.name = 'CTG_start_codon' OR cvterm.name = 'ribosome_entry_site' OR cvterm.name = 'polyA_site' OR cvterm.name = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'plus_1_translational_frameshift' OR cvterm.name = 'plus_2_translational_frameshift' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'SECIS_element' OR cvterm.name = 'three_prime_recoding_site' OR cvterm.name = 'five_prime_recoding_site' OR cvterm.name = 'stop_codon_signal' OR cvterm.name = 'three_prime_stem_loop_structure' OR cvterm.name = 'flanking_three_prime_quadruplet_recoding_signal' OR cvterm.name = 'three_prime_repeat_recoding_signal' OR cvterm.name = 'distant_three_prime_recoding_signal' OR cvterm.name = 'UAG_stop_codon_signal' OR cvterm.name = 'UAA_stop_codon_signal' OR cvterm.name = 'UGA_stop_codon_signal' OR cvterm.name = 'tmRNA_coding_piece' OR cvterm.name = 'tmRNA_acceptor_piece' OR cvterm.name = 'anchor_region' OR cvterm.name = 'template_region' OR cvterm.name = 'anticodon_loop' OR cvterm.name = 'anticodon' OR cvterm.name = 'CCA_tail' OR cvterm.name = 'DHU_loop' OR cvterm.name = 'T_loop' OR cvterm.name = 'splice_site' OR cvterm.name = 'intron' OR cvterm.name = 'clip' OR cvterm.name = 'TSS' OR cvterm.name = 'transcription_end_site' OR cvterm.name = 'spliced_leader_RNA' OR cvterm.name = 'rRNA_primary_transcript_region' OR cvterm.name = 'spliceosomal_intron_region' OR cvterm.name = 'intron_domain' OR cvterm.name = 'miRNA_primary_transcript_region' OR cvterm.name = 'outron' OR cvterm.name = 'cis_splice_site' OR cvterm.name = 'trans_splice_site' OR cvterm.name = 'five_prime_cis_splice_site' OR cvterm.name = 'three_prime_cis_splice_site' OR cvterm.name = 'recursive_splice_site' OR cvterm.name = 'canonical_five_prime_splice_site' OR cvterm.name = 'non_canonical_five_prime_splice_site' OR cvterm.name = 'canonical_three_prime_splice_site' OR cvterm.name = 'non_canonical_three_prime_splice_site' OR cvterm.name = 'trans_splice_acceptor_site' OR cvterm.name = 'trans_splice_donor_site' OR cvterm.name = 'SL1_acceptor_site' OR cvterm.name = 'SL2_acceptor_site' OR cvterm.name = 'five_prime_intron' OR cvterm.name = 'interior_intron' OR cvterm.name = 'three_prime_intron' OR cvterm.name = 'twintron' OR cvterm.name = 'UTR_intron' OR cvterm.name = 'autocatalytically_spliced_intron' OR cvterm.name = 'spliceosomal_intron' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'endonuclease_spliced_intron' OR cvterm.name = 'five_prime_UTR_intron' OR cvterm.name = 'three_prime_UTR_intron' OR cvterm.name = 'group_I_intron' OR cvterm.name = 'group_II_intron' OR cvterm.name = 'group_III_intron' OR cvterm.name = 'group_IIA_intron' OR cvterm.name = 'group_IIB_intron' OR cvterm.name = 'U2_intron' OR cvterm.name = 'U12_intron' OR cvterm.name = 'archaeal_intron' OR cvterm.name = 'tRNA_intron' OR cvterm.name = 'five_prime_clip' OR cvterm.name = 'three_prime_clip' OR cvterm.name = 'major_TSS' OR cvterm.name = 'minor_TSS' OR cvterm.name = 'transcribed_spacer_region' OR cvterm.name = 'internal_transcribed_spacer_region' OR cvterm.name = 'external_transcribed_spacer_region' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'branch_site' OR cvterm.name = 'polypyrimidine_tract' OR cvterm.name = 'internal_guide_sequence' OR cvterm.name = 'mirtron' OR cvterm.name = 'pre_miRNA' OR cvterm.name = 'miRNA_stem' OR cvterm.name = 'miRNA_loop' OR cvterm.name = 'miRNA_antiguide' OR cvterm.name = 'noncoding_region_of_exon' OR cvterm.name = 'coding_region_of_exon' OR cvterm.name = 'three_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_coding_region' OR cvterm.name = 'three_prime_coding exon_coding_region' OR cvterm.name = 'transcript_region';
- CREATE VIEW mature_transcript_region AS
- SELECT
- feature_id AS mature_transcript_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_region' OR cvterm.name = 'tmRNA_region' OR cvterm.name = 'guide_RNA_region' OR cvterm.name = 'tRNA_region' OR cvterm.name = 'riboswitch' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' OR cvterm.name = 'codon' OR cvterm.name = 'five_prime_open_reading_frame' OR cvterm.name = 'UTR_region' OR cvterm.name = 'CDS_region' OR cvterm.name = 'translational_frameshift' OR cvterm.name = 'recoding_stimulatory_region' OR cvterm.name = 'five_prime_UTR' OR cvterm.name = 'three_prime_UTR' OR cvterm.name = 'internal_UTR' OR cvterm.name = 'untranslated_region_polycistronic_mRNA' OR cvterm.name = 'edited_CDS' OR cvterm.name = 'CDS_fragment' OR cvterm.name = 'CDS_independently_known' OR cvterm.name = 'CDS_predicted' OR cvterm.name = 'orphan_CDS' OR cvterm.name = 'CDS_supported_by_sequence_similarity_data' OR cvterm.name = 'CDS_supported_by_domain_match_data' OR cvterm.name = 'CDS_supported_by_EST_or_cDNA_data' OR cvterm.name = 'recoded_codon' OR cvterm.name = 'start_codon' OR cvterm.name = 'stop_codon' OR cvterm.name = 'stop_codon_read_through' OR cvterm.name = 'stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'non_canonical_start_codon' OR cvterm.name = 'four_bp_start_codon' OR cvterm.name = 'CTG_start_codon' OR cvterm.name = 'ribosome_entry_site' OR cvterm.name = 'polyA_site' OR cvterm.name = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'plus_1_translational_frameshift' OR cvterm.name = 'plus_2_translational_frameshift' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'SECIS_element' OR cvterm.name = 'three_prime_recoding_site' OR cvterm.name = 'five_prime_recoding_site' OR cvterm.name = 'stop_codon_signal' OR cvterm.name = 'three_prime_stem_loop_structure' OR cvterm.name = 'flanking_three_prime_quadruplet_recoding_signal' OR cvterm.name = 'three_prime_repeat_recoding_signal' OR cvterm.name = 'distant_three_prime_recoding_signal' OR cvterm.name = 'UAG_stop_codon_signal' OR cvterm.name = 'UAA_stop_codon_signal' OR cvterm.name = 'UGA_stop_codon_signal' OR cvterm.name = 'tmRNA_coding_piece' OR cvterm.name = 'tmRNA_acceptor_piece' OR cvterm.name = 'anchor_region' OR cvterm.name = 'template_region' OR cvterm.name = 'anticodon_loop' OR cvterm.name = 'anticodon' OR cvterm.name = 'CCA_tail' OR cvterm.name = 'DHU_loop' OR cvterm.name = 'T_loop' OR cvterm.name = 'mature_transcript_region';
- CREATE VIEW primary_transcript_region AS
- SELECT
- feature_id AS primary_transcript_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'splice_site' OR cvterm.name = 'intron' OR cvterm.name = 'clip' OR cvterm.name = 'TSS' OR cvterm.name = 'transcription_end_site' OR cvterm.name = 'spliced_leader_RNA' OR cvterm.name = 'rRNA_primary_transcript_region' OR cvterm.name = 'spliceosomal_intron_region' OR cvterm.name = 'intron_domain' OR cvterm.name = 'miRNA_primary_transcript_region' OR cvterm.name = 'outron' OR cvterm.name = 'cis_splice_site' OR cvterm.name = 'trans_splice_site' OR cvterm.name = 'five_prime_cis_splice_site' OR cvterm.name = 'three_prime_cis_splice_site' OR cvterm.name = 'recursive_splice_site' OR cvterm.name = 'canonical_five_prime_splice_site' OR cvterm.name = 'non_canonical_five_prime_splice_site' OR cvterm.name = 'canonical_three_prime_splice_site' OR cvterm.name = 'non_canonical_three_prime_splice_site' OR cvterm.name = 'trans_splice_acceptor_site' OR cvterm.name = 'trans_splice_donor_site' OR cvterm.name = 'SL1_acceptor_site' OR cvterm.name = 'SL2_acceptor_site' OR cvterm.name = 'five_prime_intron' OR cvterm.name = 'interior_intron' OR cvterm.name = 'three_prime_intron' OR cvterm.name = 'twintron' OR cvterm.name = 'UTR_intron' OR cvterm.name = 'autocatalytically_spliced_intron' OR cvterm.name = 'spliceosomal_intron' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'endonuclease_spliced_intron' OR cvterm.name = 'five_prime_UTR_intron' OR cvterm.name = 'three_prime_UTR_intron' OR cvterm.name = 'group_I_intron' OR cvterm.name = 'group_II_intron' OR cvterm.name = 'group_III_intron' OR cvterm.name = 'group_IIA_intron' OR cvterm.name = 'group_IIB_intron' OR cvterm.name = 'U2_intron' OR cvterm.name = 'U12_intron' OR cvterm.name = 'archaeal_intron' OR cvterm.name = 'tRNA_intron' OR cvterm.name = 'five_prime_clip' OR cvterm.name = 'three_prime_clip' OR cvterm.name = 'major_TSS' OR cvterm.name = 'minor_TSS' OR cvterm.name = 'transcribed_spacer_region' OR cvterm.name = 'internal_transcribed_spacer_region' OR cvterm.name = 'external_transcribed_spacer_region' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'branch_site' OR cvterm.name = 'polypyrimidine_tract' OR cvterm.name = 'internal_guide_sequence' OR cvterm.name = 'mirtron' OR cvterm.name = 'pre_miRNA' OR cvterm.name = 'miRNA_stem' OR cvterm.name = 'miRNA_loop' OR cvterm.name = 'miRNA_antiguide' OR cvterm.name = 'primary_transcript_region';
- CREATE VIEW mrna_region AS
- SELECT
- feature_id AS mrna_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'riboswitch' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' OR cvterm.name = 'codon' OR cvterm.name = 'five_prime_open_reading_frame' OR cvterm.name = 'UTR_region' OR cvterm.name = 'CDS_region' OR cvterm.name = 'translational_frameshift' OR cvterm.name = 'recoding_stimulatory_region' OR cvterm.name = 'five_prime_UTR' OR cvterm.name = 'three_prime_UTR' OR cvterm.name = 'internal_UTR' OR cvterm.name = 'untranslated_region_polycistronic_mRNA' OR cvterm.name = 'edited_CDS' OR cvterm.name = 'CDS_fragment' OR cvterm.name = 'CDS_independently_known' OR cvterm.name = 'CDS_predicted' OR cvterm.name = 'orphan_CDS' OR cvterm.name = 'CDS_supported_by_sequence_similarity_data' OR cvterm.name = 'CDS_supported_by_domain_match_data' OR cvterm.name = 'CDS_supported_by_EST_or_cDNA_data' OR cvterm.name = 'recoded_codon' OR cvterm.name = 'start_codon' OR cvterm.name = 'stop_codon' OR cvterm.name = 'stop_codon_read_through' OR cvterm.name = 'stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'non_canonical_start_codon' OR cvterm.name = 'four_bp_start_codon' OR cvterm.name = 'CTG_start_codon' OR cvterm.name = 'ribosome_entry_site' OR cvterm.name = 'polyA_site' OR cvterm.name = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'plus_1_translational_frameshift' OR cvterm.name = 'plus_2_translational_frameshift' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'SECIS_element' OR cvterm.name = 'three_prime_recoding_site' OR cvterm.name = 'five_prime_recoding_site' OR cvterm.name = 'stop_codon_signal' OR cvterm.name = 'three_prime_stem_loop_structure' OR cvterm.name = 'flanking_three_prime_quadruplet_recoding_signal' OR cvterm.name = 'three_prime_repeat_recoding_signal' OR cvterm.name = 'distant_three_prime_recoding_signal' OR cvterm.name = 'UAG_stop_codon_signal' OR cvterm.name = 'UAA_stop_codon_signal' OR cvterm.name = 'UGA_stop_codon_signal' OR cvterm.name = 'mRNA_region';
- CREATE VIEW utr_region AS
- SELECT
- feature_id AS utr_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ribosome_entry_site' OR cvterm.name = 'polyA_site' OR cvterm.name = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'UTR_region';
- CREATE VIEW rrna_primary_transcript_region AS
- SELECT
- feature_id AS rrna_primary_transcript_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcribed_spacer_region' OR cvterm.name = 'internal_transcribed_spacer_region' OR cvterm.name = 'external_transcribed_spacer_region' OR cvterm.name = 'rRNA_primary_transcript_region';
- CREATE VIEW polypeptide_region AS
- SELECT
- feature_id AS polypeptide_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mature_protein_region' OR cvterm.name = 'immature_peptide_region' OR cvterm.name = 'compositionally_biased_region_of_peptide' OR cvterm.name = 'polypeptide_structural_region' OR cvterm.name = 'polypeptide_variation_site' OR cvterm.name = 'cleaved_peptide_region' OR cvterm.name = 'hydrophobic_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_region' OR cvterm.name = 'active_peptide' OR cvterm.name = 'polypeptide_domain' OR cvterm.name = 'membrane_structure' OR cvterm.name = 'extramembrane_polypeptide_region' OR cvterm.name = 'intramembrane_polypeptide_region' OR cvterm.name = 'polypeptide_secondary_structure' OR cvterm.name = 'polypeptide_structural_motif' OR cvterm.name = 'intrinsically_unstructured_polypeptide_region' OR cvterm.name = 'cytoplasmic_polypeptide_region' OR cvterm.name = 'non_cytoplasmic_polypeptide_region' OR cvterm.name = 'membrane_peptide_loop' OR cvterm.name = 'transmembrane_polypeptide_region' OR cvterm.name = 'asx_motif' OR cvterm.name = 'beta_bulge' OR cvterm.name = 'beta_bulge_loop' OR cvterm.name = 'beta_strand' OR cvterm.name = 'peptide_helix' OR cvterm.name = 'polypeptide_nest_motif' OR cvterm.name = 'schellmann_loop' OR cvterm.name = 'serine_threonine_motif' OR cvterm.name = 'serine_threonine_staple_motif' OR cvterm.name = 'polypeptide_turn_motif' OR cvterm.name = 'catmat_left_handed_three' OR cvterm.name = 'catmat_left_handed_four' OR cvterm.name = 'catmat_right_handed_three' OR cvterm.name = 'catmat_right_handed_four' OR cvterm.name = 'alpha_beta_motif' OR cvterm.name = 'peptide_coil' OR cvterm.name = 'beta_bulge_loop_five' OR cvterm.name = 'beta_bulge_loop_six' OR cvterm.name = 'antiparallel_beta_strand' OR cvterm.name = 'parallel_beta_strand' OR cvterm.name = 'left_handed_peptide_helix' OR cvterm.name = 'right_handed_peptide_helix' OR cvterm.name = 'alpha_helix' OR cvterm.name = 'pi_helix' OR cvterm.name = 'three_ten_helix' OR cvterm.name = 'polypeptide_nest_left_right_motif' OR cvterm.name = 'polypeptide_nest_right_left_motif' OR cvterm.name = 'schellmann_loop_seven' OR cvterm.name = 'schellmann_loop_six' OR cvterm.name = 'asx_turn' OR cvterm.name = 'beta_turn' OR cvterm.name = 'gamma_turn' OR cvterm.name = 'serine_threonine_turn' OR cvterm.name = 'asx_turn_left_handed_type_one' OR cvterm.name = 'asx_turn_left_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_two' OR cvterm.name = 'beta_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_right_handed_type_two' OR cvterm.name = 'beta_turn_type_six' OR cvterm.name = 'beta_turn_type_eight' OR cvterm.name = 'beta_turn_type_six_a' OR cvterm.name = 'beta_turn_type_six_b' OR cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'gamma_turn_classic' OR cvterm.name = 'gamma_turn_inverse' OR cvterm.name = 'st_turn_left_handed_type_one' OR cvterm.name = 'st_turn_left_handed_type_two' OR cvterm.name = 'st_turn_right_handed_type_one' OR cvterm.name = 'st_turn_right_handed_type_two' OR cvterm.name = 'coiled_coil' OR cvterm.name = 'helix_turn_helix' OR cvterm.name = 'natural_variant_site' OR cvterm.name = 'mutated_variant_site' OR cvterm.name = 'alternate_sequence_site' OR cvterm.name = 'signal_peptide' OR cvterm.name = 'cleaved_initiator_methionine' OR cvterm.name = 'transit_peptide' OR cvterm.name = 'intein' OR cvterm.name = 'propeptide_cleavage_site' OR cvterm.name = 'propeptide' OR cvterm.name = 'cleaved_for_gpi_anchor_region' OR cvterm.name = 'lipoprotein_signal_peptide' OR cvterm.name = 'n_terminal_region' OR cvterm.name = 'c_terminal_region' OR cvterm.name = 'central_hydrophobic_region_of_signal_peptide' OR cvterm.name = 'polypeptide_domain' OR cvterm.name = 'polypeptide_motif' OR cvterm.name = 'polypeptide_repeat' OR cvterm.name = 'biochemical_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_motif' OR cvterm.name = 'post_translationally_modified_region' OR cvterm.name = 'conformational_switch' OR cvterm.name = 'molecular_contact_region' OR cvterm.name = 'polypeptide_binding_motif' OR cvterm.name = 'polypeptide_catalytic_motif' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'polypeptide_region';
- CREATE VIEW repeat_component AS
- SELECT
- feature_id AS repeat_component_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'LTR_component' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'U5_LTR_region' OR cvterm.name = 'R_LTR_region' OR cvterm.name = 'U3_LTR_region' OR cvterm.name = 'three_prime_LTR_component' OR cvterm.name = 'five_prime_LTR_component' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'R_three_prime_LTR_region' OR cvterm.name = 'U3_three_prime_LTR_region' OR cvterm.name = 'U5_three_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'repeat_component';
- CREATE VIEW spliceosomal_intron_region AS
- SELECT
- feature_id AS spliceosomal_intron_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'branch_site' OR cvterm.name = 'polypyrimidine_tract' OR cvterm.name = 'spliceosomal_intron_region';
- CREATE VIEW gene_component_region AS
- SELECT
- feature_id AS gene_component_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_transcribed_region' OR cvterm.name = 'gene_fragment' OR cvterm.name = 'TSS_region' OR cvterm.name = 'gene_segment' OR cvterm.name = 'gene_component_region';
- CREATE VIEW tmrna_region AS
- SELECT
- feature_id AS tmrna_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tmRNA_coding_piece' OR cvterm.name = 'tmRNA_acceptor_piece' OR cvterm.name = 'tmRNA_region';
- CREATE VIEW ltr_component AS
- SELECT
- feature_id AS ltr_component_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U5_LTR_region' OR cvterm.name = 'R_LTR_region' OR cvterm.name = 'U3_LTR_region' OR cvterm.name = 'three_prime_LTR_component' OR cvterm.name = 'five_prime_LTR_component' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'R_three_prime_LTR_region' OR cvterm.name = 'U3_three_prime_LTR_region' OR cvterm.name = 'U5_three_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'LTR_component';
- CREATE VIEW three_prime_ltr_component AS
- SELECT
- feature_id AS three_prime_ltr_component_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'R_three_prime_LTR_region' OR cvterm.name = 'U3_three_prime_LTR_region' OR cvterm.name = 'U5_three_prime_LTR_region' OR cvterm.name = 'three_prime_LTR_component';
- CREATE VIEW five_prime_ltr_component AS
- SELECT
- feature_id AS five_prime_ltr_component_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'five_prime_LTR_component';
- CREATE VIEW cds_region AS
- SELECT
- feature_id AS cds_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'CDS_region';
- CREATE VIEW exon_region AS
- SELECT
- feature_id AS exon_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'noncoding_region_of_exon' OR cvterm.name = 'coding_region_of_exon' OR cvterm.name = 'three_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_coding_region' OR cvterm.name = 'three_prime_coding exon_coding_region' OR cvterm.name = 'exon_region';
- CREATE VIEW homologous_region AS
- SELECT
- feature_id AS homologous_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paralogous_region' OR cvterm.name = 'orthologous_region' OR cvterm.name = 'homologous_region';
- CREATE VIEW paralogous_region AS
- SELECT
- feature_id AS paralogous_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paralogous_region';
- CREATE VIEW orthologous_region AS
- SELECT
- feature_id AS orthologous_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'orthologous_region';
- CREATE VIEW conserved AS
- SELECT
- feature_id AS conserved_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'homologous' OR cvterm.name = 'syntenic' OR cvterm.name = 'orthologous' OR cvterm.name = 'paralogous' OR cvterm.name = 'conserved';
- CREATE VIEW homologous AS
- SELECT
- feature_id AS homologous_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'orthologous' OR cvterm.name = 'paralogous' OR cvterm.name = 'homologous';
- CREATE VIEW orthologous AS
- SELECT
- feature_id AS orthologous_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'orthologous';
- CREATE VIEW paralogous AS
- SELECT
- feature_id AS paralogous_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paralogous';
- CREATE VIEW syntenic AS
- SELECT
- feature_id AS syntenic_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'syntenic';
- CREATE VIEW capped_primary_transcript AS
- SELECT
- feature_id AS capped_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'capped_primary_transcript';
- CREATE VIEW capped_mrna AS
- SELECT
- feature_id AS capped_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'capped_mRNA';
- CREATE VIEW mrna_attribute AS
- SELECT
- feature_id AS mrna_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polyadenylated' OR cvterm.name = 'exemplar' OR cvterm.name = 'frameshift' OR cvterm.name = 'recoded' OR cvterm.name = 'minus_1_frameshift' OR cvterm.name = 'minus_2_frameshift' OR cvterm.name = 'plus_1_frameshift' OR cvterm.name = 'plus_2_framshift' OR cvterm.name = 'codon_redefined' OR cvterm.name = 'recoded_by_translational_bypass' OR cvterm.name = 'translationally_frameshifted' OR cvterm.name = 'minus_1_translationally_frameshifted' OR cvterm.name = 'plus_1_translationally_frameshifted' OR cvterm.name = 'mRNA_attribute';
- CREATE VIEW exemplar AS
- SELECT
- feature_id AS exemplar_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'exemplar';
- CREATE VIEW frameshift AS
- SELECT
- feature_id AS frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_1_frameshift' OR cvterm.name = 'minus_2_frameshift' OR cvterm.name = 'plus_1_frameshift' OR cvterm.name = 'plus_2_framshift' OR cvterm.name = 'frameshift';
- CREATE VIEW minus_1_frameshift AS
- SELECT
- feature_id AS minus_1_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_1_frameshift';
- CREATE VIEW minus_2_frameshift AS
- SELECT
- feature_id AS minus_2_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_2_frameshift';
- CREATE VIEW plus_1_frameshift AS
- SELECT
- feature_id AS plus_1_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plus_1_frameshift';
- CREATE VIEW plus_2_framshift AS
- SELECT
- feature_id AS plus_2_framshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plus_2_framshift';
- CREATE VIEW trans_spliced AS
- SELECT
- feature_id AS trans_spliced_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'trans_spliced';
- CREATE VIEW polyadenylated_mrna AS
- SELECT
- feature_id AS polyadenylated_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polyadenylated_mRNA';
- CREATE VIEW trans_spliced_mrna AS
- SELECT
- feature_id AS trans_spliced_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'trans_spliced_mRNA';
- CREATE VIEW edited_transcript AS
- SELECT
- feature_id AS edited_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'edited_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'edited_transcript';
- CREATE VIEW edited_transcript_by_a_to_i_substitution AS
- SELECT
- feature_id AS edited_transcript_by_a_to_i_substitution_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'edited_transcript_by_A_to_I_substitution';
- CREATE VIEW bound_by_protein AS
- SELECT
- feature_id AS bound_by_protein_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bound_by_protein';
- CREATE VIEW bound_by_nucleic_acid AS
- SELECT
- feature_id AS bound_by_nucleic_acid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bound_by_nucleic_acid';
- CREATE VIEW alternatively_spliced AS
- SELECT
- feature_id AS alternatively_spliced_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alternatively_spliced';
- CREATE VIEW monocistronic AS
- SELECT
- feature_id AS monocistronic_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'monocistronic';
- CREATE VIEW dicistronic AS
- SELECT
- feature_id AS dicistronic_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dicistronic';
- CREATE VIEW polycistronic AS
- SELECT
- feature_id AS polycistronic_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dicistronic' OR cvterm.name = 'polycistronic';
- CREATE VIEW recoded AS
- SELECT
- feature_id AS recoded_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'codon_redefined' OR cvterm.name = 'recoded_by_translational_bypass' OR cvterm.name = 'translationally_frameshifted' OR cvterm.name = 'minus_1_translationally_frameshifted' OR cvterm.name = 'plus_1_translationally_frameshifted' OR cvterm.name = 'recoded';
- CREATE VIEW codon_redefined AS
- SELECT
- feature_id AS codon_redefined_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'codon_redefined';
- CREATE VIEW stop_codon_read_through AS
- SELECT
- feature_id AS stop_codon_read_through_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'stop_codon_read_through';
- CREATE VIEW stop_codon_redefined_as_pyrrolysine AS
- SELECT
- feature_id AS stop_codon_redefined_as_pyrrolysine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_codon_redefined_as_pyrrolysine';
- CREATE VIEW stop_codon_redefined_as_selenocysteine AS
- SELECT
- feature_id AS stop_codon_redefined_as_selenocysteine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_codon_redefined_as_selenocysteine';
- CREATE VIEW recoded_by_translational_bypass AS
- SELECT
- feature_id AS recoded_by_translational_bypass_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recoded_by_translational_bypass';
- CREATE VIEW translationally_frameshifted AS
- SELECT
- feature_id AS translationally_frameshifted_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_1_translationally_frameshifted' OR cvterm.name = 'plus_1_translationally_frameshifted' OR cvterm.name = 'translationally_frameshifted';
- CREATE VIEW maternally_imprinted_gene AS
- SELECT
- feature_id AS maternally_imprinted_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'maternally_imprinted_gene';
- CREATE VIEW paternally_imprinted_gene AS
- SELECT
- feature_id AS paternally_imprinted_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paternally_imprinted_gene';
- CREATE VIEW post_translationally_regulated_gene AS
- SELECT
- feature_id AS post_translationally_regulated_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'post_translationally_regulated_gene';
- CREATE VIEW negatively_autoregulated_gene AS
- SELECT
- feature_id AS negatively_autoregulated_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'negatively_autoregulated_gene';
- CREATE VIEW positively_autoregulated_gene AS
- SELECT
- feature_id AS positively_autoregulated_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'positively_autoregulated_gene';
- CREATE VIEW silenced AS
- SELECT
- feature_id AS silenced_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silenced_by_DNA_modification' OR cvterm.name = 'silenced_by_RNA_interference' OR cvterm.name = 'silenced_by_histone_modification' OR cvterm.name = 'silenced_by_DNA_methylation' OR cvterm.name = 'silenced_by_histone_methylation' OR cvterm.name = 'silenced_by_histone_deacetylation' OR cvterm.name = 'silenced';
- CREATE VIEW silenced_by_dna_modification AS
- SELECT
- feature_id AS silenced_by_dna_modification_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silenced_by_DNA_methylation' OR cvterm.name = 'silenced_by_DNA_modification';
- CREATE VIEW silenced_by_dna_methylation AS
- SELECT
- feature_id AS silenced_by_dna_methylation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silenced_by_DNA_methylation';
- CREATE VIEW translationally_regulated_gene AS
- SELECT
- feature_id AS translationally_regulated_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'translationally_regulated_gene';
- CREATE VIEW allelically_excluded_gene AS
- SELECT
- feature_id AS allelically_excluded_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'allelically_excluded_gene';
- CREATE VIEW epigenetically_modified_gene AS
- SELECT
- feature_id AS epigenetically_modified_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_rearranged_at_DNA_level' OR cvterm.name = 'maternally_imprinted_gene' OR cvterm.name = 'paternally_imprinted_gene' OR cvterm.name = 'allelically_excluded_gene' OR cvterm.name = 'epigenetically_modified_gene';
- CREATE VIEW transgene AS
- SELECT
- feature_id AS transgene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'floxed_gene' OR cvterm.name = 'transgene';
- CREATE VIEW endogenous_retroviral_sequence AS
- SELECT
- feature_id AS endogenous_retroviral_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'endogenous_retroviral_sequence';
- CREATE VIEW rearranged_at_dna_level AS
- SELECT
- feature_id AS rearranged_at_dna_level_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rearranged_at_DNA_level';
- CREATE VIEW status AS
- SELECT
- feature_id AS status_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'fragmentary' OR cvterm.name = 'predicted' OR cvterm.name = 'validated' OR cvterm.name = 'invalidated' OR cvterm.name = 'independently_known' OR cvterm.name = 'consensus' OR cvterm.name = 'low_complexity' OR cvterm.name = 'supported_by_sequence_similarity' OR cvterm.name = 'orphan' OR cvterm.name = 'predicted_by_ab_initio_computation' OR cvterm.name = 'supported_by_domain_match' OR cvterm.name = 'supported_by_EST_or_cDNA' OR cvterm.name = 'experimentally_determined' OR cvterm.name = 'invalidated_by_chimeric_cDNA' OR cvterm.name = 'invalidated_by_genomic_contamination' OR cvterm.name = 'invalidated_by_genomic_polyA_primed_cDNA' OR cvterm.name = 'invalidated_by_partial_processing' OR cvterm.name = 'status';
- CREATE VIEW independently_known AS
- SELECT
- feature_id AS independently_known_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'independently_known';
- CREATE VIEW supported_by_sequence_similarity AS
- SELECT
- feature_id AS supported_by_sequence_similarity_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'supported_by_domain_match' OR cvterm.name = 'supported_by_EST_or_cDNA' OR cvterm.name = 'supported_by_sequence_similarity';
- CREATE VIEW supported_by_domain_match AS
- SELECT
- feature_id AS supported_by_domain_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'supported_by_domain_match';
- CREATE VIEW supported_by_est_or_cdna AS
- SELECT
- feature_id AS supported_by_est_or_cdna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'supported_by_EST_or_cDNA';
- CREATE VIEW orphan AS
- SELECT
- feature_id AS orphan_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'orphan';
- CREATE VIEW predicted_by_ab_initio_computation AS
- SELECT
- feature_id AS predicted_by_ab_initio_computation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'predicted_by_ab_initio_computation';
- CREATE VIEW asx_turn AS
- SELECT
- feature_id AS asx_turn_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asx_turn_left_handed_type_one' OR cvterm.name = 'asx_turn_left_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_one' OR cvterm.name = 'asx_turn';
- CREATE VIEW cloned_cdna_insert AS
- SELECT
- feature_id AS cloned_cdna_insert_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cloned_cDNA_insert';
- CREATE VIEW cloned_genomic_insert AS
- SELECT
- feature_id AS cloned_genomic_insert_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'BAC_cloned_genomic_insert' OR cvterm.name = 'cloned_genomic_insert';
- CREATE VIEW engineered_insert AS
- SELECT
- feature_id AS engineered_insert_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'engineered_insert';
- CREATE VIEW edited_mrna AS
- SELECT
- feature_id AS edited_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'edited_mRNA';
- CREATE VIEW guide_rna_region AS
- SELECT
- feature_id AS guide_rna_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'anchor_region' OR cvterm.name = 'template_region' OR cvterm.name = 'guide_RNA_region';
- CREATE VIEW anchor_region AS
- SELECT
- feature_id AS anchor_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'anchor_region';
- CREATE VIEW pre_edited_mrna AS
- SELECT
- feature_id AS pre_edited_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pre_edited_mRNA';
- CREATE VIEW intermediate AS
- SELECT
- feature_id AS intermediate_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intermediate';
- CREATE VIEW mirna_target_site AS
- SELECT
- feature_id AS mirna_target_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA_target_site';
- CREATE VIEW edited_cds AS
- SELECT
- feature_id AS edited_cds_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'edited_CDS';
- CREATE VIEW vertebrate_immunoglobulin_t_cell_receptor_rearranged_segment AS
- SELECT
- feature_id AS vertebrate_immunoglobulin_t_cell_receptor_rearranged_segment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'VD_gene' OR cvterm.name = 'DJ_gene' OR cvterm.name = 'VDJ_gene' OR cvterm.name = 'VJ_gene' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_segment';
- CREATE VIEW vertebrate_ig_t_cell_receptor_rearranged_gene_cluster AS
- SELECT
- feature_id AS vertebrate_ig_t_cell_receptor_rearranged_gene_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DJ_J_cluster' OR cvterm.name = 'VDJ_J_C_cluster' OR cvterm.name = 'VDJ_J_cluster' OR cvterm.name = 'VJ_C_cluster' OR cvterm.name = 'VJ_J_C_cluster' OR cvterm.name = 'VJ_J_cluster' OR cvterm.name = 'D_DJ_C_cluster' OR cvterm.name = 'D_DJ_cluster' OR cvterm.name = 'D_DJ_J_C_cluster' OR cvterm.name = 'D_DJ_J_cluster' OR cvterm.name = 'V_DJ_cluster' OR cvterm.name = 'V_DJ_J_cluster' OR cvterm.name = 'V_VDJ_C_cluster' OR cvterm.name = 'V_VDJ_cluster' OR cvterm.name = 'V_VDJ_J_cluster' OR cvterm.name = 'V_VJ_C_cluster' OR cvterm.name = 'V_VJ_cluster' OR cvterm.name = 'V_VJ_J_cluster' OR cvterm.name = 'V_D_DJ_C_cluster' OR cvterm.name = 'V_D_DJ_cluster' OR cvterm.name = 'V_D_DJ_J_C_cluster' OR cvterm.name = 'V_D_DJ_J_cluster' OR cvterm.name = 'V_D_J_C_cluster' OR cvterm.name = 'V_D_J_cluster' OR cvterm.name = 'DJ_C_cluster' OR cvterm.name = 'DJ_J_C_cluster' OR cvterm.name = 'VDJ_C_cluster' OR cvterm.name = 'V_DJ_C_cluster' OR cvterm.name = 'V_DJ_J_C_cluster' OR cvterm.name = 'V_VDJ_J_C_cluster' OR cvterm.name = 'V_VJ_J_C_cluster' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_gene_cluster';
- CREATE VIEW vertebrate_immune_system_gene_recombination_signal_feature AS
- SELECT
- feature_id AS vertebrate_immune_system_gene_recombination_signal_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'J_gene_recombination_feature' OR cvterm.name = 'D_gene_recombination_feature' OR cvterm.name = 'V_gene_recombination_feature' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_signal_feature';
- CREATE VIEW recombinationally_rearranged AS
- SELECT
- feature_id AS recombinationally_rearranged_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recombinationally_rearranged';
- CREATE VIEW recombinationally_rearranged_vertebrate_immune_system_gene AS
- SELECT
- feature_id AS recombinationally_rearranged_vertebrate_immune_system_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recombinationally_rearranged_vertebrate_immune_system_gene';
- CREATE VIEW attp_site AS
- SELECT
- feature_id AS attp_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attP_site';
- CREATE VIEW attb_site AS
- SELECT
- feature_id AS attb_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attB_site';
- CREATE VIEW attl_site AS
- SELECT
- feature_id AS attl_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attL_site';
- CREATE VIEW attr_site AS
- SELECT
- feature_id AS attr_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attR_site';
- CREATE VIEW integration_excision_site AS
- SELECT
- feature_id AS integration_excision_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attI_site' OR cvterm.name = 'attP_site' OR cvterm.name = 'attB_site' OR cvterm.name = 'attL_site' OR cvterm.name = 'attR_site' OR cvterm.name = 'attC_site' OR cvterm.name = 'attCtn_site' OR cvterm.name = 'integration_excision_site';
- CREATE VIEW resolution_site AS
- SELECT
- feature_id AS resolution_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'loxP_site' OR cvterm.name = 'dif_site' OR cvterm.name = 'resolution_site';
- CREATE VIEW inversion_site AS
- SELECT
- feature_id AS inversion_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'FRT_site' OR cvterm.name = 'inversion_site';
- CREATE VIEW dif_site AS
- SELECT
- feature_id AS dif_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dif_site';
- CREATE VIEW attc_site AS
- SELECT
- feature_id AS attc_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attC_site';
- CREATE VIEW eukaryotic_terminator AS
- SELECT
- feature_id AS eukaryotic_terminator_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'terminator_of_type_2_RNApol_III_promoter' OR cvterm.name = 'eukaryotic_terminator';
- CREATE VIEW oriv AS
- SELECT
- feature_id AS oriv_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'oriV';
- CREATE VIEW oric AS
- SELECT
- feature_id AS oric_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'oriC';
- CREATE VIEW dna_chromosome AS
- SELECT
- feature_id AS dna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'double_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_DNA_chromosome' OR cvterm.name = 'linear_double_stranded_DNA_chromosome' OR cvterm.name = 'circular_double_stranded_DNA_chromosome' OR cvterm.name = 'linear_single_stranded_DNA_chromosome' OR cvterm.name = 'circular_single_stranded_DNA_chromosome' OR cvterm.name = 'DNA_chromosome';
- CREATE VIEW double_stranded_dna_chromosome AS
- SELECT
- feature_id AS double_stranded_dna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear_double_stranded_DNA_chromosome' OR cvterm.name = 'circular_double_stranded_DNA_chromosome' OR cvterm.name = 'double_stranded_DNA_chromosome';
- CREATE VIEW single_stranded_dna_chromosome AS
- SELECT
- feature_id AS single_stranded_dna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear_single_stranded_DNA_chromosome' OR cvterm.name = 'circular_single_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_DNA_chromosome';
- CREATE VIEW linear_double_stranded_dna_chromosome AS
- SELECT
- feature_id AS linear_double_stranded_dna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear_double_stranded_DNA_chromosome';
- CREATE VIEW circular_double_stranded_dna_chromosome AS
- SELECT
- feature_id AS circular_double_stranded_dna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'circular_double_stranded_DNA_chromosome';
- CREATE VIEW linear_single_stranded_dna_chromosome AS
- SELECT
- feature_id AS linear_single_stranded_dna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear_single_stranded_DNA_chromosome';
- CREATE VIEW circular_single_stranded_dna_chromosome AS
- SELECT
- feature_id AS circular_single_stranded_dna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'circular_single_stranded_DNA_chromosome';
- CREATE VIEW rna_chromosome AS
- SELECT
- feature_id AS rna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'single_stranded_RNA_chromosome' OR cvterm.name = 'double_stranded_RNA_chromosome' OR cvterm.name = 'linear_single_stranded_RNA_chromosome' OR cvterm.name = 'circular_single_stranded_RNA_chromosome' OR cvterm.name = 'linear_double_stranded_RNA_chromosome' OR cvterm.name = 'circular_double_stranded_RNA_chromosome' OR cvterm.name = 'RNA_chromosome';
- CREATE VIEW single_stranded_rna_chromosome AS
- SELECT
- feature_id AS single_stranded_rna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear_single_stranded_RNA_chromosome' OR cvterm.name = 'circular_single_stranded_RNA_chromosome' OR cvterm.name = 'single_stranded_RNA_chromosome';
- CREATE VIEW linear_single_stranded_rna_chromosome AS
- SELECT
- feature_id AS linear_single_stranded_rna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear_single_stranded_RNA_chromosome';
- CREATE VIEW linear_double_stranded_rna_chromosome AS
- SELECT
- feature_id AS linear_double_stranded_rna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear_double_stranded_RNA_chromosome';
- CREATE VIEW double_stranded_rna_chromosome AS
- SELECT
- feature_id AS double_stranded_rna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear_double_stranded_RNA_chromosome' OR cvterm.name = 'circular_double_stranded_RNA_chromosome' OR cvterm.name = 'double_stranded_RNA_chromosome';
- CREATE VIEW circular_single_stranded_rna_chromosome AS
- SELECT
- feature_id AS circular_single_stranded_rna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'circular_single_stranded_RNA_chromosome';
- CREATE VIEW circular_double_stranded_rna_chromosome AS
- SELECT
- feature_id AS circular_double_stranded_rna_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'circular_double_stranded_RNA_chromosome';
- CREATE VIEW insertion_sequence AS
- SELECT
- feature_id AS insertion_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'insertion_sequence';
- CREATE VIEW minicircle_gene AS
- SELECT
- feature_id AS minicircle_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minicircle_gene';
- CREATE VIEW cryptic AS
- SELECT
- feature_id AS cryptic_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptic';
- CREATE VIEW anchor_binding_site AS
- SELECT
- feature_id AS anchor_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'anchor_binding_site';
- CREATE VIEW template_region AS
- SELECT
- feature_id AS template_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'template_region';
- CREATE VIEW grna_encoding AS
- SELECT
- feature_id AS grna_encoding_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gRNA_encoding';
- CREATE VIEW minicircle AS
- SELECT
- feature_id AS minicircle_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minicircle';
- CREATE VIEW rho_dependent_bacterial_terminator AS
- SELECT
- feature_id AS rho_dependent_bacterial_terminator_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rho_dependent_bacterial_terminator';
- CREATE VIEW rho_independent_bacterial_terminator AS
- SELECT
- feature_id AS rho_independent_bacterial_terminator_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rho_independent_bacterial_terminator';
- CREATE VIEW strand_attribute AS
- SELECT
- feature_id AS strand_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'single' OR cvterm.name = 'double' OR cvterm.name = 'strand_attribute';
- CREATE VIEW single AS
- SELECT
- feature_id AS single_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'single';
- CREATE VIEW double AS
- SELECT
- feature_id AS double_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'double';
- CREATE VIEW topology_attribute AS
- SELECT
- feature_id AS topology_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear' OR cvterm.name = 'circular' OR cvterm.name = 'topology_attribute';
- CREATE VIEW linear AS
- SELECT
- feature_id AS linear_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'linear';
- CREATE VIEW circular AS
- SELECT
- feature_id AS circular_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'circular';
- CREATE VIEW class_ii_rna AS
- SELECT
- feature_id AS class_ii_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'class_II_RNA';
- CREATE VIEW class_i_rna AS
- SELECT
- feature_id AS class_i_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'class_I_RNA';
- CREATE VIEW genomic_dna AS
- SELECT
- feature_id AS genomic_dna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'genomic_DNA';
- CREATE VIEW bac_cloned_genomic_insert AS
- SELECT
- feature_id AS bac_cloned_genomic_insert_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'BAC_cloned_genomic_insert';
- CREATE VIEW consensus AS
- SELECT
- feature_id AS consensus_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'consensus';
- CREATE VIEW consensus_region AS
- SELECT
- feature_id AS consensus_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'consensus_mRNA' OR cvterm.name = 'consensus_region';
- CREATE VIEW consensus_mrna AS
- SELECT
- feature_id AS consensus_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'consensus_mRNA';
- CREATE VIEW predicted_gene AS
- SELECT
- feature_id AS predicted_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'predicted_gene';
- CREATE VIEW gene_fragment AS
- SELECT
- feature_id AS gene_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_fragment';
- CREATE VIEW recursive_splice_site AS
- SELECT
- feature_id AS recursive_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recursive_splice_site';
- CREATE VIEW bac_end AS
- SELECT
- feature_id AS bac_end_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'BAC_end';
- CREATE VIEW rrna_16s AS
- SELECT
- feature_id AS rrna_16s_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_16S';
- CREATE VIEW rrna_23s AS
- SELECT
- feature_id AS rrna_23s_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_23S';
- CREATE VIEW rrna_25s AS
- SELECT
- feature_id AS rrna_25s_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_25S';
- CREATE VIEW solo_ltr AS
- SELECT
- feature_id AS solo_ltr_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'solo_LTR';
- CREATE VIEW low_complexity AS
- SELECT
- feature_id AS low_complexity_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'low_complexity';
- CREATE VIEW low_complexity_region AS
- SELECT
- feature_id AS low_complexity_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'low_complexity_region';
- CREATE VIEW prophage AS
- SELECT
- feature_id AS prophage_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'prophage';
- CREATE VIEW cryptic_prophage AS
- SELECT
- feature_id AS cryptic_prophage_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptic_prophage';
- CREATE VIEW tetraloop AS
- SELECT
- feature_id AS tetraloop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tetraloop';
- CREATE VIEW dna_constraint_sequence AS
- SELECT
- feature_id AS dna_constraint_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DNA_constraint_sequence';
- CREATE VIEW i_motif AS
- SELECT
- feature_id AS i_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'i_motif';
- CREATE VIEW pna_oligo AS
- SELECT
- feature_id AS pna_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'PNA_oligo';
- CREATE VIEW dnazyme AS
- SELECT
- feature_id AS dnazyme_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DNAzyme';
- CREATE VIEW mnp AS
- SELECT
- feature_id AS mnp_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'MNP';
- CREATE VIEW intron_domain AS
- SELECT
- feature_id AS intron_domain_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_guide_sequence' OR cvterm.name = 'mirtron' OR cvterm.name = 'intron_domain';
- CREATE VIEW wobble_base_pair AS
- SELECT
- feature_id AS wobble_base_pair_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'wobble_base_pair';
- CREATE VIEW internal_guide_sequence AS
- SELECT
- feature_id AS internal_guide_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_guide_sequence';
- CREATE VIEW silent_mutation AS
- SELECT
- feature_id AS silent_mutation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silent_mutation';
- CREATE VIEW epitope AS
- SELECT
- feature_id AS epitope_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'epitope';
- CREATE VIEW copy_number_variation AS
- SELECT
- feature_id AS copy_number_variation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'copy_number_variation';
- CREATE VIEW sequence_variant_affecting_copy_number AS
- SELECT
- feature_id AS sequence_variant_affecting_copy_number_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_copy_number';
- CREATE VIEW chromosome_breakpoint AS
- SELECT
- feature_id AS chromosome_breakpoint_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_breakpoint' OR cvterm.name = 'translocation_breakpoint' OR cvterm.name = 'insertion_breakpoint' OR cvterm.name = 'deletion_breakpoint' OR cvterm.name = 'chromosome_breakpoint';
- CREATE VIEW inversion_breakpoint AS
- SELECT
- feature_id AS inversion_breakpoint_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_breakpoint';
- CREATE VIEW allele AS
- SELECT
- feature_id AS allele_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'allele';
- CREATE VIEW haplotype AS
- SELECT
- feature_id AS haplotype_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'haplotype';
- CREATE VIEW polymorphic_sequence_variant AS
- SELECT
- feature_id AS polymorphic_sequence_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polymorphic_sequence_variant';
- CREATE VIEW genome AS
- SELECT
- feature_id AS genome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'genome';
- CREATE VIEW genotype AS
- SELECT
- feature_id AS genotype_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'diplotype' OR cvterm.name = 'genotype';
- CREATE VIEW diplotype AS
- SELECT
- feature_id AS diplotype_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'diplotype';
- CREATE VIEW direction_attribute AS
- SELECT
- feature_id AS direction_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'forward' OR cvterm.name = 'reverse' OR cvterm.name = 'direction_attribute';
- CREATE VIEW forward AS
- SELECT
- feature_id AS forward_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'forward';
- CREATE VIEW reverse AS
- SELECT
- feature_id AS reverse_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'reverse';
- CREATE VIEW mitochondrial_dna AS
- SELECT
- feature_id AS mitochondrial_dna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mitochondrial_DNA';
- CREATE VIEW chloroplast_dna AS
- SELECT
- feature_id AS chloroplast_dna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chloroplast_DNA';
- CREATE VIEW mirtron AS
- SELECT
- feature_id AS mirtron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mirtron';
- CREATE VIEW pirna AS
- SELECT
- feature_id AS pirna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'piRNA';
- CREATE VIEW arginyl_trna AS
- SELECT
- feature_id AS arginyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'arginyl_tRNA';
- CREATE VIEW mobile_genetic_element AS
- SELECT
- feature_id AS mobile_genetic_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mobile_intron' OR cvterm.name = 'extrachromosomal_mobile_genetic_element' OR cvterm.name = 'integrated_mobile_genetic_element' OR cvterm.name = 'viral_sequence' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'transposable_element' OR cvterm.name = 'proviral_region' OR cvterm.name = 'integron' OR cvterm.name = 'genomic_island' OR cvterm.name = 'integrated_plasmid' OR cvterm.name = 'cointegrated_plasmid' OR cvterm.name = 'retrotransposon' OR cvterm.name = 'DNA_transposon' OR cvterm.name = 'foreign_transposable_element' OR cvterm.name = 'transgenic_transposable_element' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'transposon_fragment' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' OR cvterm.name = 'RR_tract' OR cvterm.name = 'LINE_element' OR cvterm.name = 'SINE_element' OR cvterm.name = 'terminal_inverted_repeat_element' OR cvterm.name = 'foldback_element' OR cvterm.name = 'conjugative_transposon' OR cvterm.name = 'helitron' OR cvterm.name = 'MITE' OR cvterm.name = 'insertion_sequence' OR cvterm.name = 'polinton' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'prophage' OR cvterm.name = 'pathogenic_island' OR cvterm.name = 'metabolic_island' OR cvterm.name = 'adaptive_island' OR cvterm.name = 'symbiosis_island' OR cvterm.name = 'cryptic_prophage' OR cvterm.name = 'defective_conjugative_transposon' OR cvterm.name = 'mobile_genetic_element';
- CREATE VIEW extrachromosomal_mobile_genetic_element AS
- SELECT
- feature_id AS extrachromosomal_mobile_genetic_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'viral_sequence' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'extrachromosomal_mobile_genetic_element';
- CREATE VIEW integrated_mobile_genetic_element AS
- SELECT
- feature_id AS integrated_mobile_genetic_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transposable_element' OR cvterm.name = 'proviral_region' OR cvterm.name = 'integron' OR cvterm.name = 'genomic_island' OR cvterm.name = 'integrated_plasmid' OR cvterm.name = 'cointegrated_plasmid' OR cvterm.name = 'retrotransposon' OR cvterm.name = 'DNA_transposon' OR cvterm.name = 'foreign_transposable_element' OR cvterm.name = 'transgenic_transposable_element' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'transposon_fragment' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' OR cvterm.name = 'RR_tract' OR cvterm.name = 'LINE_element' OR cvterm.name = 'SINE_element' OR cvterm.name = 'terminal_inverted_repeat_element' OR cvterm.name = 'foldback_element' OR cvterm.name = 'conjugative_transposon' OR cvterm.name = 'helitron' OR cvterm.name = 'MITE' OR cvterm.name = 'insertion_sequence' OR cvterm.name = 'polinton' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'prophage' OR cvterm.name = 'pathogenic_island' OR cvterm.name = 'metabolic_island' OR cvterm.name = 'adaptive_island' OR cvterm.name = 'symbiosis_island' OR cvterm.name = 'cryptic_prophage' OR cvterm.name = 'defective_conjugative_transposon' OR cvterm.name = 'integrated_mobile_genetic_element';
- CREATE VIEW integrated_plasmid AS
- SELECT
- feature_id AS integrated_plasmid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'integrated_plasmid';
- CREATE VIEW viral_sequence AS
- SELECT
- feature_id AS viral_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'viral_sequence';
- CREATE VIEW phage_sequence AS
- SELECT
- feature_id AS phage_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'phage_sequence';
- CREATE VIEW attctn_site AS
- SELECT
- feature_id AS attctn_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attCtn_site';
- CREATE VIEW nuclear_mt_pseudogene AS
- SELECT
- feature_id AS nuclear_mt_pseudogene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclear_mt_pseudogene';
- CREATE VIEW cointegrated_plasmid AS
- SELECT
- feature_id AS cointegrated_plasmid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cointegrated_plasmid';
- CREATE VIEW irlinv_site AS
- SELECT
- feature_id AS irlinv_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'IRLinv_site';
- CREATE VIEW irrinv_site AS
- SELECT
- feature_id AS irrinv_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'IRRinv_site';
- CREATE VIEW inversion_site_part AS
- SELECT
- feature_id AS inversion_site_part_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'IRLinv_site' OR cvterm.name = 'IRRinv_site' OR cvterm.name = 'inversion_site_part';
- CREATE VIEW defective_conjugative_transposon AS
- SELECT
- feature_id AS defective_conjugative_transposon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'defective_conjugative_transposon';
- CREATE VIEW repeat_fragment AS
- SELECT
- feature_id AS repeat_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'repeat_fragment';
- CREATE VIEW transposon_fragment AS
- SELECT
- feature_id AS transposon_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transposon_fragment';
- CREATE VIEW transcriptional_cis_regulatory_region AS
- SELECT
- feature_id AS transcriptional_cis_regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'promoter' OR cvterm.name = 'insulator' OR cvterm.name = 'CRM' OR cvterm.name = 'promoter_targeting_sequence' OR cvterm.name = 'bidirectional_promoter' OR cvterm.name = 'RNA_polymerase_promoter' OR cvterm.name = 'RNApol_I_promoter' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'Phage_RNA_Polymerase_Promoter' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'SP6_RNA_Polymerase_Promoter' OR cvterm.name = 'T3_RNA_Polymerase_Promoter' OR cvterm.name = 'T7_RNA_Polymerase_Promoter' OR cvterm.name = 'locus_control_region' OR cvterm.name = 'enhancer' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'transcriptional_cis_regulatory_region';
- CREATE VIEW splicing_regulatory_region AS
- SELECT
- feature_id AS splicing_regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'splicing_regulatory_region';
- CREATE VIEW promoter_targeting_sequence AS
- SELECT
- feature_id AS promoter_targeting_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'promoter_targeting_sequence';
- CREATE VIEW sequence_alteration AS
- SELECT
- feature_id AS sequence_alteration_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deletion' OR cvterm.name = 'translocation' OR cvterm.name = 'insertion' OR cvterm.name = 'substitution' OR cvterm.name = 'uncharacterised_change_in_nucleotide_sequence' OR cvterm.name = 'indel' OR cvterm.name = 'inversion' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'point_mutation' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'MNP' OR cvterm.name = 'transition' OR cvterm.name = 'transversion' OR cvterm.name = 'pyrimidine_transition' OR cvterm.name = 'purine_transition' OR cvterm.name = 'C_to_T_transition' OR cvterm.name = 'T_to_C_transition' OR cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'A_to_G_transition' OR cvterm.name = 'G_to_A_transition' OR cvterm.name = 'pyrimidine_to_purine_transversion' OR cvterm.name = 'purine_to_pyrimidine_transversion' OR cvterm.name = 'C_to_A_transversion' OR cvterm.name = 'C_to_G_transversion' OR cvterm.name = 'T_to_A_transversion' OR cvterm.name = 'T_to_G_transversion' OR cvterm.name = 'A_to_C_transversion' OR cvterm.name = 'A_to_T_transversion' OR cvterm.name = 'G_to_C_transversion' OR cvterm.name = 'G_to_T_transversion' OR cvterm.name = 'partially_characterised_change_in_DNA_sequence' OR cvterm.name = 'nucleotide_deletion' OR cvterm.name = 'nucleotide_insertion' OR cvterm.name = 'nucleotide_duplication' OR cvterm.name = 'sequence_alteration';
- CREATE VIEW sequence_variant AS
- SELECT
- feature_id AS sequence_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'copy_number_variation' OR cvterm.name = 'allele' OR cvterm.name = 'haplotype' OR cvterm.name = 'polymorphic_sequence_variant' OR cvterm.name = 'genotype' OR cvterm.name = 'diplotype' OR cvterm.name = 'sequence_variant';
- CREATE VIEW propeptide_cleavage_site AS
- SELECT
- feature_id AS propeptide_cleavage_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'propeptide_cleavage_site';
- CREATE VIEW propeptide AS
- SELECT
- feature_id AS propeptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'propeptide';
- CREATE VIEW immature_peptide_region AS
- SELECT
- feature_id AS immature_peptide_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'immature_peptide_region';
- CREATE VIEW active_peptide AS
- SELECT
- feature_id AS active_peptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'active_peptide';
- CREATE VIEW compositionally_biased_region_of_peptide AS
- SELECT
- feature_id AS compositionally_biased_region_of_peptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'compositionally_biased_region_of_peptide';
- CREATE VIEW polypeptide_motif AS
- SELECT
- feature_id AS polypeptide_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'biochemical_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_motif' OR cvterm.name = 'post_translationally_modified_region' OR cvterm.name = 'conformational_switch' OR cvterm.name = 'molecular_contact_region' OR cvterm.name = 'polypeptide_binding_motif' OR cvterm.name = 'polypeptide_catalytic_motif' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'polypeptide_motif';
- CREATE VIEW polypeptide_repeat AS
- SELECT
- feature_id AS polypeptide_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_repeat';
- CREATE VIEW polypeptide_structural_region AS
- SELECT
- feature_id AS polypeptide_structural_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_domain' OR cvterm.name = 'membrane_structure' OR cvterm.name = 'extramembrane_polypeptide_region' OR cvterm.name = 'intramembrane_polypeptide_region' OR cvterm.name = 'polypeptide_secondary_structure' OR cvterm.name = 'polypeptide_structural_motif' OR cvterm.name = 'intrinsically_unstructured_polypeptide_region' OR cvterm.name = 'cytoplasmic_polypeptide_region' OR cvterm.name = 'non_cytoplasmic_polypeptide_region' OR cvterm.name = 'membrane_peptide_loop' OR cvterm.name = 'transmembrane_polypeptide_region' OR cvterm.name = 'asx_motif' OR cvterm.name = 'beta_bulge' OR cvterm.name = 'beta_bulge_loop' OR cvterm.name = 'beta_strand' OR cvterm.name = 'peptide_helix' OR cvterm.name = 'polypeptide_nest_motif' OR cvterm.name = 'schellmann_loop' OR cvterm.name = 'serine_threonine_motif' OR cvterm.name = 'serine_threonine_staple_motif' OR cvterm.name = 'polypeptide_turn_motif' OR cvterm.name = 'catmat_left_handed_three' OR cvterm.name = 'catmat_left_handed_four' OR cvterm.name = 'catmat_right_handed_three' OR cvterm.name = 'catmat_right_handed_four' OR cvterm.name = 'alpha_beta_motif' OR cvterm.name = 'peptide_coil' OR cvterm.name = 'beta_bulge_loop_five' OR cvterm.name = 'beta_bulge_loop_six' OR cvterm.name = 'antiparallel_beta_strand' OR cvterm.name = 'parallel_beta_strand' OR cvterm.name = 'left_handed_peptide_helix' OR cvterm.name = 'right_handed_peptide_helix' OR cvterm.name = 'alpha_helix' OR cvterm.name = 'pi_helix' OR cvterm.name = 'three_ten_helix' OR cvterm.name = 'polypeptide_nest_left_right_motif' OR cvterm.name = 'polypeptide_nest_right_left_motif' OR cvterm.name = 'schellmann_loop_seven' OR cvterm.name = 'schellmann_loop_six' OR cvterm.name = 'asx_turn' OR cvterm.name = 'beta_turn' OR cvterm.name = 'gamma_turn' OR cvterm.name = 'serine_threonine_turn' OR cvterm.name = 'asx_turn_left_handed_type_one' OR cvterm.name = 'asx_turn_left_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_two' OR cvterm.name = 'beta_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_right_handed_type_two' OR cvterm.name = 'beta_turn_type_six' OR cvterm.name = 'beta_turn_type_eight' OR cvterm.name = 'beta_turn_type_six_a' OR cvterm.name = 'beta_turn_type_six_b' OR cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'gamma_turn_classic' OR cvterm.name = 'gamma_turn_inverse' OR cvterm.name = 'st_turn_left_handed_type_one' OR cvterm.name = 'st_turn_left_handed_type_two' OR cvterm.name = 'st_turn_right_handed_type_one' OR cvterm.name = 'st_turn_right_handed_type_two' OR cvterm.name = 'coiled_coil' OR cvterm.name = 'helix_turn_helix' OR cvterm.name = 'polypeptide_structural_region';
- CREATE VIEW membrane_structure AS
- SELECT
- feature_id AS membrane_structure_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'membrane_structure';
- CREATE VIEW extramembrane_polypeptide_region AS
- SELECT
- feature_id AS extramembrane_polypeptide_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cytoplasmic_polypeptide_region' OR cvterm.name = 'non_cytoplasmic_polypeptide_region' OR cvterm.name = 'extramembrane_polypeptide_region';
- CREATE VIEW cytoplasmic_polypeptide_region AS
- SELECT
- feature_id AS cytoplasmic_polypeptide_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cytoplasmic_polypeptide_region';
- CREATE VIEW non_cytoplasmic_polypeptide_region AS
- SELECT
- feature_id AS non_cytoplasmic_polypeptide_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_cytoplasmic_polypeptide_region';
- CREATE VIEW intramembrane_polypeptide_region AS
- SELECT
- feature_id AS intramembrane_polypeptide_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'membrane_peptide_loop' OR cvterm.name = 'transmembrane_polypeptide_region' OR cvterm.name = 'intramembrane_polypeptide_region';
- CREATE VIEW membrane_peptide_loop AS
- SELECT
- feature_id AS membrane_peptide_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'membrane_peptide_loop';
- CREATE VIEW transmembrane_polypeptide_region AS
- SELECT
- feature_id AS transmembrane_polypeptide_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transmembrane_polypeptide_region';
- CREATE VIEW polypeptide_secondary_structure AS
- SELECT
- feature_id AS polypeptide_secondary_structure_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asx_motif' OR cvterm.name = 'beta_bulge' OR cvterm.name = 'beta_bulge_loop' OR cvterm.name = 'beta_strand' OR cvterm.name = 'peptide_helix' OR cvterm.name = 'polypeptide_nest_motif' OR cvterm.name = 'schellmann_loop' OR cvterm.name = 'serine_threonine_motif' OR cvterm.name = 'serine_threonine_staple_motif' OR cvterm.name = 'polypeptide_turn_motif' OR cvterm.name = 'catmat_left_handed_three' OR cvterm.name = 'catmat_left_handed_four' OR cvterm.name = 'catmat_right_handed_three' OR cvterm.name = 'catmat_right_handed_four' OR cvterm.name = 'alpha_beta_motif' OR cvterm.name = 'peptide_coil' OR cvterm.name = 'beta_bulge_loop_five' OR cvterm.name = 'beta_bulge_loop_six' OR cvterm.name = 'antiparallel_beta_strand' OR cvterm.name = 'parallel_beta_strand' OR cvterm.name = 'left_handed_peptide_helix' OR cvterm.name = 'right_handed_peptide_helix' OR cvterm.name = 'alpha_helix' OR cvterm.name = 'pi_helix' OR cvterm.name = 'three_ten_helix' OR cvterm.name = 'polypeptide_nest_left_right_motif' OR cvterm.name = 'polypeptide_nest_right_left_motif' OR cvterm.name = 'schellmann_loop_seven' OR cvterm.name = 'schellmann_loop_six' OR cvterm.name = 'asx_turn' OR cvterm.name = 'beta_turn' OR cvterm.name = 'gamma_turn' OR cvterm.name = 'serine_threonine_turn' OR cvterm.name = 'asx_turn_left_handed_type_one' OR cvterm.name = 'asx_turn_left_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_two' OR cvterm.name = 'beta_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_right_handed_type_two' OR cvterm.name = 'beta_turn_type_six' OR cvterm.name = 'beta_turn_type_eight' OR cvterm.name = 'beta_turn_type_six_a' OR cvterm.name = 'beta_turn_type_six_b' OR cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'gamma_turn_classic' OR cvterm.name = 'gamma_turn_inverse' OR cvterm.name = 'st_turn_left_handed_type_one' OR cvterm.name = 'st_turn_left_handed_type_two' OR cvterm.name = 'st_turn_right_handed_type_one' OR cvterm.name = 'st_turn_right_handed_type_two' OR cvterm.name = 'polypeptide_secondary_structure';
- CREATE VIEW polypeptide_structural_motif AS
- SELECT
- feature_id AS polypeptide_structural_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'coiled_coil' OR cvterm.name = 'helix_turn_helix' OR cvterm.name = 'polypeptide_structural_motif';
- CREATE VIEW coiled_coil AS
- SELECT
- feature_id AS coiled_coil_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'coiled_coil';
- CREATE VIEW helix_turn_helix AS
- SELECT
- feature_id AS helix_turn_helix_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'helix_turn_helix';
- CREATE VIEW polypeptide_sequencing_information AS
- SELECT
- feature_id AS polypeptide_sequencing_information_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_adjacent_residues' OR cvterm.name = 'non_terminal_residue' OR cvterm.name = 'sequence_conflict' OR cvterm.name = 'sequence_uncertainty' OR cvterm.name = 'polypeptide_sequencing_information';
- CREATE VIEW non_adjacent_residues AS
- SELECT
- feature_id AS non_adjacent_residues_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_adjacent_residues';
- CREATE VIEW non_terminal_residue AS
- SELECT
- feature_id AS non_terminal_residue_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_terminal_residue';
- CREATE VIEW sequence_conflict AS
- SELECT
- feature_id AS sequence_conflict_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_conflict';
- CREATE VIEW sequence_uncertainty AS
- SELECT
- feature_id AS sequence_uncertainty_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_uncertainty';
- CREATE VIEW post_translationally_modified_region AS
- SELECT
- feature_id AS post_translationally_modified_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'post_translationally_modified_region';
- CREATE VIEW polypeptide_metal_contact AS
- SELECT
- feature_id AS polypeptide_metal_contact_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'polypeptide_metal_contact';
- CREATE VIEW protein_protein_contact AS
- SELECT
- feature_id AS protein_protein_contact_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'protein_protein_contact';
- CREATE VIEW polypeptide_calcium_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_calcium_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_calcium_ion_contact_site';
- CREATE VIEW polypeptide_cobalt_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_cobalt_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_cobalt_ion_contact_site';
- CREATE VIEW polypeptide_copper_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_copper_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_copper_ion_contact_site';
- CREATE VIEW polypeptide_iron_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_iron_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_iron_ion_contact_site';
- CREATE VIEW polypeptide_magnesium_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_magnesium_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_magnesium_ion_contact_site';
- CREATE VIEW polypeptide_manganese_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_manganese_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_manganese_ion_contact_site';
- CREATE VIEW polypeptide_molybdenum_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_molybdenum_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_molybdenum_ion_contact_site';
- CREATE VIEW polypeptide_nickel_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_nickel_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_nickel_ion_contact_site';
- CREATE VIEW polypeptide_tungsten_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_tungsten_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_tungsten_ion_contact_site';
- CREATE VIEW polypeptide_zinc_ion_contact_site AS
- SELECT
- feature_id AS polypeptide_zinc_ion_contact_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_zinc_ion_contact_site';
- CREATE VIEW catalytic_residue AS
- SELECT
- feature_id AS catalytic_residue_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'catalytic_residue';
- CREATE VIEW polypeptide_ligand_contact AS
- SELECT
- feature_id AS polypeptide_ligand_contact_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_ligand_contact';
- CREATE VIEW asx_motif AS
- SELECT
- feature_id AS asx_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asx_motif';
- CREATE VIEW beta_bulge AS
- SELECT
- feature_id AS beta_bulge_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_bulge';
- CREATE VIEW beta_bulge_loop AS
- SELECT
- feature_id AS beta_bulge_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_bulge_loop_five' OR cvterm.name = 'beta_bulge_loop_six' OR cvterm.name = 'beta_bulge_loop';
- CREATE VIEW beta_bulge_loop_five AS
- SELECT
- feature_id AS beta_bulge_loop_five_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_bulge_loop_five';
- CREATE VIEW beta_bulge_loop_six AS
- SELECT
- feature_id AS beta_bulge_loop_six_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_bulge_loop_six';
- CREATE VIEW beta_strand AS
- SELECT
- feature_id AS beta_strand_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'antiparallel_beta_strand' OR cvterm.name = 'parallel_beta_strand' OR cvterm.name = 'beta_strand';
- CREATE VIEW antiparallel_beta_strand AS
- SELECT
- feature_id AS antiparallel_beta_strand_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'antiparallel_beta_strand';
- CREATE VIEW parallel_beta_strand AS
- SELECT
- feature_id AS parallel_beta_strand_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'parallel_beta_strand';
- CREATE VIEW peptide_helix AS
- SELECT
- feature_id AS peptide_helix_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'left_handed_peptide_helix' OR cvterm.name = 'right_handed_peptide_helix' OR cvterm.name = 'alpha_helix' OR cvterm.name = 'pi_helix' OR cvterm.name = 'three_ten_helix' OR cvterm.name = 'peptide_helix';
- CREATE VIEW left_handed_peptide_helix AS
- SELECT
- feature_id AS left_handed_peptide_helix_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'left_handed_peptide_helix';
- CREATE VIEW right_handed_peptide_helix AS
- SELECT
- feature_id AS right_handed_peptide_helix_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alpha_helix' OR cvterm.name = 'pi_helix' OR cvterm.name = 'three_ten_helix' OR cvterm.name = 'right_handed_peptide_helix';
- CREATE VIEW alpha_helix AS
- SELECT
- feature_id AS alpha_helix_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alpha_helix';
- CREATE VIEW pi_helix AS
- SELECT
- feature_id AS pi_helix_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pi_helix';
- CREATE VIEW three_ten_helix AS
- SELECT
- feature_id AS three_ten_helix_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_ten_helix';
- CREATE VIEW polypeptide_nest_motif AS
- SELECT
- feature_id AS polypeptide_nest_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_nest_left_right_motif' OR cvterm.name = 'polypeptide_nest_right_left_motif' OR cvterm.name = 'polypeptide_nest_motif';
- CREATE VIEW polypeptide_nest_left_right_motif AS
- SELECT
- feature_id AS polypeptide_nest_left_right_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_nest_left_right_motif';
- CREATE VIEW polypeptide_nest_right_left_motif AS
- SELECT
- feature_id AS polypeptide_nest_right_left_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_nest_right_left_motif';
- CREATE VIEW schellmann_loop AS
- SELECT
- feature_id AS schellmann_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'schellmann_loop_seven' OR cvterm.name = 'schellmann_loop_six' OR cvterm.name = 'schellmann_loop';
- CREATE VIEW schellmann_loop_seven AS
- SELECT
- feature_id AS schellmann_loop_seven_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'schellmann_loop_seven';
- CREATE VIEW schellmann_loop_six AS
- SELECT
- feature_id AS schellmann_loop_six_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'schellmann_loop_six';
- CREATE VIEW serine_threonine_motif AS
- SELECT
- feature_id AS serine_threonine_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'serine_threonine_motif';
- CREATE VIEW serine_threonine_staple_motif AS
- SELECT
- feature_id AS serine_threonine_staple_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'serine_threonine_staple_motif';
- CREATE VIEW polypeptide_turn_motif AS
- SELECT
- feature_id AS polypeptide_turn_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asx_turn' OR cvterm.name = 'beta_turn' OR cvterm.name = 'gamma_turn' OR cvterm.name = 'serine_threonine_turn' OR cvterm.name = 'asx_turn_left_handed_type_one' OR cvterm.name = 'asx_turn_left_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_two' OR cvterm.name = 'beta_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_right_handed_type_two' OR cvterm.name = 'beta_turn_type_six' OR cvterm.name = 'beta_turn_type_eight' OR cvterm.name = 'beta_turn_type_six_a' OR cvterm.name = 'beta_turn_type_six_b' OR cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'gamma_turn_classic' OR cvterm.name = 'gamma_turn_inverse' OR cvterm.name = 'st_turn_left_handed_type_one' OR cvterm.name = 'st_turn_left_handed_type_two' OR cvterm.name = 'st_turn_right_handed_type_one' OR cvterm.name = 'st_turn_right_handed_type_two' OR cvterm.name = 'polypeptide_turn_motif';
- CREATE VIEW asx_turn_left_handed_type_one AS
- SELECT
- feature_id AS asx_turn_left_handed_type_one_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asx_turn_left_handed_type_one';
- CREATE VIEW asx_turn_left_handed_type_two AS
- SELECT
- feature_id AS asx_turn_left_handed_type_two_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asx_turn_left_handed_type_two';
- CREATE VIEW asx_turn_right_handed_type_two AS
- SELECT
- feature_id AS asx_turn_right_handed_type_two_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asx_turn_right_handed_type_two';
- CREATE VIEW asx_turn_right_handed_type_one AS
- SELECT
- feature_id AS asx_turn_right_handed_type_one_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asx_turn_right_handed_type_one';
- CREATE VIEW beta_turn AS
- SELECT
- feature_id AS beta_turn_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_left_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_two' OR cvterm.name = 'beta_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_right_handed_type_two' OR cvterm.name = 'beta_turn_type_six' OR cvterm.name = 'beta_turn_type_eight' OR cvterm.name = 'beta_turn_type_six_a' OR cvterm.name = 'beta_turn_type_six_b' OR cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'beta_turn';
- CREATE VIEW beta_turn_left_handed_type_one AS
- SELECT
- feature_id AS beta_turn_left_handed_type_one_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_left_handed_type_one';
- CREATE VIEW beta_turn_left_handed_type_two AS
- SELECT
- feature_id AS beta_turn_left_handed_type_two_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_left_handed_type_two';
- CREATE VIEW beta_turn_right_handed_type_one AS
- SELECT
- feature_id AS beta_turn_right_handed_type_one_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_right_handed_type_one';
- CREATE VIEW beta_turn_right_handed_type_two AS
- SELECT
- feature_id AS beta_turn_right_handed_type_two_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_right_handed_type_two';
- CREATE VIEW gamma_turn AS
- SELECT
- feature_id AS gamma_turn_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gamma_turn_classic' OR cvterm.name = 'gamma_turn_inverse' OR cvterm.name = 'gamma_turn';
- CREATE VIEW gamma_turn_classic AS
- SELECT
- feature_id AS gamma_turn_classic_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gamma_turn_classic';
- CREATE VIEW gamma_turn_inverse AS
- SELECT
- feature_id AS gamma_turn_inverse_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gamma_turn_inverse';
- CREATE VIEW serine_threonine_turn AS
- SELECT
- feature_id AS serine_threonine_turn_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'st_turn_left_handed_type_one' OR cvterm.name = 'st_turn_left_handed_type_two' OR cvterm.name = 'st_turn_right_handed_type_one' OR cvterm.name = 'st_turn_right_handed_type_two' OR cvterm.name = 'serine_threonine_turn';
- CREATE VIEW st_turn_left_handed_type_one AS
- SELECT
- feature_id AS st_turn_left_handed_type_one_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'st_turn_left_handed_type_one';
- CREATE VIEW st_turn_left_handed_type_two AS
- SELECT
- feature_id AS st_turn_left_handed_type_two_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'st_turn_left_handed_type_two';
- CREATE VIEW st_turn_right_handed_type_one AS
- SELECT
- feature_id AS st_turn_right_handed_type_one_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'st_turn_right_handed_type_one';
- CREATE VIEW st_turn_right_handed_type_two AS
- SELECT
- feature_id AS st_turn_right_handed_type_two_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'st_turn_right_handed_type_two';
- CREATE VIEW polypeptide_variation_site AS
- SELECT
- feature_id AS polypeptide_variation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'natural_variant_site' OR cvterm.name = 'mutated_variant_site' OR cvterm.name = 'alternate_sequence_site' OR cvterm.name = 'polypeptide_variation_site';
- CREATE VIEW natural_variant_site AS
- SELECT
- feature_id AS natural_variant_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'natural_variant_site';
- CREATE VIEW mutated_variant_site AS
- SELECT
- feature_id AS mutated_variant_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mutated_variant_site';
- CREATE VIEW alternate_sequence_site AS
- SELECT
- feature_id AS alternate_sequence_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alternate_sequence_site';
- CREATE VIEW beta_turn_type_six AS
- SELECT
- feature_id AS beta_turn_type_six_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_type_six_a' OR cvterm.name = 'beta_turn_type_six_b' OR cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'beta_turn_type_six';
- CREATE VIEW beta_turn_type_six_a AS
- SELECT
- feature_id AS beta_turn_type_six_a_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'beta_turn_type_six_a';
- CREATE VIEW beta_turn_type_six_a_one AS
- SELECT
- feature_id AS beta_turn_type_six_a_one_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_type_six_a_one';
- CREATE VIEW beta_turn_type_six_a_two AS
- SELECT
- feature_id AS beta_turn_type_six_a_two_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_type_six_a_two';
- CREATE VIEW beta_turn_type_six_b AS
- SELECT
- feature_id AS beta_turn_type_six_b_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_type_six_b';
- CREATE VIEW beta_turn_type_eight AS
- SELECT
- feature_id AS beta_turn_type_eight_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'beta_turn_type_eight';
- CREATE VIEW dre_motif AS
- SELECT
- feature_id AS dre_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DRE_motif';
- CREATE VIEW dmv4_motif AS
- SELECT
- feature_id AS dmv4_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DMv4_motif';
- CREATE VIEW e_box_motif AS
- SELECT
- feature_id AS e_box_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'E_box_motif';
- CREATE VIEW dmv5_motif AS
- SELECT
- feature_id AS dmv5_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DMv5_motif';
- CREATE VIEW dmv3_motif AS
- SELECT
- feature_id AS dmv3_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DMv3_motif';
- CREATE VIEW dmv2_motif AS
- SELECT
- feature_id AS dmv2_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DMv2_motif';
- CREATE VIEW mte AS
- SELECT
- feature_id AS mte_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'MTE';
- CREATE VIEW inr1_motif AS
- SELECT
- feature_id AS inr1_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'INR1_motif';
- CREATE VIEW dpe1_motif AS
- SELECT
- feature_id AS dpe1_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DPE1_motif';
- CREATE VIEW dmv1_motif AS
- SELECT
- feature_id AS dmv1_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DMv1_motif';
- CREATE VIEW gaga_motif AS
- SELECT
- feature_id AS gaga_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'GAGA_motif';
- CREATE VIEW ndm2_motif AS
- SELECT
- feature_id AS ndm2_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'NDM2_motif';
- CREATE VIEW ndm3_motif AS
- SELECT
- feature_id AS ndm3_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'NDM3_motif';
- CREATE VIEW ds_rna_viral_sequence AS
- SELECT
- feature_id AS ds_rna_viral_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ds_RNA_viral_sequence';
- CREATE VIEW polinton AS
- SELECT
- feature_id AS polinton_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polinton';
- CREATE VIEW rrna_21s AS
- SELECT
- feature_id AS rrna_21s_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_21S';
- CREATE VIEW trna_region AS
- SELECT
- feature_id AS trna_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'anticodon_loop' OR cvterm.name = 'anticodon' OR cvterm.name = 'CCA_tail' OR cvterm.name = 'DHU_loop' OR cvterm.name = 'T_loop' OR cvterm.name = 'tRNA_region';
- CREATE VIEW anticodon_loop AS
- SELECT
- feature_id AS anticodon_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'anticodon_loop';
- CREATE VIEW anticodon AS
- SELECT
- feature_id AS anticodon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'anticodon';
- CREATE VIEW cca_tail AS
- SELECT
- feature_id AS cca_tail_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CCA_tail';
- CREATE VIEW dhu_loop AS
- SELECT
- feature_id AS dhu_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DHU_loop';
- CREATE VIEW t_loop AS
- SELECT
- feature_id AS t_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'T_loop';
- CREATE VIEW pyrrolysine_trna_primary_transcript AS
- SELECT
- feature_id AS pyrrolysine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pyrrolysine_tRNA_primary_transcript';
- CREATE VIEW u3_snorna AS
- SELECT
- feature_id AS u3_snorna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U3_snoRNA';
- CREATE VIEW au_rich_element AS
- SELECT
- feature_id AS au_rich_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'AU_rich_element';
- CREATE VIEW bruno_response_element AS
- SELECT
- feature_id AS bruno_response_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'Bruno_response_element';
- CREATE VIEW iron_responsive_element AS
- SELECT
- feature_id AS iron_responsive_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'iron_responsive_element';
- CREATE VIEW morpholino AS
- SELECT
- feature_id AS morpholino_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'morpholino';
- CREATE VIEW pna AS
- SELECT
- feature_id AS pna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'PNA';
- CREATE VIEW enzymatic AS
- SELECT
- feature_id AS enzymatic_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ribozymic' OR cvterm.name = 'enzymatic';
- CREATE VIEW ribozymic AS
- SELECT
- feature_id AS ribozymic_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ribozymic';
- CREATE VIEW pseudouridylation_guide_snorna AS
- SELECT
- feature_id AS pseudouridylation_guide_snorna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudouridylation_guide_snoRNA';
- CREATE VIEW lna AS
- SELECT
- feature_id AS lna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'LNA';
- CREATE VIEW lna_oligo AS
- SELECT
- feature_id AS lna_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'LNA_oligo';
- CREATE VIEW tna AS
- SELECT
- feature_id AS tna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'TNA';
- CREATE VIEW tna_oligo AS
- SELECT
- feature_id AS tna_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'TNA_oligo';
- CREATE VIEW gna AS
- SELECT
- feature_id AS gna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'R_GNA' OR cvterm.name = 'S_GNA' OR cvterm.name = 'GNA';
- CREATE VIEW gna_oligo AS
- SELECT
- feature_id AS gna_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'R_GNA_oligo' OR cvterm.name = 'S_GNA_oligo' OR cvterm.name = 'GNA_oligo';
- CREATE VIEW r_gna AS
- SELECT
- feature_id AS r_gna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'R_GNA';
- CREATE VIEW r_gna_oligo AS
- SELECT
- feature_id AS r_gna_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'R_GNA_oligo';
- CREATE VIEW s_gna AS
- SELECT
- feature_id AS s_gna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'S_GNA';
- CREATE VIEW s_gna_oligo AS
- SELECT
- feature_id AS s_gna_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'S_GNA_oligo';
- CREATE VIEW ds_dna_viral_sequence AS
- SELECT
- feature_id AS ds_dna_viral_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ds_DNA_viral_sequence';
- CREATE VIEW ss_rna_viral_sequence AS
- SELECT
- feature_id AS ss_rna_viral_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence';
- CREATE VIEW negative_sense_ssrna_viral_sequence AS
- SELECT
- feature_id AS negative_sense_ssrna_viral_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'negative_sense_ssRNA_viral_sequence';
- CREATE VIEW positive_sense_ssrna_viral_sequence AS
- SELECT
- feature_id AS positive_sense_ssrna_viral_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'positive_sense_ssRNA_viral_sequence';
- CREATE VIEW ambisense_ssrna_viral_sequence AS
- SELECT
- feature_id AS ambisense_ssrna_viral_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ambisense_ssRNA_viral_sequence';
- CREATE VIEW rna_polymerase_promoter AS
- SELECT
- feature_id AS rna_polymerase_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNApol_I_promoter' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'Phage_RNA_Polymerase_Promoter' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'SP6_RNA_Polymerase_Promoter' OR cvterm.name = 'T3_RNA_Polymerase_Promoter' OR cvterm.name = 'T7_RNA_Polymerase_Promoter' OR cvterm.name = 'RNA_polymerase_promoter';
- CREATE VIEW phage_rna_polymerase_promoter AS
- SELECT
- feature_id AS phage_rna_polymerase_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SP6_RNA_Polymerase_Promoter' OR cvterm.name = 'T3_RNA_Polymerase_Promoter' OR cvterm.name = 'T7_RNA_Polymerase_Promoter' OR cvterm.name = 'Phage_RNA_Polymerase_Promoter';
- CREATE VIEW sp6_rna_polymerase_promoter AS
- SELECT
- feature_id AS sp6_rna_polymerase_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SP6_RNA_Polymerase_Promoter';
- CREATE VIEW t3_rna_polymerase_promoter AS
- SELECT
- feature_id AS t3_rna_polymerase_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'T3_RNA_Polymerase_Promoter';
- CREATE VIEW t7_rna_polymerase_promoter AS
- SELECT
- feature_id AS t7_rna_polymerase_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'T7_RNA_Polymerase_Promoter';
- CREATE VIEW five_prime_est AS
- SELECT
- feature_id AS five_prime_est_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_EST';
- CREATE VIEW three_prime_est AS
- SELECT
- feature_id AS three_prime_est_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_EST';
- CREATE VIEW translational_frameshift AS
- SELECT
- feature_id AS translational_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plus_1_translational_frameshift' OR cvterm.name = 'plus_2_translational_frameshift' OR cvterm.name = 'translational_frameshift';
- CREATE VIEW plus_1_translational_frameshift AS
- SELECT
- feature_id AS plus_1_translational_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plus_1_translational_frameshift';
- CREATE VIEW plus_2_translational_frameshift AS
- SELECT
- feature_id AS plus_2_translational_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plus_2_translational_frameshift';
- CREATE VIEW group_iii_intron AS
- SELECT
- feature_id AS group_iii_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'group_III_intron';
- CREATE VIEW noncoding_region_of_exon AS
- SELECT
- feature_id AS noncoding_region_of_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_noncoding_region' OR cvterm.name = 'noncoding_region_of_exon';
- CREATE VIEW coding_region_of_exon AS
- SELECT
- feature_id AS coding_region_of_exon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_coding_exon_coding_region' OR cvterm.name = 'three_prime_coding exon_coding_region' OR cvterm.name = 'coding_region_of_exon';
- CREATE VIEW endonuclease_spliced_intron AS
- SELECT
- feature_id AS endonuclease_spliced_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'archaeal_intron' OR cvterm.name = 'tRNA_intron' OR cvterm.name = 'endonuclease_spliced_intron';
- CREATE VIEW protein_coding_gene AS
- SELECT
- feature_id AS protein_coding_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_polyadenylated_mRNA' OR cvterm.name = 'gene_with_mRNA_with_frameshift' OR cvterm.name = 'gene_with_edited_transcript' OR cvterm.name = 'gene_with_recoded_mRNA' OR cvterm.name = 'gene_with_stop_codon_read_through' OR cvterm.name = 'gene_with_mRNA_recoded_by_translational_bypass' OR cvterm.name = 'gene_with_transcript_with_translational_frameshift' OR cvterm.name = 'gene_with_stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'gene_with_stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'protein_coding_gene';
- CREATE VIEW transgenic_insertion AS
- SELECT
- feature_id AS transgenic_insertion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transgenic_insertion';
- CREATE VIEW retrogene AS
- SELECT
- feature_id AS retrogene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'retrogene';
- CREATE VIEW silenced_by_rna_interference AS
- SELECT
- feature_id AS silenced_by_rna_interference_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silenced_by_RNA_interference';
- CREATE VIEW silenced_by_histone_modification AS
- SELECT
- feature_id AS silenced_by_histone_modification_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silenced_by_histone_methylation' OR cvterm.name = 'silenced_by_histone_deacetylation' OR cvterm.name = 'silenced_by_histone_modification';
- CREATE VIEW silenced_by_histone_methylation AS
- SELECT
- feature_id AS silenced_by_histone_methylation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silenced_by_histone_methylation';
- CREATE VIEW silenced_by_histone_deacetylation AS
- SELECT
- feature_id AS silenced_by_histone_deacetylation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silenced_by_histone_deacetylation';
- CREATE VIEW gene_silenced_by_rna_interference AS
- SELECT
- feature_id AS gene_silenced_by_rna_interference_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_silenced_by_RNA_interference';
- CREATE VIEW gene_silenced_by_histone_modification AS
- SELECT
- feature_id AS gene_silenced_by_histone_modification_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_silenced_by_histone_methylation' OR cvterm.name = 'gene_silenced_by_histone_deacetylation' OR cvterm.name = 'gene_silenced_by_histone_modification';
- CREATE VIEW gene_silenced_by_histone_methylation AS
- SELECT
- feature_id AS gene_silenced_by_histone_methylation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_silenced_by_histone_methylation';
- CREATE VIEW gene_silenced_by_histone_deacetylation AS
- SELECT
- feature_id AS gene_silenced_by_histone_deacetylation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_silenced_by_histone_deacetylation';
- CREATE VIEW dihydrouridine AS
- SELECT
- feature_id AS dihydrouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dihydrouridine';
- CREATE VIEW pseudouridine AS
- SELECT
- feature_id AS pseudouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudouridine';
- CREATE VIEW inosine AS
- SELECT
- feature_id AS inosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_inosine' OR cvterm.name = 'methylinosine' OR cvterm.name = 'one_methylinosine' OR cvterm.name = 'one_two_prime_O_dimethylinosine' OR cvterm.name = 'two_prime_O_methylinosine' OR cvterm.name = 'inosine';
- CREATE VIEW seven_methylguanine AS
- SELECT
- feature_id AS seven_methylguanine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'seven_methylguanine';
- CREATE VIEW ribothymidine AS
- SELECT
- feature_id AS ribothymidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ribothymidine';
- CREATE VIEW methylinosine AS
- SELECT
- feature_id AS methylinosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylinosine';
- CREATE VIEW mobile AS
- SELECT
- feature_id AS mobile_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mobile';
- CREATE VIEW replicon AS
- SELECT
- feature_id AS replicon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plasmid' OR cvterm.name = 'chromosome' OR cvterm.name = 'vector_replicon' OR cvterm.name = 'maxicircle' OR cvterm.name = 'minicircle' OR cvterm.name = 'viral_sequence' OR cvterm.name = 'engineered_plasmid' OR cvterm.name = 'episome' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'mitochondrial_chromosome' OR cvterm.name = 'chloroplast_chromosome' OR cvterm.name = 'chromoplast_chromosome' OR cvterm.name = 'cyanelle_chromosome' OR cvterm.name = 'leucoplast_chromosome' OR cvterm.name = 'macronuclear_chromosome' OR cvterm.name = 'micronuclear_chromosome' OR cvterm.name = 'nuclear_chromosome' OR cvterm.name = 'nucleomorphic_chromosome' OR cvterm.name = 'DNA_chromosome' OR cvterm.name = 'RNA_chromosome' OR cvterm.name = 'apicoplast_chromosome' OR cvterm.name = 'double_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_DNA_chromosome' OR cvterm.name = 'linear_double_stranded_DNA_chromosome' OR cvterm.name = 'circular_double_stranded_DNA_chromosome' OR cvterm.name = 'linear_single_stranded_DNA_chromosome' OR cvterm.name = 'circular_single_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_RNA_chromosome' OR cvterm.name = 'double_stranded_RNA_chromosome' OR cvterm.name = 'linear_single_stranded_RNA_chromosome' OR cvterm.name = 'circular_single_stranded_RNA_chromosome' OR cvterm.name = 'linear_double_stranded_RNA_chromosome' OR cvterm.name = 'circular_double_stranded_RNA_chromosome' OR cvterm.name = 'YAC' OR cvterm.name = 'BAC' OR cvterm.name = 'PAC' OR cvterm.name = 'cosmid' OR cvterm.name = 'phagemid' OR cvterm.name = 'fosmid' OR cvterm.name = 'lambda_vector' OR cvterm.name = 'plasmid_vector' OR cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'replicon';
- CREATE VIEW base AS
- SELECT
- feature_id AS base_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_RNA_base_feature' OR cvterm.name = 'modified_base_site' OR cvterm.name = 'inosine' OR cvterm.name = 'seven_methylguanine' OR cvterm.name = 'ribothymidine' OR cvterm.name = 'modified_adenosine' OR cvterm.name = 'modified_cytidine' OR cvterm.name = 'modified_guanosine' OR cvterm.name = 'modified_uridine' OR cvterm.name = 'modified_inosine' OR cvterm.name = 'methylinosine' OR cvterm.name = 'one_methylinosine' OR cvterm.name = 'one_two_prime_O_dimethylinosine' OR cvterm.name = 'two_prime_O_methylinosine' OR cvterm.name = 'one_methyladenosine' OR cvterm.name = 'two_methyladenosine' OR cvterm.name = 'N6_methyladenosine' OR cvterm.name = 'two_prime_O_methyladenosine' OR cvterm.name = 'two_methylthio_N6_methyladenosine' OR cvterm.name = 'N6_isopentenyladenosine' OR cvterm.name = 'two_methylthio_N6_isopentenyladenosine' OR cvterm.name = 'N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'two_methylthio_N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'N6_glycinylcarbamoyladenosine' OR cvterm.name = 'N6_threonylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_threonyl_carbamoyladenosine' OR cvterm.name = 'N6_methyl_N6_threonylcarbamoyladenosine' OR cvterm.name = 'N6_hydroxynorvalylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_hydroxynorvalyl_carbamoyladenosine' OR cvterm.name = 'two_prime_O_ribosyladenosine_phosphate' OR cvterm.name = 'N6_N6_dimethyladenosine' OR cvterm.name = 'N6_2_prime_O_dimethyladenosine' OR cvterm.name = 'N6_N6_2_prime_O_trimethyladenosine' OR cvterm.name = 'one_two_prime_O_dimethyladenosine' OR cvterm.name = 'N6_acetyladenosine' OR cvterm.name = 'three_methylcytidine' OR cvterm.name = 'five_methylcytidine' OR cvterm.name = 'two_prime_O_methylcytidine' OR cvterm.name = 'two_thiocytidine' OR cvterm.name = 'N4_acetylcytidine' OR cvterm.name = 'five_formylcytidine' OR cvterm.name = 'five_two_prime_O_dimethylcytidine' OR cvterm.name = 'N4_acetyl_2_prime_O_methylcytidine' OR cvterm.name = 'lysidine' OR cvterm.name = 'N4_methylcytidine' OR cvterm.name = 'N4_2_prime_O_dimethylcytidine' OR cvterm.name = 'five_hydroxymethylcytidine' OR cvterm.name = 'five_formyl_two_prime_O_methylcytidine' OR cvterm.name = 'N4_N4_2_prime_O_trimethylcytidine' OR cvterm.name = 'seven_deazaguanosine' OR cvterm.name = 'one_methylguanosine' OR cvterm.name = 'N2_methylguanosine' OR cvterm.name = 'seven_methylguanosine' OR cvterm.name = 'two_prime_O_methylguanosine' OR cvterm.name = 'N2_N2_dimethylguanosine' OR cvterm.name = 'N2_2_prime_O_dimethylguanosine' OR cvterm.name = 'N2_N2_2_prime_O_trimethylguanosine' OR cvterm.name = 'two_prime_O_ribosylguanosine_phosphate' OR cvterm.name = 'wybutosine' OR cvterm.name = 'peroxywybutosine' OR cvterm.name = 'hydroxywybutosine' OR cvterm.name = 'undermodified_hydroxywybutosine' OR cvterm.name = 'wyosine' OR cvterm.name = 'methylwyosine' OR cvterm.name = 'N2_7_dimethylguanosine' OR cvterm.name = 'N2_N2_7_trimethylguanosine' OR cvterm.name = 'one_two_prime_O_dimethylguanosine' OR cvterm.name = 'four_demethylwyosine' OR cvterm.name = 'isowyosine' OR cvterm.name = 'N2_7_2prirme_O_trimethylguanosine' OR cvterm.name = 'queuosine' OR cvterm.name = 'epoxyqueuosine' OR cvterm.name = 'galactosyl_queuosine' OR cvterm.name = 'mannosyl_queuosine' OR cvterm.name = 'seven_cyano_seven_deazaguanosine' OR cvterm.name = 'seven_aminomethyl_seven_deazaguanosine' OR cvterm.name = 'archaeosine' OR cvterm.name = 'dihydrouridine' OR cvterm.name = 'pseudouridine' OR cvterm.name = 'five_methyluridine' OR cvterm.name = 'two_prime_O_methyluridine' OR cvterm.name = 'five_two_prime_O_dimethyluridine' OR cvterm.name = 'one_methylpseudouridine' OR cvterm.name = 'two_prime_O_methylpseudouridine' OR cvterm.name = 'two_thiouridine' OR cvterm.name = 'four_thiouridine' OR cvterm.name = 'five_methyl_2_thiouridine' OR cvterm.name = 'two_thio_two_prime_O_methyluridine' OR cvterm.name = 'three_three_amino_three_carboxypropyl_uridine' OR cvterm.name = 'five_hydroxyuridine' OR cvterm.name = 'five_methoxyuridine' OR cvterm.name = 'uridine_five_oxyacetic_acid' OR cvterm.name = 'uridine_five_oxyacetic_acid_methyl_ester' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine_methyl_ester' OR cvterm.name = 'five_methoxycarbonylmethyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_thiouridine' OR cvterm.name = 'five_aminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyluridine' OR cvterm.name = 'five_methylaminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyl_two_selenouridine' OR cvterm.name = 'five_carbamoylmethyluridine' OR cvterm.name = 'five_carbamoylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_thiouridine' OR cvterm.name = 'three_methyluridine' OR cvterm.name = 'one_methyl_three_three_amino_three_carboxypropyl_pseudouridine' OR cvterm.name = 'five_carboxymethyluridine' OR cvterm.name = 'three_two_prime_O_dimethyluridine' OR cvterm.name = 'five_methyldihydrouridine' OR cvterm.name = 'three_methylpseudouridine' OR cvterm.name = 'five_taurinomethyluridine' OR cvterm.name = 'five_taurinomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_uridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'methylated_base_feature' OR cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' OR cvterm.name = 'base';
- CREATE VIEW amino_acid AS
- SELECT
- feature_id AS amino_acid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'catalytic_residue' OR cvterm.name = 'modified_amino_acid_feature' OR cvterm.name = 'alanine' OR cvterm.name = 'valine' OR cvterm.name = 'leucine' OR cvterm.name = 'isoleucine' OR cvterm.name = 'proline' OR cvterm.name = 'tryptophan' OR cvterm.name = 'phenylalanine' OR cvterm.name = 'methionine' OR cvterm.name = 'glycine' OR cvterm.name = 'serine' OR cvterm.name = 'threonine' OR cvterm.name = 'tyrosine' OR cvterm.name = 'cysteine' OR cvterm.name = 'glutamine' OR cvterm.name = 'asparagine' OR cvterm.name = 'lysine' OR cvterm.name = 'argenine' OR cvterm.name = 'histidine' OR cvterm.name = 'aspartic_acid' OR cvterm.name = 'glutamic_acid' OR cvterm.name = 'selenocysteine' OR cvterm.name = 'pyrrolysine' OR cvterm.name = 'modified_glycine' OR cvterm.name = 'modified_L_alanine' OR cvterm.name = 'modified_L_asparagine' OR cvterm.name = 'modified_L_aspartic_acid' OR cvterm.name = 'modified_L_cysteine' OR cvterm.name = 'modified_L_glutamic_acid' OR cvterm.name = 'modified_L_threonine' OR cvterm.name = 'modified_L_tryptophan' OR cvterm.name = 'modified_L_glutamine' OR cvterm.name = 'modified_L_methionine' OR cvterm.name = 'modified_L_isoleucine' OR cvterm.name = 'modified_L_phenylalanine' OR cvterm.name = 'modified_L_histidine' OR cvterm.name = 'modified_L_serine' OR cvterm.name = 'modified_L_lysine' OR cvterm.name = 'modified_L_leucine' OR cvterm.name = 'modified_L_selenocysteine' OR cvterm.name = 'modified_L_valine' OR cvterm.name = 'modified_L_proline' OR cvterm.name = 'modified_L_tyrosine' OR cvterm.name = 'modified_L_arginine' OR cvterm.name = 'amino_acid';
- CREATE VIEW major_tss AS
- SELECT
- feature_id AS major_tss_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'major_TSS';
- CREATE VIEW minor_tss AS
- SELECT
- feature_id AS minor_tss_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minor_TSS';
- CREATE VIEW tss_region AS
- SELECT
- feature_id AS tss_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'TSS_region';
- CREATE VIEW encodes_alternate_transcription_start_sites AS
- SELECT
- feature_id AS encodes_alternate_transcription_start_sites_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'encodes_alternate_transcription_start_sites';
- CREATE VIEW mirna_primary_transcript_region AS
- SELECT
- feature_id AS mirna_primary_transcript_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pre_miRNA' OR cvterm.name = 'miRNA_stem' OR cvterm.name = 'miRNA_loop' OR cvterm.name = 'miRNA_antiguide' OR cvterm.name = 'miRNA_primary_transcript_region';
- CREATE VIEW pre_mirna AS
- SELECT
- feature_id AS pre_mirna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pre_miRNA';
- CREATE VIEW mirna_stem AS
- SELECT
- feature_id AS mirna_stem_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA_stem';
- CREATE VIEW mirna_loop AS
- SELECT
- feature_id AS mirna_loop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA_loop';
- CREATE VIEW synthetic_oligo AS
- SELECT
- feature_id AS synthetic_oligo_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'morpholino_oligo' OR cvterm.name = 'PNA_oligo' OR cvterm.name = 'LNA_oligo' OR cvterm.name = 'TNA_oligo' OR cvterm.name = 'GNA_oligo' OR cvterm.name = 'R_GNA_oligo' OR cvterm.name = 'S_GNA_oligo' OR cvterm.name = 'synthetic_oligo';
- CREATE VIEW assembly AS
- SELECT
- feature_id AS assembly_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_assembly' OR cvterm.name = 'fragment_assembly' OR cvterm.name = 'supercontig' OR cvterm.name = 'contig' OR cvterm.name = 'tiling_path' OR cvterm.name = 'virtual_sequence' OR cvterm.name = 'golden_path' OR cvterm.name = 'ultracontig' OR cvterm.name = 'expressed_sequence_assembly' OR cvterm.name = 'fingerprint_map' OR cvterm.name = 'STS_map' OR cvterm.name = 'RH_map' OR cvterm.name = 'assembly';
- CREATE VIEW fragment_assembly AS
- SELECT
- feature_id AS fragment_assembly_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'fingerprint_map' OR cvterm.name = 'STS_map' OR cvterm.name = 'RH_map' OR cvterm.name = 'fragment_assembly';
- CREATE VIEW fingerprint_map AS
- SELECT
- feature_id AS fingerprint_map_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'fingerprint_map';
- CREATE VIEW sts_map AS
- SELECT
- feature_id AS sts_map_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'STS_map';
- CREATE VIEW rh_map AS
- SELECT
- feature_id AS rh_map_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RH_map';
- CREATE VIEW sonicate_fragment AS
- SELECT
- feature_id AS sonicate_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sonicate_fragment';
- CREATE VIEW polyploid AS
- SELECT
- feature_id AS polyploid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'autopolyploid' OR cvterm.name = 'allopolyploid' OR cvterm.name = 'polyploid';
- CREATE VIEW autopolyploid AS
- SELECT
- feature_id AS autopolyploid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'autopolyploid';
- CREATE VIEW allopolyploid AS
- SELECT
- feature_id AS allopolyploid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'allopolyploid';
- CREATE VIEW homing_endonuclease_binding_site AS
- SELECT
- feature_id AS homing_endonuclease_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'homing_endonuclease_binding_site';
- CREATE VIEW octamer_motif AS
- SELECT
- feature_id AS octamer_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'octamer_motif';
- CREATE VIEW apicoplast_chromosome AS
- SELECT
- feature_id AS apicoplast_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'apicoplast_chromosome';
- CREATE VIEW sequence_collection AS
- SELECT
- feature_id AS sequence_collection_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'kinetoplast' OR cvterm.name = 'genome' OR cvterm.name = 'contig_collection' OR cvterm.name = 'sequence_collection';
- CREATE VIEW overlapping_feature_set AS
- SELECT
- feature_id AS overlapping_feature_set_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'overlapping_EST_set' OR cvterm.name = 'overlapping_feature_set';
- CREATE VIEW overlapping_est_set AS
- SELECT
- feature_id AS overlapping_est_set_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'overlapping_EST_set';
- CREATE VIEW ncrna_gene AS
- SELECT
- feature_id AS ncrna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gRNA_gene' OR cvterm.name = 'miRNA_gene' OR cvterm.name = 'scRNA_gene' OR cvterm.name = 'snoRNA_gene' OR cvterm.name = 'snRNA_gene' OR cvterm.name = 'SRP_RNA_gene' OR cvterm.name = 'stRNA_gene' OR cvterm.name = 'tmRNA_gene' OR cvterm.name = 'tRNA_gene' OR cvterm.name = 'ncRNA_gene';
- CREATE VIEW grna_gene AS
- SELECT
- feature_id AS grna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gRNA_gene';
- CREATE VIEW mirna_gene AS
- SELECT
- feature_id AS mirna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA_gene';
- CREATE VIEW scrna_gene AS
- SELECT
- feature_id AS scrna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'scRNA_gene';
- CREATE VIEW snorna_gene AS
- SELECT
- feature_id AS snorna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'snoRNA_gene';
- CREATE VIEW snrna_gene AS
- SELECT
- feature_id AS snrna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'snRNA_gene';
- CREATE VIEW srp_rna_gene AS
- SELECT
- feature_id AS srp_rna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SRP_RNA_gene';
- CREATE VIEW strna_gene AS
- SELECT
- feature_id AS strna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stRNA_gene';
- CREATE VIEW tmrna_gene AS
- SELECT
- feature_id AS tmrna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tmRNA_gene';
- CREATE VIEW trna_gene AS
- SELECT
- feature_id AS trna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tRNA_gene';
- CREATE VIEW modified_adenosine AS
- SELECT
- feature_id AS modified_adenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'one_methyladenosine' OR cvterm.name = 'two_methyladenosine' OR cvterm.name = 'N6_methyladenosine' OR cvterm.name = 'two_prime_O_methyladenosine' OR cvterm.name = 'two_methylthio_N6_methyladenosine' OR cvterm.name = 'N6_isopentenyladenosine' OR cvterm.name = 'two_methylthio_N6_isopentenyladenosine' OR cvterm.name = 'N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'two_methylthio_N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'N6_glycinylcarbamoyladenosine' OR cvterm.name = 'N6_threonylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_threonyl_carbamoyladenosine' OR cvterm.name = 'N6_methyl_N6_threonylcarbamoyladenosine' OR cvterm.name = 'N6_hydroxynorvalylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_hydroxynorvalyl_carbamoyladenosine' OR cvterm.name = 'two_prime_O_ribosyladenosine_phosphate' OR cvterm.name = 'N6_N6_dimethyladenosine' OR cvterm.name = 'N6_2_prime_O_dimethyladenosine' OR cvterm.name = 'N6_N6_2_prime_O_trimethyladenosine' OR cvterm.name = 'one_two_prime_O_dimethyladenosine' OR cvterm.name = 'N6_acetyladenosine' OR cvterm.name = 'modified_adenosine';
- CREATE VIEW modified_inosine AS
- SELECT
- feature_id AS modified_inosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylinosine' OR cvterm.name = 'one_methylinosine' OR cvterm.name = 'one_two_prime_O_dimethylinosine' OR cvterm.name = 'two_prime_O_methylinosine' OR cvterm.name = 'modified_inosine';
- CREATE VIEW modified_cytidine AS
- SELECT
- feature_id AS modified_cytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_methylcytidine' OR cvterm.name = 'five_methylcytidine' OR cvterm.name = 'two_prime_O_methylcytidine' OR cvterm.name = 'two_thiocytidine' OR cvterm.name = 'N4_acetylcytidine' OR cvterm.name = 'five_formylcytidine' OR cvterm.name = 'five_two_prime_O_dimethylcytidine' OR cvterm.name = 'N4_acetyl_2_prime_O_methylcytidine' OR cvterm.name = 'lysidine' OR cvterm.name = 'N4_methylcytidine' OR cvterm.name = 'N4_2_prime_O_dimethylcytidine' OR cvterm.name = 'five_hydroxymethylcytidine' OR cvterm.name = 'five_formyl_two_prime_O_methylcytidine' OR cvterm.name = 'N4_N4_2_prime_O_trimethylcytidine' OR cvterm.name = 'modified_cytidine';
- CREATE VIEW modified_guanosine AS
- SELECT
- feature_id AS modified_guanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'seven_deazaguanosine' OR cvterm.name = 'one_methylguanosine' OR cvterm.name = 'N2_methylguanosine' OR cvterm.name = 'seven_methylguanosine' OR cvterm.name = 'two_prime_O_methylguanosine' OR cvterm.name = 'N2_N2_dimethylguanosine' OR cvterm.name = 'N2_2_prime_O_dimethylguanosine' OR cvterm.name = 'N2_N2_2_prime_O_trimethylguanosine' OR cvterm.name = 'two_prime_O_ribosylguanosine_phosphate' OR cvterm.name = 'wybutosine' OR cvterm.name = 'peroxywybutosine' OR cvterm.name = 'hydroxywybutosine' OR cvterm.name = 'undermodified_hydroxywybutosine' OR cvterm.name = 'wyosine' OR cvterm.name = 'methylwyosine' OR cvterm.name = 'N2_7_dimethylguanosine' OR cvterm.name = 'N2_N2_7_trimethylguanosine' OR cvterm.name = 'one_two_prime_O_dimethylguanosine' OR cvterm.name = 'four_demethylwyosine' OR cvterm.name = 'isowyosine' OR cvterm.name = 'N2_7_2prirme_O_trimethylguanosine' OR cvterm.name = 'queuosine' OR cvterm.name = 'epoxyqueuosine' OR cvterm.name = 'galactosyl_queuosine' OR cvterm.name = 'mannosyl_queuosine' OR cvterm.name = 'seven_cyano_seven_deazaguanosine' OR cvterm.name = 'seven_aminomethyl_seven_deazaguanosine' OR cvterm.name = 'archaeosine' OR cvterm.name = 'modified_guanosine';
- CREATE VIEW modified_uridine AS
- SELECT
- feature_id AS modified_uridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dihydrouridine' OR cvterm.name = 'pseudouridine' OR cvterm.name = 'five_methyluridine' OR cvterm.name = 'two_prime_O_methyluridine' OR cvterm.name = 'five_two_prime_O_dimethyluridine' OR cvterm.name = 'one_methylpseudouridine' OR cvterm.name = 'two_prime_O_methylpseudouridine' OR cvterm.name = 'two_thiouridine' OR cvterm.name = 'four_thiouridine' OR cvterm.name = 'five_methyl_2_thiouridine' OR cvterm.name = 'two_thio_two_prime_O_methyluridine' OR cvterm.name = 'three_three_amino_three_carboxypropyl_uridine' OR cvterm.name = 'five_hydroxyuridine' OR cvterm.name = 'five_methoxyuridine' OR cvterm.name = 'uridine_five_oxyacetic_acid' OR cvterm.name = 'uridine_five_oxyacetic_acid_methyl_ester' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine_methyl_ester' OR cvterm.name = 'five_methoxycarbonylmethyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_thiouridine' OR cvterm.name = 'five_aminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyluridine' OR cvterm.name = 'five_methylaminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyl_two_selenouridine' OR cvterm.name = 'five_carbamoylmethyluridine' OR cvterm.name = 'five_carbamoylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_thiouridine' OR cvterm.name = 'three_methyluridine' OR cvterm.name = 'one_methyl_three_three_amino_three_carboxypropyl_pseudouridine' OR cvterm.name = 'five_carboxymethyluridine' OR cvterm.name = 'three_two_prime_O_dimethyluridine' OR cvterm.name = 'five_methyldihydrouridine' OR cvterm.name = 'three_methylpseudouridine' OR cvterm.name = 'five_taurinomethyluridine' OR cvterm.name = 'five_taurinomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_uridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'modified_uridine';
- CREATE VIEW one_methylinosine AS
- SELECT
- feature_id AS one_methylinosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'one_methylinosine';
- CREATE VIEW one_two_prime_o_dimethylinosine AS
- SELECT
- feature_id AS one_two_prime_o_dimethylinosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'one_two_prime_O_dimethylinosine';
- CREATE VIEW two_prime_o_methylinosine AS
- SELECT
- feature_id AS two_prime_o_methylinosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_prime_O_methylinosine';
- CREATE VIEW three_methylcytidine AS
- SELECT
- feature_id AS three_methylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_methylcytidine';
- CREATE VIEW five_methylcytidine AS
- SELECT
- feature_id AS five_methylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methylcytidine';
- CREATE VIEW two_prime_o_methylcytidine AS
- SELECT
- feature_id AS two_prime_o_methylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_prime_O_methylcytidine';
- CREATE VIEW two_thiocytidine AS
- SELECT
- feature_id AS two_thiocytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_thiocytidine';
- CREATE VIEW n4_acetylcytidine AS
- SELECT
- feature_id AS n4_acetylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N4_acetylcytidine';
- CREATE VIEW five_formylcytidine AS
- SELECT
- feature_id AS five_formylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_formylcytidine';
- CREATE VIEW five_two_prime_o_dimethylcytidine AS
- SELECT
- feature_id AS five_two_prime_o_dimethylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_two_prime_O_dimethylcytidine';
- CREATE VIEW n4_acetyl_2_prime_o_methylcytidine AS
- SELECT
- feature_id AS n4_acetyl_2_prime_o_methylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N4_acetyl_2_prime_O_methylcytidine';
- CREATE VIEW lysidine AS
- SELECT
- feature_id AS lysidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lysidine';
- CREATE VIEW n4_methylcytidine AS
- SELECT
- feature_id AS n4_methylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N4_methylcytidine';
- CREATE VIEW n4_2_prime_o_dimethylcytidine AS
- SELECT
- feature_id AS n4_2_prime_o_dimethylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N4_2_prime_O_dimethylcytidine';
- CREATE VIEW five_hydroxymethylcytidine AS
- SELECT
- feature_id AS five_hydroxymethylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_hydroxymethylcytidine';
- CREATE VIEW five_formyl_two_prime_o_methylcytidine AS
- SELECT
- feature_id AS five_formyl_two_prime_o_methylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_formyl_two_prime_O_methylcytidine';
- CREATE VIEW n4_n4_2_prime_o_trimethylcytidine AS
- SELECT
- feature_id AS n4_n4_2_prime_o_trimethylcytidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N4_N4_2_prime_O_trimethylcytidine';
- CREATE VIEW one_methyladenosine AS
- SELECT
- feature_id AS one_methyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'one_methyladenosine';
- CREATE VIEW two_methyladenosine AS
- SELECT
- feature_id AS two_methyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_methyladenosine';
- CREATE VIEW n6_methyladenosine AS
- SELECT
- feature_id AS n6_methyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_methyladenosine';
- CREATE VIEW two_prime_o_methyladenosine AS
- SELECT
- feature_id AS two_prime_o_methyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_prime_O_methyladenosine';
- CREATE VIEW two_methylthio_n6_methyladenosine AS
- SELECT
- feature_id AS two_methylthio_n6_methyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_methylthio_N6_methyladenosine';
- CREATE VIEW n6_isopentenyladenosine AS
- SELECT
- feature_id AS n6_isopentenyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_isopentenyladenosine';
- CREATE VIEW two_methylthio_n6_isopentenyladenosine AS
- SELECT
- feature_id AS two_methylthio_n6_isopentenyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_methylthio_N6_isopentenyladenosine';
- CREATE VIEW n6_cis_hydroxyisopentenyl_adenosine AS
- SELECT
- feature_id AS n6_cis_hydroxyisopentenyl_adenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_cis_hydroxyisopentenyl_adenosine';
- CREATE VIEW two_methylthio_n6_cis_hydroxyisopentenyl_adenosine AS
- SELECT
- feature_id AS two_methylthio_n6_cis_hydroxyisopentenyl_adenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_methylthio_N6_cis_hydroxyisopentenyl_adenosine';
- CREATE VIEW n6_glycinylcarbamoyladenosine AS
- SELECT
- feature_id AS n6_glycinylcarbamoyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_glycinylcarbamoyladenosine';
- CREATE VIEW n6_threonylcarbamoyladenosine AS
- SELECT
- feature_id AS n6_threonylcarbamoyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_threonylcarbamoyladenosine';
- CREATE VIEW two_methylthio_n6_threonyl_carbamoyladenosine AS
- SELECT
- feature_id AS two_methylthio_n6_threonyl_carbamoyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_methylthio_N6_threonyl_carbamoyladenosine';
- CREATE VIEW n6_methyl_n6_threonylcarbamoyladenosine AS
- SELECT
- feature_id AS n6_methyl_n6_threonylcarbamoyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_methyl_N6_threonylcarbamoyladenosine';
- CREATE VIEW n6_hydroxynorvalylcarbamoyladenosine AS
- SELECT
- feature_id AS n6_hydroxynorvalylcarbamoyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_hydroxynorvalylcarbamoyladenosine';
- CREATE VIEW two_methylthio_n6_hydroxynorvalyl_carbamoyladenosine AS
- SELECT
- feature_id AS two_methylthio_n6_hydroxynorvalyl_carbamoyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_methylthio_N6_hydroxynorvalyl_carbamoyladenosine';
- CREATE VIEW two_prime_o_riboA_phosphate AS
- SELECT
- feature_id AS two_prime_o_riboA_phosphate_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_prime_O_ribosyladenosine_phosphate';
- CREATE VIEW n6_n6_dimethyladenosine AS
- SELECT
- feature_id AS n6_n6_dimethyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_N6_dimethyladenosine';
- CREATE VIEW n6_2_prime_o_dimethyladenosine AS
- SELECT
- feature_id AS n6_2_prime_o_dimethyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_2_prime_O_dimethyladenosine';
- CREATE VIEW n6_n6_2_prime_o_trimethyladenosine AS
- SELECT
- feature_id AS n6_n6_2_prime_o_trimethyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_N6_2_prime_O_trimethyladenosine';
- CREATE VIEW one_two_prime_o_dimethyladenosine AS
- SELECT
- feature_id AS one_two_prime_o_dimethyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'one_two_prime_O_dimethyladenosine';
- CREATE VIEW n6_acetyladenosine AS
- SELECT
- feature_id AS n6_acetyladenosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N6_acetyladenosine';
- CREATE VIEW seven_deazaguanosine AS
- SELECT
- feature_id AS seven_deazaguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'queuosine' OR cvterm.name = 'epoxyqueuosine' OR cvterm.name = 'galactosyl_queuosine' OR cvterm.name = 'mannosyl_queuosine' OR cvterm.name = 'seven_cyano_seven_deazaguanosine' OR cvterm.name = 'seven_aminomethyl_seven_deazaguanosine' OR cvterm.name = 'archaeosine' OR cvterm.name = 'seven_deazaguanosine';
- CREATE VIEW queuosine AS
- SELECT
- feature_id AS queuosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'queuosine';
- CREATE VIEW epoxyqueuosine AS
- SELECT
- feature_id AS epoxyqueuosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'epoxyqueuosine';
- CREATE VIEW galactosyl_queuosine AS
- SELECT
- feature_id AS galactosyl_queuosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'galactosyl_queuosine';
- CREATE VIEW mannosyl_queuosine AS
- SELECT
- feature_id AS mannosyl_queuosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mannosyl_queuosine';
- CREATE VIEW seven_cyano_seven_deazaguanosine AS
- SELECT
- feature_id AS seven_cyano_seven_deazaguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'seven_cyano_seven_deazaguanosine';
- CREATE VIEW seven_aminomethyl_seven_deazaguanosine AS
- SELECT
- feature_id AS seven_aminomethyl_seven_deazaguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'seven_aminomethyl_seven_deazaguanosine';
- CREATE VIEW archaeosine AS
- SELECT
- feature_id AS archaeosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'archaeosine';
- CREATE VIEW one_methylguanosine AS
- SELECT
- feature_id AS one_methylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'one_methylguanosine';
- CREATE VIEW n2_methylguanosine AS
- SELECT
- feature_id AS n2_methylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N2_methylguanosine';
- CREATE VIEW seven_methylguanosine AS
- SELECT
- feature_id AS seven_methylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'seven_methylguanosine';
- CREATE VIEW two_prime_o_methylguanosine AS
- SELECT
- feature_id AS two_prime_o_methylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_prime_O_methylguanosine';
- CREATE VIEW n2_n2_dimethylguanosine AS
- SELECT
- feature_id AS n2_n2_dimethylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N2_N2_dimethylguanosine';
- CREATE VIEW n2_2_prime_o_dimethylguanosine AS
- SELECT
- feature_id AS n2_2_prime_o_dimethylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N2_2_prime_O_dimethylguanosine';
- CREATE VIEW n2_n2_2_prime_o_trimethylguanosine AS
- SELECT
- feature_id AS n2_n2_2_prime_o_trimethylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N2_N2_2_prime_O_trimethylguanosine';
- CREATE VIEW two_prime_o_ribosylguanosine_phosphate AS
- SELECT
- feature_id AS two_prime_o_ribosylguanosine_phosphate_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_prime_O_ribosylguanosine_phosphate';
- CREATE VIEW wybutosine AS
- SELECT
- feature_id AS wybutosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'wybutosine';
- CREATE VIEW peroxywybutosine AS
- SELECT
- feature_id AS peroxywybutosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'peroxywybutosine';
- CREATE VIEW hydroxywybutosine AS
- SELECT
- feature_id AS hydroxywybutosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'hydroxywybutosine';
- CREATE VIEW undermodified_hydroxywybutosine AS
- SELECT
- feature_id AS undermodified_hydroxywybutosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'undermodified_hydroxywybutosine';
- CREATE VIEW wyosine AS
- SELECT
- feature_id AS wyosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'wyosine';
- CREATE VIEW methylwyosine AS
- SELECT
- feature_id AS methylwyosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylwyosine';
- CREATE VIEW n2_7_dimethylguanosine AS
- SELECT
- feature_id AS n2_7_dimethylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N2_7_dimethylguanosine';
- CREATE VIEW n2_n2_7_trimethylguanosine AS
- SELECT
- feature_id AS n2_n2_7_trimethylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N2_N2_7_trimethylguanosine';
- CREATE VIEW one_two_prime_o_dimethylguanosine AS
- SELECT
- feature_id AS one_two_prime_o_dimethylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'one_two_prime_O_dimethylguanosine';
- CREATE VIEW four_demethylwyosine AS
- SELECT
- feature_id AS four_demethylwyosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'four_demethylwyosine';
- CREATE VIEW isowyosine AS
- SELECT
- feature_id AS isowyosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'isowyosine';
- CREATE VIEW n2_7_2prirme_o_trimethylguanosine AS
- SELECT
- feature_id AS n2_7_2prirme_o_trimethylguanosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'N2_7_2prirme_O_trimethylguanosine';
- CREATE VIEW five_methyluridine AS
- SELECT
- feature_id AS five_methyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methyluridine';
- CREATE VIEW two_prime_o_methyluridine AS
- SELECT
- feature_id AS two_prime_o_methyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_prime_O_methyluridine';
- CREATE VIEW five_two_prime_o_dimethyluridine AS
- SELECT
- feature_id AS five_two_prime_o_dimethyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_two_prime_O_dimethyluridine';
- CREATE VIEW one_methylpseudouridine AS
- SELECT
- feature_id AS one_methylpseudouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'one_methylpseudouridine';
- CREATE VIEW two_prime_o_methylpseudouridine AS
- SELECT
- feature_id AS two_prime_o_methylpseudouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_prime_O_methylpseudouridine';
- CREATE VIEW two_thiouridine AS
- SELECT
- feature_id AS two_thiouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_thiouridine';
- CREATE VIEW four_thiouridine AS
- SELECT
- feature_id AS four_thiouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'four_thiouridine';
- CREATE VIEW five_methyl_2_thiouridine AS
- SELECT
- feature_id AS five_methyl_2_thiouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methyl_2_thiouridine';
- CREATE VIEW two_thio_two_prime_o_methyluridine AS
- SELECT
- feature_id AS two_thio_two_prime_o_methyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'two_thio_two_prime_O_methyluridine';
- CREATE VIEW three_three_amino_three_carboxypropyl_uridine AS
- SELECT
- feature_id AS three_three_amino_three_carboxypropyl_uridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_three_amino_three_carboxypropyl_uridine';
- CREATE VIEW five_hydroxyuridine AS
- SELECT
- feature_id AS five_hydroxyuridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_hydroxyuridine';
- CREATE VIEW five_methoxyuridine AS
- SELECT
- feature_id AS five_methoxyuridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methoxyuridine';
- CREATE VIEW uridine_five_oxyacetic_acid AS
- SELECT
- feature_id AS uridine_five_oxyacetic_acid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'uridine_five_oxyacetic_acid';
- CREATE VIEW uridine_five_oxyacetic_acid_methyl_ester AS
- SELECT
- feature_id AS uridine_five_oxyacetic_acid_methyl_ester_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'uridine_five_oxyacetic_acid_methyl_ester';
- CREATE VIEW five_carboxyhydroxymethyl_uridine AS
- SELECT
- feature_id AS five_carboxyhydroxymethyl_uridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_carboxyhydroxymethyl_uridine';
- CREATE VIEW five_carboxyhydroxymethyl_uridine_methyl_ester AS
- SELECT
- feature_id AS five_carboxyhydroxymethyl_uridine_methyl_ester_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_carboxyhydroxymethyl_uridine_methyl_ester';
- CREATE VIEW five_methoxycarbonylmethyluridine AS
- SELECT
- feature_id AS five_methoxycarbonylmethyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methoxycarbonylmethyluridine';
- CREATE VIEW five_methoxycarbonylmethyl_two_prime_o_methyluridine AS
- SELECT
- feature_id AS five_methoxycarbonylmethyl_two_prime_o_methyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methoxycarbonylmethyl_two_prime_O_methyluridine';
- CREATE VIEW five_mcm_2_thiouridine AS
- SELECT
- feature_id AS five_mcm_2_thiouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methoxycarbonylmethyl_two_thiouridine';
- CREATE VIEW five_aminomethyl_two_thiouridine AS
- SELECT
- feature_id AS five_aminomethyl_two_thiouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_aminomethyl_two_thiouridine';
- CREATE VIEW five_methylaminomethyluridine AS
- SELECT
- feature_id AS five_methylaminomethyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methylaminomethyluridine';
- CREATE VIEW five_mam_2_thiouridine AS
- SELECT
- feature_id AS five_mam_2_thiouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methylaminomethyl_two_thiouridine';
- CREATE VIEW five_methylaminomethyl_two_selenouridine AS
- SELECT
- feature_id AS five_methylaminomethyl_two_selenouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methylaminomethyl_two_selenouridine';
- CREATE VIEW five_carbamoylmethyluridine AS
- SELECT
- feature_id AS five_carbamoylmethyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_carbamoylmethyluridine';
- CREATE VIEW five_cm_2_prime_o_methU AS
- SELECT
- feature_id AS five_cm_2_prime_o_methU_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_carbamoylmethyl_two_prime_O_methyluridine';
- CREATE VIEW five_carboxymethylaminomethyluridine AS
- SELECT
- feature_id AS five_carboxymethylaminomethyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_carboxymethylaminomethyluridine';
- CREATE VIEW five_carboxymethylaminomethyl_two_prime_o_methyluridine AS
- SELECT
- feature_id AS five_carboxymethylaminomethyl_two_prime_o_methyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_carboxymethylaminomethyl_two_prime_O_methyluridine';
- CREATE VIEW five_carboxymethylaminomethyl_two_thiouridine AS
- SELECT
- feature_id AS five_carboxymethylaminomethyl_two_thiouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_carboxymethylaminomethyl_two_thiouridine';
- CREATE VIEW three_methyluridine AS
- SELECT
- feature_id AS three_methyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_methyluridine';
- CREATE VIEW one_methyl_3_3_amino_three_carboxypropyl_pseudouridine AS
- SELECT
- feature_id AS one_methyl_3_3_amino_three_carboxypropyl_pseudouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'one_methyl_three_three_amino_three_carboxypropyl_pseudouridine';
- CREATE VIEW five_carboxymethyluridine AS
- SELECT
- feature_id AS five_carboxymethyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_carboxymethyluridine';
- CREATE VIEW three_two_prime_o_dimethyluridine AS
- SELECT
- feature_id AS three_two_prime_o_dimethyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_two_prime_O_dimethyluridine';
- CREATE VIEW five_methyldihydrouridine AS
- SELECT
- feature_id AS five_methyldihydrouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_methyldihydrouridine';
- CREATE VIEW three_methylpseudouridine AS
- SELECT
- feature_id AS three_methylpseudouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_methylpseudouridine';
- CREATE VIEW five_taurinomethyluridine AS
- SELECT
- feature_id AS five_taurinomethyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_taurinomethyluridine';
- CREATE VIEW five_taurinomethyl_two_thiouridine AS
- SELECT
- feature_id AS five_taurinomethyl_two_thiouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_taurinomethyl_two_thiouridine';
- CREATE VIEW five_isopentenylaminomethyl_uridine AS
- SELECT
- feature_id AS five_isopentenylaminomethyl_uridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_isopentenylaminomethyl_uridine';
- CREATE VIEW five_isopentenylaminomethyl_two_thiouridine AS
- SELECT
- feature_id AS five_isopentenylaminomethyl_two_thiouridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_isopentenylaminomethyl_two_thiouridine';
- CREATE VIEW five_isopentenylaminomethyl_two_prime_o_methyluridine AS
- SELECT
- feature_id AS five_isopentenylaminomethyl_two_prime_o_methyluridine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_isopentenylaminomethyl_two_prime_O_methyluridine';
- CREATE VIEW histone_binding_site AS
- SELECT
- feature_id AS histone_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'histone_binding_site';
- CREATE VIEW cds_fragment AS
- SELECT
- feature_id AS cds_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CDS_fragment';
- CREATE VIEW modified_amino_acid_feature AS
- SELECT
- feature_id AS modified_amino_acid_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_glycine' OR cvterm.name = 'modified_L_alanine' OR cvterm.name = 'modified_L_asparagine' OR cvterm.name = 'modified_L_aspartic_acid' OR cvterm.name = 'modified_L_cysteine' OR cvterm.name = 'modified_L_glutamic_acid' OR cvterm.name = 'modified_L_threonine' OR cvterm.name = 'modified_L_tryptophan' OR cvterm.name = 'modified_L_glutamine' OR cvterm.name = 'modified_L_methionine' OR cvterm.name = 'modified_L_isoleucine' OR cvterm.name = 'modified_L_phenylalanine' OR cvterm.name = 'modified_L_histidine' OR cvterm.name = 'modified_L_serine' OR cvterm.name = 'modified_L_lysine' OR cvterm.name = 'modified_L_leucine' OR cvterm.name = 'modified_L_selenocysteine' OR cvterm.name = 'modified_L_valine' OR cvterm.name = 'modified_L_proline' OR cvterm.name = 'modified_L_tyrosine' OR cvterm.name = 'modified_L_arginine' OR cvterm.name = 'modified_amino_acid_feature';
- CREATE VIEW modified_glycine AS
- SELECT
- feature_id AS modified_glycine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_glycine';
- CREATE VIEW modified_l_alanine AS
- SELECT
- feature_id AS modified_l_alanine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_alanine';
- CREATE VIEW modified_l_asparagine AS
- SELECT
- feature_id AS modified_l_asparagine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_asparagine';
- CREATE VIEW modified_l_aspartic_acid AS
- SELECT
- feature_id AS modified_l_aspartic_acid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_aspartic_acid';
- CREATE VIEW modified_l_cysteine AS
- SELECT
- feature_id AS modified_l_cysteine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_cysteine';
- CREATE VIEW modified_l_glutamic_acid AS
- SELECT
- feature_id AS modified_l_glutamic_acid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_glutamic_acid';
- CREATE VIEW modified_l_threonine AS
- SELECT
- feature_id AS modified_l_threonine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_threonine';
- CREATE VIEW modified_l_tryptophan AS
- SELECT
- feature_id AS modified_l_tryptophan_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_tryptophan';
- CREATE VIEW modified_l_glutamine AS
- SELECT
- feature_id AS modified_l_glutamine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_glutamine';
- CREATE VIEW modified_l_methionine AS
- SELECT
- feature_id AS modified_l_methionine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_methionine';
- CREATE VIEW modified_l_isoleucine AS
- SELECT
- feature_id AS modified_l_isoleucine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_isoleucine';
- CREATE VIEW modified_l_phenylalanine AS
- SELECT
- feature_id AS modified_l_phenylalanine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_phenylalanine';
- CREATE VIEW modified_l_histidine AS
- SELECT
- feature_id AS modified_l_histidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_histidine';
- CREATE VIEW modified_l_serine AS
- SELECT
- feature_id AS modified_l_serine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_serine';
- CREATE VIEW modified_l_lysine AS
- SELECT
- feature_id AS modified_l_lysine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_lysine';
- CREATE VIEW modified_l_leucine AS
- SELECT
- feature_id AS modified_l_leucine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_leucine';
- CREATE VIEW modified_l_selenocysteine AS
- SELECT
- feature_id AS modified_l_selenocysteine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_selenocysteine';
- CREATE VIEW modified_l_valine AS
- SELECT
- feature_id AS modified_l_valine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_valine';
- CREATE VIEW modified_l_proline AS
- SELECT
- feature_id AS modified_l_proline_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_proline';
- CREATE VIEW modified_l_tyrosine AS
- SELECT
- feature_id AS modified_l_tyrosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_tyrosine';
- CREATE VIEW modified_l_arginine AS
- SELECT
- feature_id AS modified_l_arginine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_L_arginine';
- CREATE VIEW peptidyl AS
- SELECT
- feature_id AS peptidyl_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'peptidyl';
- CREATE VIEW cleaved_for_gpi_anchor_region AS
- SELECT
- feature_id AS cleaved_for_gpi_anchor_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cleaved_for_gpi_anchor_region';
- CREATE VIEW biomaterial_region AS
- SELECT
- feature_id AS biomaterial_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'reagent' OR cvterm.name = 'engineered_region' OR cvterm.name = 'PCR_product' OR cvterm.name = 'clone' OR cvterm.name = 'rescue_region' OR cvterm.name = 'oligo' OR cvterm.name = 'clone_insert' OR cvterm.name = 'cloned_region' OR cvterm.name = 'databank_entry' OR cvterm.name = 'RAPD' OR cvterm.name = 'genomic_clone' OR cvterm.name = 'cDNA_clone' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'validated_cDNA_clone' OR cvterm.name = 'invalidated_cDNA_clone' OR cvterm.name = 'three_prime_RACE_clone' OR cvterm.name = 'chimeric_cDNA_clone' OR cvterm.name = 'genomically_contaminated_cDNA_clone' OR cvterm.name = 'polyA_primed_cDNA_clone' OR cvterm.name = 'partially_processed_cDNA_clone' OR cvterm.name = 'engineered_rescue_region' OR cvterm.name = 'aptamer' OR cvterm.name = 'probe' OR cvterm.name = 'tag' OR cvterm.name = 'ss_oligo' OR cvterm.name = 'ds_oligo' OR cvterm.name = 'DNAzyme' OR cvterm.name = 'synthetic_oligo' OR cvterm.name = 'DNA_aptamer' OR cvterm.name = 'RNA_aptamer' OR cvterm.name = 'microarray_oligo' OR cvterm.name = 'SAGE_tag' OR cvterm.name = 'STS' OR cvterm.name = 'EST' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'five_prime_EST' OR cvterm.name = 'three_prime_EST' OR cvterm.name = 'UST' OR cvterm.name = 'RST' OR cvterm.name = 'three_prime_UST' OR cvterm.name = 'five_prime_UST' OR cvterm.name = 'three_prime_RST' OR cvterm.name = 'five_prime_RST' OR cvterm.name = 'primer' OR cvterm.name = 'sequencing_primer' OR cvterm.name = 'forward_primer' OR cvterm.name = 'reverse_primer' OR cvterm.name = 'RNAi_reagent' OR cvterm.name = 'DNA_constraint_sequence' OR cvterm.name = 'morpholino_oligo' OR cvterm.name = 'PNA_oligo' OR cvterm.name = 'LNA_oligo' OR cvterm.name = 'TNA_oligo' OR cvterm.name = 'GNA_oligo' OR cvterm.name = 'R_GNA_oligo' OR cvterm.name = 'S_GNA_oligo' OR cvterm.name = 'cloned_cDNA_insert' OR cvterm.name = 'cloned_genomic_insert' OR cvterm.name = 'engineered_insert' OR cvterm.name = 'BAC_cloned_genomic_insert' OR cvterm.name = 'engineered_gene' OR cvterm.name = 'engineered_plasmid' OR cvterm.name = 'engineered_rescue_region' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'engineered_foreign_region' OR cvterm.name = 'engineered_tag' OR cvterm.name = 'engineered_insert' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_repetitive_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'biomaterial_region';
- CREATE VIEW experimental_feature AS
- SELECT
- feature_id AS experimental_feature_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'match_part' OR cvterm.name = 'assembly_component' OR cvterm.name = 'conserved_region' OR cvterm.name = 'match' OR cvterm.name = 'remark' OR cvterm.name = 'reading_frame' OR cvterm.name = 'QTL' OR cvterm.name = 'consensus_region' OR cvterm.name = 'low_complexity_region' OR cvterm.name = 'assembly' OR cvterm.name = 'transcribed_fragment' OR cvterm.name = 'transcribed_cluster' OR cvterm.name = 'read_pair' OR cvterm.name = 'contig' OR cvterm.name = 'read' OR cvterm.name = 'restriction_fragment' OR cvterm.name = 'golden_path_fragment' OR cvterm.name = 'tiling_path_fragment' OR cvterm.name = 'gap' OR cvterm.name = 'sonicate_fragment' OR cvterm.name = 'contig_read' OR cvterm.name = 'BAC_end' OR cvterm.name = 'dye_terminator_read' OR cvterm.name = 'pyrosequenced_read' OR cvterm.name = 'ligation_based_read' OR cvterm.name = 'polymerase_synthesis_read' OR cvterm.name = 'PAC_end' OR cvterm.name = 'RFLP_fragment' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'coding_conserved_region' OR cvterm.name = 'nc_conserved_region' OR cvterm.name = 'homologous_region' OR cvterm.name = 'syntenic_region' OR cvterm.name = 'paralogous_region' OR cvterm.name = 'orthologous_region' OR cvterm.name = 'nucleotide_match' OR cvterm.name = 'protein_match' OR cvterm.name = 'expressed_sequence_match' OR cvterm.name = 'cross_genome_match' OR cvterm.name = 'translated_nucleotide_match' OR cvterm.name = 'primer_match' OR cvterm.name = 'EST_match' OR cvterm.name = 'cDNA_match' OR cvterm.name = 'UST_match' OR cvterm.name = 'RST_match' OR cvterm.name = 'sequence_difference' OR cvterm.name = 'experimental_result_region' OR cvterm.name = 'polypeptide_sequencing_information' OR cvterm.name = 'possible_base_call_error' OR cvterm.name = 'possible_assembly_error' OR cvterm.name = 'overlapping_feature_set' OR cvterm.name = 'no_output' OR cvterm.name = 'overlapping_EST_set' OR cvterm.name = 'non_adjacent_residues' OR cvterm.name = 'non_terminal_residue' OR cvterm.name = 'sequence_conflict' OR cvterm.name = 'sequence_uncertainty' OR cvterm.name = 'ORF' OR cvterm.name = 'blocked_reading_frame' OR cvterm.name = 'mini_gene' OR cvterm.name = 'rescue_mini_gene' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'sequence_assembly' OR cvterm.name = 'fragment_assembly' OR cvterm.name = 'supercontig' OR cvterm.name = 'contig' OR cvterm.name = 'tiling_path' OR cvterm.name = 'virtual_sequence' OR cvterm.name = 'golden_path' OR cvterm.name = 'ultracontig' OR cvterm.name = 'expressed_sequence_assembly' OR cvterm.name = 'fingerprint_map' OR cvterm.name = 'STS_map' OR cvterm.name = 'RH_map' OR cvterm.name = 'unigene_cluster' OR cvterm.name = 'experimental_feature';
- CREATE VIEW biological_region AS
- SELECT
- feature_id AS biological_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_secondary_structure' OR cvterm.name = 'linkage_group' OR cvterm.name = 'polypeptide' OR cvterm.name = 'deletion' OR cvterm.name = 'origin_of_replication' OR cvterm.name = 'recombination_feature' OR cvterm.name = 'CpG_island' OR cvterm.name = 'binding_site' OR cvterm.name = 'pseudogenic_region' OR cvterm.name = 'cap' OR cvterm.name = 'intergenic_region' OR cvterm.name = 'oligo_U_tail' OR cvterm.name = 'polyA_sequence' OR cvterm.name = 'insertion' OR cvterm.name = 'gene' OR cvterm.name = 'nucleotide_motif' OR cvterm.name = 'chromosome_part' OR cvterm.name = 'gene_member_region' OR cvterm.name = 'transcript_region' OR cvterm.name = 'polypeptide_region' OR cvterm.name = 'gene_component_region' OR cvterm.name = 'mobile_genetic_element' OR cvterm.name = 'replicon' OR cvterm.name = 'base' OR cvterm.name = 'amino_acid' OR cvterm.name = 'gene_group' OR cvterm.name = 'substitution' OR cvterm.name = 'inversion' OR cvterm.name = 'retron' OR cvterm.name = 'G_quartet' OR cvterm.name = 'base_pair' OR cvterm.name = 'RNA_sequence_secondary_structure' OR cvterm.name = 'DNA_sequence_secondary_structure' OR cvterm.name = 'pseudoknot' OR cvterm.name = 'WC_base_pair' OR cvterm.name = 'sugar_edge_base_pair' OR cvterm.name = 'Hoogsteen_base_pair' OR cvterm.name = 'reverse_Hoogsteen_base_pair' OR cvterm.name = 'wobble_base_pair' OR cvterm.name = 'stem_loop' OR cvterm.name = 'tetraloop' OR cvterm.name = 'i_motif' OR cvterm.name = 'recoding_pseudoknot' OR cvterm.name = 'H_pseudoknot' OR cvterm.name = 'D_loop' OR cvterm.name = 'ARS' OR cvterm.name = 'oriT' OR cvterm.name = 'amplification_origin' OR cvterm.name = 'oriV' OR cvterm.name = 'oriC' OR cvterm.name = 'recombination_hotspot' OR cvterm.name = 'haplotype_block' OR cvterm.name = 'sequence_rearrangement_feature' OR cvterm.name = 'iDNA' OR cvterm.name = 'specific_recombination_site' OR cvterm.name = 'chromosome_breakage_sequence' OR cvterm.name = 'internal_eliminated_sequence' OR cvterm.name = 'macronucleus_destined_segment' OR cvterm.name = 'recombination_feature_of_rearranged_gene' OR cvterm.name = 'site_specific_recombination_target_region' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_feature' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_spacer' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_segment' OR cvterm.name = 'vertebrate_immunoglobulin_T_cell_receptor_rearranged_gene_cluster' OR cvterm.name = 'vertebrate_immune_system_gene_recombination_signal_feature' OR cvterm.name = 'D_gene' OR cvterm.name = 'V_gene' OR cvterm.name = 'J_gene' OR cvterm.name = 'C_gene' OR cvterm.name = 'D_J_C_cluster' OR cvterm.name = 'J_C_cluster' OR cvterm.name = 'J_cluster' OR cvterm.name = 'V_cluster' OR cvterm.name = 'V_J_cluster' OR cvterm.name = 'V_J_C_cluster' OR cvterm.name = 'C_cluster' OR cvterm.name = 'D_cluster' OR cvterm.name = 'D_J_cluster' OR cvterm.name = 'three_prime_D_spacer' OR cvterm.name = 'five_prime_D_spacer' OR cvterm.name = 'J_spacer' OR cvterm.name = 'V_spacer' OR cvterm.name = 'VD_gene' OR cvterm.name = 'DJ_gene' OR cvterm.name = 'VDJ_gene' OR cvterm.name = 'VJ_gene' OR cvterm.name = 'DJ_J_cluster' OR cvterm.name = 'VDJ_J_C_cluster' OR cvterm.name = 'VDJ_J_cluster' OR cvterm.name = 'VJ_C_cluster' OR cvterm.name = 'VJ_J_C_cluster' OR cvterm.name = 'VJ_J_cluster' OR cvterm.name = 'D_DJ_C_cluster' OR cvterm.name = 'D_DJ_cluster' OR cvterm.name = 'D_DJ_J_C_cluster' OR cvterm.name = 'D_DJ_J_cluster' OR cvterm.name = 'V_DJ_cluster' OR cvterm.name = 'V_DJ_J_cluster' OR cvterm.name = 'V_VDJ_C_cluster' OR cvterm.name = 'V_VDJ_cluster' OR cvterm.name = 'V_VDJ_J_cluster' OR cvterm.name = 'V_VJ_C_cluster' OR cvterm.name = 'V_VJ_cluster' OR cvterm.name = 'V_VJ_J_cluster' OR cvterm.name = 'V_D_DJ_C_cluster' OR cvterm.name = 'V_D_DJ_cluster' OR cvterm.name = 'V_D_DJ_J_C_cluster' OR cvterm.name = 'V_D_DJ_J_cluster' OR cvterm.name = 'V_D_J_C_cluster' OR cvterm.name = 'V_D_J_cluster' OR cvterm.name = 'DJ_C_cluster' OR cvterm.name = 'DJ_J_C_cluster' OR cvterm.name = 'VDJ_C_cluster' OR cvterm.name = 'V_DJ_C_cluster' OR cvterm.name = 'V_DJ_J_C_cluster' OR cvterm.name = 'V_VDJ_J_C_cluster' OR cvterm.name = 'V_VJ_J_C_cluster' OR cvterm.name = 'J_gene_recombination_feature' OR cvterm.name = 'D_gene_recombination_feature' OR cvterm.name = 'V_gene_recombination_feature' OR cvterm.name = 'heptamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'nonamer_of_recombination_feature_of_vertebrate_immune_system_gene' OR cvterm.name = 'five_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_recombination_signal_sequence' OR cvterm.name = 'three_prime_D_heptamer' OR cvterm.name = 'five_prime_D_heptamer' OR cvterm.name = 'J_heptamer' OR cvterm.name = 'V_heptamer' OR cvterm.name = 'three_prime_D_nonamer' OR cvterm.name = 'five_prime_D_nonamer' OR cvterm.name = 'J_nonamer' OR cvterm.name = 'V_nonamer' OR cvterm.name = 'integration_excision_site' OR cvterm.name = 'resolution_site' OR cvterm.name = 'inversion_site' OR cvterm.name = 'inversion_site_part' OR cvterm.name = 'attI_site' OR cvterm.name = 'attP_site' OR cvterm.name = 'attB_site' OR cvterm.name = 'attL_site' OR cvterm.name = 'attR_site' OR cvterm.name = 'attC_site' OR cvterm.name = 'attCtn_site' OR cvterm.name = 'loxP_site' OR cvterm.name = 'dif_site' OR cvterm.name = 'FRT_site' OR cvterm.name = 'IRLinv_site' OR cvterm.name = 'IRRinv_site' OR cvterm.name = 'protein_binding_site' OR cvterm.name = 'miRNA_target_site' OR cvterm.name = 'epitope' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'DNA_binding_site' OR cvterm.name = 'primer_binding_site' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'nuclease_binding_site' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'histone_binding_site' OR cvterm.name = 'insulator_binding_site' OR cvterm.name = 'enhancer_binding_site' OR cvterm.name = 'restriction_enzyme_binding_site' OR cvterm.name = 'nuclease_sensitive_site' OR cvterm.name = 'homing_endonuclease_binding_site' OR cvterm.name = 'nuclease_hypersensitive_site' OR cvterm.name = 'group_1_intron_homing_endonuclease_target_region' OR cvterm.name = 'DNAseI_hypersensitive_site' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'pseudogene' OR cvterm.name = 'decayed_exon' OR cvterm.name = 'pseudogenic_exon' OR cvterm.name = 'pseudogenic_transcript' OR cvterm.name = 'pseudogenic_rRNA' OR cvterm.name = 'pseudogenic_tRNA' OR cvterm.name = 'processed_pseudogene' OR cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'nuclear_gene' OR cvterm.name = 'mt_gene' OR cvterm.name = 'plastid_gene' OR cvterm.name = 'nucleomorph_gene' OR cvterm.name = 'plasmid_gene' OR cvterm.name = 'proviral_gene' OR cvterm.name = 'transposable_element_gene' OR cvterm.name = 'silenced_gene' OR cvterm.name = 'engineered_gene' OR cvterm.name = 'foreign_gene' OR cvterm.name = 'fusion_gene' OR cvterm.name = 'recombinationally_rearranged_gene' OR cvterm.name = 'gene_with_trans_spliced_transcript' OR cvterm.name = 'gene_with_polycistronic_transcript' OR cvterm.name = 'rescue_gene' OR cvterm.name = 'post_translationally_regulated_gene' OR cvterm.name = 'negatively_autoregulated_gene' OR cvterm.name = 'positively_autoregulated_gene' OR cvterm.name = 'translationally_regulated_gene' OR cvterm.name = 'epigenetically_modified_gene' OR cvterm.name = 'transgene' OR cvterm.name = 'predicted_gene' OR cvterm.name = 'protein_coding_gene' OR cvterm.name = 'retrogene' OR cvterm.name = 'ncRNA_gene' OR cvterm.name = 'cryptic_gene' OR cvterm.name = 'gene_cassette' OR cvterm.name = 'kinetoplast_gene' OR cvterm.name = 'maxicircle_gene' OR cvterm.name = 'minicircle_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'apicoplast_gene' OR cvterm.name = 'ct_gene' OR cvterm.name = 'chromoplast_gene' OR cvterm.name = 'cyanelle_gene' OR cvterm.name = 'leucoplast_gene' OR cvterm.name = 'proplastid_gene' OR cvterm.name = 'endogenous_retroviral_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'gene_silenced_by_DNA_modification' OR cvterm.name = 'gene_silenced_by_RNA_interference' OR cvterm.name = 'gene_silenced_by_histone_modification' OR cvterm.name = 'gene_silenced_by_DNA_methylation' OR cvterm.name = 'gene_silenced_by_histone_methylation' OR cvterm.name = 'gene_silenced_by_histone_deacetylation' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_foreign_gene' OR cvterm.name = 'engineered_foreign_transposable_element_gene' OR cvterm.name = 'engineered_fusion_gene' OR cvterm.name = 'recombinationally_inverted_gene' OR cvterm.name = 'recombinationally_rearranged_vertebrate_immune_system_gene' OR cvterm.name = 'gene_with_dicistronic_transcript' OR cvterm.name = 'gene_with_dicistronic_primary_transcript' OR cvterm.name = 'gene_with_dicistronic_mRNA' OR cvterm.name = 'wild_type_rescue_gene' OR cvterm.name = 'gene_rearranged_at_DNA_level' OR cvterm.name = 'maternally_imprinted_gene' OR cvterm.name = 'paternally_imprinted_gene' OR cvterm.name = 'allelically_excluded_gene' OR cvterm.name = 'floxed_gene' OR cvterm.name = 'gene_with_polyadenylated_mRNA' OR cvterm.name = 'gene_with_mRNA_with_frameshift' OR cvterm.name = 'gene_with_edited_transcript' OR cvterm.name = 'gene_with_recoded_mRNA' OR cvterm.name = 'gene_with_stop_codon_read_through' OR cvterm.name = 'gene_with_mRNA_recoded_by_translational_bypass' OR cvterm.name = 'gene_with_transcript_with_translational_frameshift' OR cvterm.name = 'gene_with_stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'gene_with_stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'gRNA_gene' OR cvterm.name = 'miRNA_gene' OR cvterm.name = 'scRNA_gene' OR cvterm.name = 'snoRNA_gene' OR cvterm.name = 'snRNA_gene' OR cvterm.name = 'SRP_RNA_gene' OR cvterm.name = 'stRNA_gene' OR cvterm.name = 'tmRNA_gene' OR cvterm.name = 'tRNA_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'DNA_motif' OR cvterm.name = 'RNA_motif' OR cvterm.name = 'PSE_motif' OR cvterm.name = 'GC_rich_promoter_region' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DMv4_motif' OR cvterm.name = 'DMv5_motif' OR cvterm.name = 'DMv3_motif' OR cvterm.name = 'DMv2_motif' OR cvterm.name = 'DPE1_motif' OR cvterm.name = 'DMv1_motif' OR cvterm.name = 'NDM2_motif' OR cvterm.name = 'NDM3_motif' OR cvterm.name = 'RNA_internal_loop' OR cvterm.name = 'A_minor_RNA_motif' OR cvterm.name = 'RNA_junction_loop' OR cvterm.name = 'hammerhead_ribozyme' OR cvterm.name = 'asymmetric_RNA_internal_loop' OR cvterm.name = 'symmetric_RNA_internal_loop' OR cvterm.name = 'K_turn_RNA_motif' OR cvterm.name = 'sarcin_like_RNA_motif' OR cvterm.name = 'RNA_hook_turn' OR cvterm.name = 'chromosome_arm' OR cvterm.name = 'chromosome_band' OR cvterm.name = 'interband' OR cvterm.name = 'chromosomal_regulatory_element' OR cvterm.name = 'chromosomal_structural_element' OR cvterm.name = 'introgressed_chromosome_region' OR cvterm.name = 'matrix_attachment_site' OR cvterm.name = 'centromere' OR cvterm.name = 'telomere' OR cvterm.name = 'transcript' OR cvterm.name = 'regulatory_region' OR cvterm.name = 'polycistronic_transcript' OR cvterm.name = 'transcript_with_translational_frameshift' OR cvterm.name = 'primary_transcript' OR cvterm.name = 'mature_transcript' OR cvterm.name = 'transcript_bound_by_nucleic_acid' OR cvterm.name = 'transcript_bound_by_protein' OR cvterm.name = 'enzymatic_RNA' OR cvterm.name = 'trans_spliced_transcript' OR cvterm.name = 'monocistronic_transcript' OR cvterm.name = 'aberrant_processed_transcript' OR cvterm.name = 'edited_transcript' OR cvterm.name = 'alternatively_spliced_transcript' OR cvterm.name = 'dicistronic_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'protein_coding_primary_transcript' OR cvterm.name = 'nc_primary_transcript' OR cvterm.name = 'polycistronic_primary_transcript' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'mini_exon_donor_RNA' OR cvterm.name = 'antisense_primary_transcript' OR cvterm.name = 'capped_primary_transcript' OR cvterm.name = 'pre_edited_mRNA' OR cvterm.name = 'scRNA_primary_transcript' OR cvterm.name = 'rRNA_primary_transcript' OR cvterm.name = 'tRNA_primary_transcript' OR cvterm.name = 'snRNA_primary_transcript' OR cvterm.name = 'snoRNA_primary_transcript' OR cvterm.name = 'tmRNA_primary_transcript' OR cvterm.name = 'SRP_RNA_primary_transcript' OR cvterm.name = 'miRNA_primary_transcript' OR cvterm.name = 'rRNA_small_subunit_primary_transcript' OR cvterm.name = 'rRNA_large_subunit_primary_transcript' OR cvterm.name = 'alanine_tRNA_primary_transcript' OR cvterm.name = 'arginine_tRNA_primary_transcript' OR cvterm.name = 'asparagine_tRNA_primary_transcript' OR cvterm.name = 'aspartic_acid_tRNA_primary_transcript' OR cvterm.name = 'cysteine_tRNA_primary_transcript' OR cvterm.name = 'glutamic_acid_tRNA_primary_transcript' OR cvterm.name = 'glutamine_tRNA_primary_transcript' OR cvterm.name = 'glycine_tRNA_primary_transcript' OR cvterm.name = 'histidine_tRNA_primary_transcript' OR cvterm.name = 'isoleucine_tRNA_primary_transcript' OR cvterm.name = 'leucine_tRNA_primary_transcript' OR cvterm.name = 'lysine_tRNA_primary_transcript' OR cvterm.name = 'methionine_tRNA_primary_transcript' OR cvterm.name = 'phenylalanine_tRNA_primary_transcript' OR cvterm.name = 'proline_tRNA_primary_transcript' OR cvterm.name = 'serine_tRNA_primary_transcript' OR cvterm.name = 'threonine_tRNA_primary_transcript' OR cvterm.name = 'tryptophan_tRNA_primary_transcript' OR cvterm.name = 'tyrosine_tRNA_primary_transcript' OR cvterm.name = 'valine_tRNA_primary_transcript' OR cvterm.name = 'pyrrolysine_tRNA_primary_transcript' OR cvterm.name = 'selenocysteine_tRNA_primary_transcript' OR cvterm.name = 'methylation_guide_snoRNA_primary_transcript' OR cvterm.name = 'rRNA_cleavage_snoRNA_primary_transcript' OR cvterm.name = 'C_D_box_snoRNA_primary_transcript' OR cvterm.name = 'H_ACA_box_snoRNA_primary_transcript' OR cvterm.name = 'U14_snoRNA_primary_transcript' OR cvterm.name = 'stRNA_primary_transcript' OR cvterm.name = 'dicistronic_primary_transcript' OR cvterm.name = 'mRNA' OR cvterm.name = 'ncRNA' OR cvterm.name = 'mRNA_with_frameshift' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'polycistronic_mRNA' OR cvterm.name = 'exemplar_mRNA' OR cvterm.name = 'capped_mRNA' OR cvterm.name = 'polyadenylated_mRNA' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'consensus_mRNA' OR cvterm.name = 'recoded_mRNA' OR cvterm.name = 'mRNA_with_minus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_1_frameshift' OR cvterm.name = 'mRNA_with_plus_2_frameshift' OR cvterm.name = 'mRNA_with_minus_2_frameshift' OR cvterm.name = 'dicistronic_mRNA' OR cvterm.name = 'mRNA_recoded_by_translational_bypass' OR cvterm.name = 'mRNA_recoded_by_codon_redefinition' OR cvterm.name = 'scRNA' OR cvterm.name = 'rRNA' OR cvterm.name = 'tRNA' OR cvterm.name = 'snRNA' OR cvterm.name = 'snoRNA' OR cvterm.name = 'small_regulatory_ncRNA' OR cvterm.name = 'RNase_MRP_RNA' OR cvterm.name = 'RNase_P_RNA' OR cvterm.name = 'telomerase_RNA' OR cvterm.name = 'vault_RNA' OR cvterm.name = 'Y_RNA' OR cvterm.name = 'rasiRNA' OR cvterm.name = 'SRP_RNA' OR cvterm.name = 'guide_RNA' OR cvterm.name = 'antisense_RNA' OR cvterm.name = 'siRNA' OR cvterm.name = 'stRNA' OR cvterm.name = 'class_II_RNA' OR cvterm.name = 'class_I_RNA' OR cvterm.name = 'piRNA' OR cvterm.name = 'lincRNA' OR cvterm.name = 'rRNA_cleavage_RNA' OR cvterm.name = 'small_subunit_rRNA' OR cvterm.name = 'large_subunit_rRNA' OR cvterm.name = 'rRNA_18S' OR cvterm.name = 'rRNA_16S' OR cvterm.name = 'rRNA_5_8S' OR cvterm.name = 'rRNA_5S' OR cvterm.name = 'rRNA_28S' OR cvterm.name = 'rRNA_23S' OR cvterm.name = 'rRNA_25S' OR cvterm.name = 'rRNA_21S' OR cvterm.name = 'alanyl_tRNA' OR cvterm.name = 'asparaginyl_tRNA' OR cvterm.name = 'aspartyl_tRNA' OR cvterm.name = 'cysteinyl_tRNA' OR cvterm.name = 'glutaminyl_tRNA' OR cvterm.name = 'glutamyl_tRNA' OR cvterm.name = 'glycyl_tRNA' OR cvterm.name = 'histidyl_tRNA' OR cvterm.name = 'isoleucyl_tRNA' OR cvterm.name = 'leucyl_tRNA' OR cvterm.name = 'lysyl_tRNA' OR cvterm.name = 'methionyl_tRNA' OR cvterm.name = 'phenylalanyl_tRNA' OR cvterm.name = 'prolyl_tRNA' OR cvterm.name = 'seryl_tRNA' OR cvterm.name = 'threonyl_tRNA' OR cvterm.name = 'tryptophanyl_tRNA' OR cvterm.name = 'tyrosyl_tRNA' OR cvterm.name = 'valyl_tRNA' OR cvterm.name = 'pyrrolysyl_tRNA' OR cvterm.name = 'arginyl_tRNA' OR cvterm.name = 'selenocysteinyl_tRNA' OR cvterm.name = 'U1_snRNA' OR cvterm.name = 'U2_snRNA' OR cvterm.name = 'U4_snRNA' OR cvterm.name = 'U4atac_snRNA' OR cvterm.name = 'U5_snRNA' OR cvterm.name = 'U6_snRNA' OR cvterm.name = 'U6atac_snRNA' OR cvterm.name = 'U11_snRNA' OR cvterm.name = 'U12_snRNA' OR cvterm.name = 'C_D_box_snoRNA' OR cvterm.name = 'H_ACA_box_snoRNA' OR cvterm.name = 'U14_snoRNA' OR cvterm.name = 'U3_snoRNA' OR cvterm.name = 'methylation_guide_snoRNA' OR cvterm.name = 'pseudouridylation_guide_snoRNA' OR cvterm.name = 'miRNA' OR cvterm.name = 'RNA_6S' OR cvterm.name = 'CsrB_RsmB_RNA' OR cvterm.name = 'DsrA_RNA' OR cvterm.name = 'OxyS_RNA' OR cvterm.name = 'RprA_RNA' OR cvterm.name = 'RRE_RNA' OR cvterm.name = 'spot_42_RNA' OR cvterm.name = 'tmRNA' OR cvterm.name = 'GcvB_RNA' OR cvterm.name = 'MicF_RNA' OR cvterm.name = 'ribozyme' OR cvterm.name = 'trans_spliced_mRNA' OR cvterm.name = 'monocistronic_primary_transcript' OR cvterm.name = 'monocistronic_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'edited_mRNA' OR cvterm.name = 'edited_transcript_by_A_to_I_substitution' OR cvterm.name = 'attenuator' OR cvterm.name = 'terminator' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'polyA_signal_sequence' OR cvterm.name = 'gene_group_regulatory_region' OR cvterm.name = 'transcriptional_cis_regulatory_region' OR cvterm.name = 'splicing_regulatory_region' OR cvterm.name = 'cis_regulatory_frameshift_element' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'eukaryotic_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'terminator_of_type_2_RNApol_III_promoter' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'promoter' OR cvterm.name = 'insulator' OR cvterm.name = 'CRM' OR cvterm.name = 'promoter_targeting_sequence' OR cvterm.name = 'bidirectional_promoter' OR cvterm.name = 'RNA_polymerase_promoter' OR cvterm.name = 'RNApol_I_promoter' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'Phage_RNA_Polymerase_Promoter' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'SP6_RNA_Polymerase_Promoter' OR cvterm.name = 'T3_RNA_Polymerase_Promoter' OR cvterm.name = 'T7_RNA_Polymerase_Promoter' OR cvterm.name = 'locus_control_region' OR cvterm.name = 'enhancer' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'exon' OR cvterm.name = 'edited_transcript_feature' OR cvterm.name = 'mature_transcript_region' OR cvterm.name = 'primary_transcript_region' OR cvterm.name = 'exon_region' OR cvterm.name = 'anchor_binding_site' OR cvterm.name = 'coding_exon' OR cvterm.name = 'noncoding_exon' OR cvterm.name = 'interior_exon' OR cvterm.name = 'exon_of_single_exon_gene' OR cvterm.name = 'interior_coding_exon' OR cvterm.name = 'five_prime_coding_exon' OR cvterm.name = 'three_prime_coding_exon' OR cvterm.name = 'three_prime_noncoding_exon' OR cvterm.name = 'five_prime_noncoding_exon' OR cvterm.name = 'pre_edited_region' OR cvterm.name = 'editing_block' OR cvterm.name = 'editing_domain' OR cvterm.name = 'unedited_region' OR cvterm.name = 'mRNA_region' OR cvterm.name = 'tmRNA_region' OR cvterm.name = 'guide_RNA_region' OR cvterm.name = 'tRNA_region' OR cvterm.name = 'riboswitch' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' OR cvterm.name = 'codon' OR cvterm.name = 'five_prime_open_reading_frame' OR cvterm.name = 'UTR_region' OR cvterm.name = 'CDS_region' OR cvterm.name = 'translational_frameshift' OR cvterm.name = 'recoding_stimulatory_region' OR cvterm.name = 'five_prime_UTR' OR cvterm.name = 'three_prime_UTR' OR cvterm.name = 'internal_UTR' OR cvterm.name = 'untranslated_region_polycistronic_mRNA' OR cvterm.name = 'edited_CDS' OR cvterm.name = 'CDS_fragment' OR cvterm.name = 'CDS_independently_known' OR cvterm.name = 'CDS_predicted' OR cvterm.name = 'orphan_CDS' OR cvterm.name = 'CDS_supported_by_sequence_similarity_data' OR cvterm.name = 'CDS_supported_by_domain_match_data' OR cvterm.name = 'CDS_supported_by_EST_or_cDNA_data' OR cvterm.name = 'recoded_codon' OR cvterm.name = 'start_codon' OR cvterm.name = 'stop_codon' OR cvterm.name = 'stop_codon_read_through' OR cvterm.name = 'stop_codon_redefined_as_pyrrolysine' OR cvterm.name = 'stop_codon_redefined_as_selenocysteine' OR cvterm.name = 'non_canonical_start_codon' OR cvterm.name = 'four_bp_start_codon' OR cvterm.name = 'CTG_start_codon' OR cvterm.name = 'ribosome_entry_site' OR cvterm.name = 'polyA_site' OR cvterm.name = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'plus_1_translational_frameshift' OR cvterm.name = 'plus_2_translational_frameshift' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'SECIS_element' OR cvterm.name = 'three_prime_recoding_site' OR cvterm.name = 'five_prime_recoding_site' OR cvterm.name = 'stop_codon_signal' OR cvterm.name = 'three_prime_stem_loop_structure' OR cvterm.name = 'flanking_three_prime_quadruplet_recoding_signal' OR cvterm.name = 'three_prime_repeat_recoding_signal' OR cvterm.name = 'distant_three_prime_recoding_signal' OR cvterm.name = 'UAG_stop_codon_signal' OR cvterm.name = 'UAA_stop_codon_signal' OR cvterm.name = 'UGA_stop_codon_signal' OR cvterm.name = 'tmRNA_coding_piece' OR cvterm.name = 'tmRNA_acceptor_piece' OR cvterm.name = 'anchor_region' OR cvterm.name = 'template_region' OR cvterm.name = 'anticodon_loop' OR cvterm.name = 'anticodon' OR cvterm.name = 'CCA_tail' OR cvterm.name = 'DHU_loop' OR cvterm.name = 'T_loop' OR cvterm.name = 'splice_site' OR cvterm.name = 'intron' OR cvterm.name = 'clip' OR cvterm.name = 'TSS' OR cvterm.name = 'transcription_end_site' OR cvterm.name = 'spliced_leader_RNA' OR cvterm.name = 'rRNA_primary_transcript_region' OR cvterm.name = 'spliceosomal_intron_region' OR cvterm.name = 'intron_domain' OR cvterm.name = 'miRNA_primary_transcript_region' OR cvterm.name = 'outron' OR cvterm.name = 'cis_splice_site' OR cvterm.name = 'trans_splice_site' OR cvterm.name = 'five_prime_cis_splice_site' OR cvterm.name = 'three_prime_cis_splice_site' OR cvterm.name = 'recursive_splice_site' OR cvterm.name = 'canonical_five_prime_splice_site' OR cvterm.name = 'non_canonical_five_prime_splice_site' OR cvterm.name = 'canonical_three_prime_splice_site' OR cvterm.name = 'non_canonical_three_prime_splice_site' OR cvterm.name = 'trans_splice_acceptor_site' OR cvterm.name = 'trans_splice_donor_site' OR cvterm.name = 'SL1_acceptor_site' OR cvterm.name = 'SL2_acceptor_site' OR cvterm.name = 'five_prime_intron' OR cvterm.name = 'interior_intron' OR cvterm.name = 'three_prime_intron' OR cvterm.name = 'twintron' OR cvterm.name = 'UTR_intron' OR cvterm.name = 'autocatalytically_spliced_intron' OR cvterm.name = 'spliceosomal_intron' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'endonuclease_spliced_intron' OR cvterm.name = 'five_prime_UTR_intron' OR cvterm.name = 'three_prime_UTR_intron' OR cvterm.name = 'group_I_intron' OR cvterm.name = 'group_II_intron' OR cvterm.name = 'group_III_intron' OR cvterm.name = 'group_IIA_intron' OR cvterm.name = 'group_IIB_intron' OR cvterm.name = 'U2_intron' OR cvterm.name = 'U12_intron' OR cvterm.name = 'archaeal_intron' OR cvterm.name = 'tRNA_intron' OR cvterm.name = 'five_prime_clip' OR cvterm.name = 'three_prime_clip' OR cvterm.name = 'major_TSS' OR cvterm.name = 'minor_TSS' OR cvterm.name = 'transcribed_spacer_region' OR cvterm.name = 'internal_transcribed_spacer_region' OR cvterm.name = 'external_transcribed_spacer_region' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'branch_site' OR cvterm.name = 'polypyrimidine_tract' OR cvterm.name = 'internal_guide_sequence' OR cvterm.name = 'mirtron' OR cvterm.name = 'pre_miRNA' OR cvterm.name = 'miRNA_stem' OR cvterm.name = 'miRNA_loop' OR cvterm.name = 'miRNA_antiguide' OR cvterm.name = 'noncoding_region_of_exon' OR cvterm.name = 'coding_region_of_exon' OR cvterm.name = 'three_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_noncoding_region' OR cvterm.name = 'five_prime_coding_exon_coding_region' OR cvterm.name = 'three_prime_coding exon_coding_region' OR cvterm.name = 'mature_protein_region' OR cvterm.name = 'immature_peptide_region' OR cvterm.name = 'compositionally_biased_region_of_peptide' OR cvterm.name = 'polypeptide_structural_region' OR cvterm.name = 'polypeptide_variation_site' OR cvterm.name = 'cleaved_peptide_region' OR cvterm.name = 'hydrophobic_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_region' OR cvterm.name = 'active_peptide' OR cvterm.name = 'polypeptide_domain' OR cvterm.name = 'membrane_structure' OR cvterm.name = 'extramembrane_polypeptide_region' OR cvterm.name = 'intramembrane_polypeptide_region' OR cvterm.name = 'polypeptide_secondary_structure' OR cvterm.name = 'polypeptide_structural_motif' OR cvterm.name = 'intrinsically_unstructured_polypeptide_region' OR cvterm.name = 'cytoplasmic_polypeptide_region' OR cvterm.name = 'non_cytoplasmic_polypeptide_region' OR cvterm.name = 'membrane_peptide_loop' OR cvterm.name = 'transmembrane_polypeptide_region' OR cvterm.name = 'asx_motif' OR cvterm.name = 'beta_bulge' OR cvterm.name = 'beta_bulge_loop' OR cvterm.name = 'beta_strand' OR cvterm.name = 'peptide_helix' OR cvterm.name = 'polypeptide_nest_motif' OR cvterm.name = 'schellmann_loop' OR cvterm.name = 'serine_threonine_motif' OR cvterm.name = 'serine_threonine_staple_motif' OR cvterm.name = 'polypeptide_turn_motif' OR cvterm.name = 'catmat_left_handed_three' OR cvterm.name = 'catmat_left_handed_four' OR cvterm.name = 'catmat_right_handed_three' OR cvterm.name = 'catmat_right_handed_four' OR cvterm.name = 'alpha_beta_motif' OR cvterm.name = 'peptide_coil' OR cvterm.name = 'beta_bulge_loop_five' OR cvterm.name = 'beta_bulge_loop_six' OR cvterm.name = 'antiparallel_beta_strand' OR cvterm.name = 'parallel_beta_strand' OR cvterm.name = 'left_handed_peptide_helix' OR cvterm.name = 'right_handed_peptide_helix' OR cvterm.name = 'alpha_helix' OR cvterm.name = 'pi_helix' OR cvterm.name = 'three_ten_helix' OR cvterm.name = 'polypeptide_nest_left_right_motif' OR cvterm.name = 'polypeptide_nest_right_left_motif' OR cvterm.name = 'schellmann_loop_seven' OR cvterm.name = 'schellmann_loop_six' OR cvterm.name = 'asx_turn' OR cvterm.name = 'beta_turn' OR cvterm.name = 'gamma_turn' OR cvterm.name = 'serine_threonine_turn' OR cvterm.name = 'asx_turn_left_handed_type_one' OR cvterm.name = 'asx_turn_left_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_two' OR cvterm.name = 'asx_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_one' OR cvterm.name = 'beta_turn_left_handed_type_two' OR cvterm.name = 'beta_turn_right_handed_type_one' OR cvterm.name = 'beta_turn_right_handed_type_two' OR cvterm.name = 'beta_turn_type_six' OR cvterm.name = 'beta_turn_type_eight' OR cvterm.name = 'beta_turn_type_six_a' OR cvterm.name = 'beta_turn_type_six_b' OR cvterm.name = 'beta_turn_type_six_a_one' OR cvterm.name = 'beta_turn_type_six_a_two' OR cvterm.name = 'gamma_turn_classic' OR cvterm.name = 'gamma_turn_inverse' OR cvterm.name = 'st_turn_left_handed_type_one' OR cvterm.name = 'st_turn_left_handed_type_two' OR cvterm.name = 'st_turn_right_handed_type_one' OR cvterm.name = 'st_turn_right_handed_type_two' OR cvterm.name = 'coiled_coil' OR cvterm.name = 'helix_turn_helix' OR cvterm.name = 'natural_variant_site' OR cvterm.name = 'mutated_variant_site' OR cvterm.name = 'alternate_sequence_site' OR cvterm.name = 'signal_peptide' OR cvterm.name = 'cleaved_initiator_methionine' OR cvterm.name = 'transit_peptide' OR cvterm.name = 'intein' OR cvterm.name = 'propeptide_cleavage_site' OR cvterm.name = 'propeptide' OR cvterm.name = 'cleaved_for_gpi_anchor_region' OR cvterm.name = 'lipoprotein_signal_peptide' OR cvterm.name = 'n_terminal_region' OR cvterm.name = 'c_terminal_region' OR cvterm.name = 'central_hydrophobic_region_of_signal_peptide' OR cvterm.name = 'polypeptide_domain' OR cvterm.name = 'polypeptide_motif' OR cvterm.name = 'polypeptide_repeat' OR cvterm.name = 'biochemical_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_motif' OR cvterm.name = 'post_translationally_modified_region' OR cvterm.name = 'conformational_switch' OR cvterm.name = 'molecular_contact_region' OR cvterm.name = 'polypeptide_binding_motif' OR cvterm.name = 'polypeptide_catalytic_motif' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'non_transcribed_region' OR cvterm.name = 'gene_fragment' OR cvterm.name = 'TSS_region' OR cvterm.name = 'gene_segment' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'extrachromosomal_mobile_genetic_element' OR cvterm.name = 'integrated_mobile_genetic_element' OR cvterm.name = 'viral_sequence' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'transposable_element' OR cvterm.name = 'proviral_region' OR cvterm.name = 'integron' OR cvterm.name = 'genomic_island' OR cvterm.name = 'integrated_plasmid' OR cvterm.name = 'cointegrated_plasmid' OR cvterm.name = 'retrotransposon' OR cvterm.name = 'DNA_transposon' OR cvterm.name = 'foreign_transposable_element' OR cvterm.name = 'transgenic_transposable_element' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'engineered_transposable_element' OR cvterm.name = 'transposon_fragment' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' OR cvterm.name = 'RR_tract' OR cvterm.name = 'LINE_element' OR cvterm.name = 'SINE_element' OR cvterm.name = 'terminal_inverted_repeat_element' OR cvterm.name = 'foldback_element' OR cvterm.name = 'conjugative_transposon' OR cvterm.name = 'helitron' OR cvterm.name = 'MITE' OR cvterm.name = 'insertion_sequence' OR cvterm.name = 'polinton' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'engineered_foreign_transposable_element' OR cvterm.name = 'prophage' OR cvterm.name = 'pathogenic_island' OR cvterm.name = 'metabolic_island' OR cvterm.name = 'adaptive_island' OR cvterm.name = 'symbiosis_island' OR cvterm.name = 'cryptic_prophage' OR cvterm.name = 'defective_conjugative_transposon' OR cvterm.name = 'plasmid' OR cvterm.name = 'chromosome' OR cvterm.name = 'vector_replicon' OR cvterm.name = 'maxicircle' OR cvterm.name = 'minicircle' OR cvterm.name = 'viral_sequence' OR cvterm.name = 'engineered_plasmid' OR cvterm.name = 'episome' OR cvterm.name = 'natural_plasmid' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'gene_trap_construct' OR cvterm.name = 'promoter_trap_construct' OR cvterm.name = 'enhancer_trap_construct' OR cvterm.name = 'engineered_episome' OR cvterm.name = 'natural_transposable_element' OR cvterm.name = 'mitochondrial_chromosome' OR cvterm.name = 'chloroplast_chromosome' OR cvterm.name = 'chromoplast_chromosome' OR cvterm.name = 'cyanelle_chromosome' OR cvterm.name = 'leucoplast_chromosome' OR cvterm.name = 'macronuclear_chromosome' OR cvterm.name = 'micronuclear_chromosome' OR cvterm.name = 'nuclear_chromosome' OR cvterm.name = 'nucleomorphic_chromosome' OR cvterm.name = 'DNA_chromosome' OR cvterm.name = 'RNA_chromosome' OR cvterm.name = 'apicoplast_chromosome' OR cvterm.name = 'double_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_DNA_chromosome' OR cvterm.name = 'linear_double_stranded_DNA_chromosome' OR cvterm.name = 'circular_double_stranded_DNA_chromosome' OR cvterm.name = 'linear_single_stranded_DNA_chromosome' OR cvterm.name = 'circular_single_stranded_DNA_chromosome' OR cvterm.name = 'single_stranded_RNA_chromosome' OR cvterm.name = 'double_stranded_RNA_chromosome' OR cvterm.name = 'linear_single_stranded_RNA_chromosome' OR cvterm.name = 'circular_single_stranded_RNA_chromosome' OR cvterm.name = 'linear_double_stranded_RNA_chromosome' OR cvterm.name = 'circular_double_stranded_RNA_chromosome' OR cvterm.name = 'YAC' OR cvterm.name = 'BAC' OR cvterm.name = 'PAC' OR cvterm.name = 'cosmid' OR cvterm.name = 'phagemid' OR cvterm.name = 'fosmid' OR cvterm.name = 'lambda_vector' OR cvterm.name = 'plasmid_vector' OR cvterm.name = 'phage_sequence' OR cvterm.name = 'ds_RNA_viral_sequence' OR cvterm.name = 'ds_DNA_viral_sequence' OR cvterm.name = 'ss_RNA_viral_sequence' OR cvterm.name = 'negative_sense_ssRNA_viral_sequence' OR cvterm.name = 'positive_sense_ssRNA_viral_sequence' OR cvterm.name = 'ambisense_ssRNA_viral_sequence' OR cvterm.name = 'modified_RNA_base_feature' OR cvterm.name = 'modified_base_site' OR cvterm.name = 'inosine' OR cvterm.name = 'seven_methylguanine' OR cvterm.name = 'ribothymidine' OR cvterm.name = 'modified_adenosine' OR cvterm.name = 'modified_cytidine' OR cvterm.name = 'modified_guanosine' OR cvterm.name = 'modified_uridine' OR cvterm.name = 'modified_inosine' OR cvterm.name = 'methylinosine' OR cvterm.name = 'one_methylinosine' OR cvterm.name = 'one_two_prime_O_dimethylinosine' OR cvterm.name = 'two_prime_O_methylinosine' OR cvterm.name = 'one_methyladenosine' OR cvterm.name = 'two_methyladenosine' OR cvterm.name = 'N6_methyladenosine' OR cvterm.name = 'two_prime_O_methyladenosine' OR cvterm.name = 'two_methylthio_N6_methyladenosine' OR cvterm.name = 'N6_isopentenyladenosine' OR cvterm.name = 'two_methylthio_N6_isopentenyladenosine' OR cvterm.name = 'N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'two_methylthio_N6_cis_hydroxyisopentenyl_adenosine' OR cvterm.name = 'N6_glycinylcarbamoyladenosine' OR cvterm.name = 'N6_threonylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_threonyl_carbamoyladenosine' OR cvterm.name = 'N6_methyl_N6_threonylcarbamoyladenosine' OR cvterm.name = 'N6_hydroxynorvalylcarbamoyladenosine' OR cvterm.name = 'two_methylthio_N6_hydroxynorvalyl_carbamoyladenosine' OR cvterm.name = 'two_prime_O_ribosyladenosine_phosphate' OR cvterm.name = 'N6_N6_dimethyladenosine' OR cvterm.name = 'N6_2_prime_O_dimethyladenosine' OR cvterm.name = 'N6_N6_2_prime_O_trimethyladenosine' OR cvterm.name = 'one_two_prime_O_dimethyladenosine' OR cvterm.name = 'N6_acetyladenosine' OR cvterm.name = 'three_methylcytidine' OR cvterm.name = 'five_methylcytidine' OR cvterm.name = 'two_prime_O_methylcytidine' OR cvterm.name = 'two_thiocytidine' OR cvterm.name = 'N4_acetylcytidine' OR cvterm.name = 'five_formylcytidine' OR cvterm.name = 'five_two_prime_O_dimethylcytidine' OR cvterm.name = 'N4_acetyl_2_prime_O_methylcytidine' OR cvterm.name = 'lysidine' OR cvterm.name = 'N4_methylcytidine' OR cvterm.name = 'N4_2_prime_O_dimethylcytidine' OR cvterm.name = 'five_hydroxymethylcytidine' OR cvterm.name = 'five_formyl_two_prime_O_methylcytidine' OR cvterm.name = 'N4_N4_2_prime_O_trimethylcytidine' OR cvterm.name = 'seven_deazaguanosine' OR cvterm.name = 'one_methylguanosine' OR cvterm.name = 'N2_methylguanosine' OR cvterm.name = 'seven_methylguanosine' OR cvterm.name = 'two_prime_O_methylguanosine' OR cvterm.name = 'N2_N2_dimethylguanosine' OR cvterm.name = 'N2_2_prime_O_dimethylguanosine' OR cvterm.name = 'N2_N2_2_prime_O_trimethylguanosine' OR cvterm.name = 'two_prime_O_ribosylguanosine_phosphate' OR cvterm.name = 'wybutosine' OR cvterm.name = 'peroxywybutosine' OR cvterm.name = 'hydroxywybutosine' OR cvterm.name = 'undermodified_hydroxywybutosine' OR cvterm.name = 'wyosine' OR cvterm.name = 'methylwyosine' OR cvterm.name = 'N2_7_dimethylguanosine' OR cvterm.name = 'N2_N2_7_trimethylguanosine' OR cvterm.name = 'one_two_prime_O_dimethylguanosine' OR cvterm.name = 'four_demethylwyosine' OR cvterm.name = 'isowyosine' OR cvterm.name = 'N2_7_2prirme_O_trimethylguanosine' OR cvterm.name = 'queuosine' OR cvterm.name = 'epoxyqueuosine' OR cvterm.name = 'galactosyl_queuosine' OR cvterm.name = 'mannosyl_queuosine' OR cvterm.name = 'seven_cyano_seven_deazaguanosine' OR cvterm.name = 'seven_aminomethyl_seven_deazaguanosine' OR cvterm.name = 'archaeosine' OR cvterm.name = 'dihydrouridine' OR cvterm.name = 'pseudouridine' OR cvterm.name = 'five_methyluridine' OR cvterm.name = 'two_prime_O_methyluridine' OR cvterm.name = 'five_two_prime_O_dimethyluridine' OR cvterm.name = 'one_methylpseudouridine' OR cvterm.name = 'two_prime_O_methylpseudouridine' OR cvterm.name = 'two_thiouridine' OR cvterm.name = 'four_thiouridine' OR cvterm.name = 'five_methyl_2_thiouridine' OR cvterm.name = 'two_thio_two_prime_O_methyluridine' OR cvterm.name = 'three_three_amino_three_carboxypropyl_uridine' OR cvterm.name = 'five_hydroxyuridine' OR cvterm.name = 'five_methoxyuridine' OR cvterm.name = 'uridine_five_oxyacetic_acid' OR cvterm.name = 'uridine_five_oxyacetic_acid_methyl_ester' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine' OR cvterm.name = 'five_carboxyhydroxymethyl_uridine_methyl_ester' OR cvterm.name = 'five_methoxycarbonylmethyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_methoxycarbonylmethyl_two_thiouridine' OR cvterm.name = 'five_aminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyluridine' OR cvterm.name = 'five_methylaminomethyl_two_thiouridine' OR cvterm.name = 'five_methylaminomethyl_two_selenouridine' OR cvterm.name = 'five_carbamoylmethyluridine' OR cvterm.name = 'five_carbamoylmethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'five_carboxymethylaminomethyl_two_thiouridine' OR cvterm.name = 'three_methyluridine' OR cvterm.name = 'one_methyl_three_three_amino_three_carboxypropyl_pseudouridine' OR cvterm.name = 'five_carboxymethyluridine' OR cvterm.name = 'three_two_prime_O_dimethyluridine' OR cvterm.name = 'five_methyldihydrouridine' OR cvterm.name = 'three_methylpseudouridine' OR cvterm.name = 'five_taurinomethyluridine' OR cvterm.name = 'five_taurinomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_uridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_thiouridine' OR cvterm.name = 'five_isopentenylaminomethyl_two_prime_O_methyluridine' OR cvterm.name = 'methylated_base_feature' OR cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' OR cvterm.name = 'catalytic_residue' OR cvterm.name = 'modified_amino_acid_feature' OR cvterm.name = 'alanine' OR cvterm.name = 'valine' OR cvterm.name = 'leucine' OR cvterm.name = 'isoleucine' OR cvterm.name = 'proline' OR cvterm.name = 'tryptophan' OR cvterm.name = 'phenylalanine' OR cvterm.name = 'methionine' OR cvterm.name = 'glycine' OR cvterm.name = 'serine' OR cvterm.name = 'threonine' OR cvterm.name = 'tyrosine' OR cvterm.name = 'cysteine' OR cvterm.name = 'glutamine' OR cvterm.name = 'asparagine' OR cvterm.name = 'lysine' OR cvterm.name = 'argenine' OR cvterm.name = 'histidine' OR cvterm.name = 'aspartic_acid' OR cvterm.name = 'glutamic_acid' OR cvterm.name = 'selenocysteine' OR cvterm.name = 'pyrrolysine' OR cvterm.name = 'modified_glycine' OR cvterm.name = 'modified_L_alanine' OR cvterm.name = 'modified_L_asparagine' OR cvterm.name = 'modified_L_aspartic_acid' OR cvterm.name = 'modified_L_cysteine' OR cvterm.name = 'modified_L_glutamic_acid' OR cvterm.name = 'modified_L_threonine' OR cvterm.name = 'modified_L_tryptophan' OR cvterm.name = 'modified_L_glutamine' OR cvterm.name = 'modified_L_methionine' OR cvterm.name = 'modified_L_isoleucine' OR cvterm.name = 'modified_L_phenylalanine' OR cvterm.name = 'modified_L_histidine' OR cvterm.name = 'modified_L_serine' OR cvterm.name = 'modified_L_lysine' OR cvterm.name = 'modified_L_leucine' OR cvterm.name = 'modified_L_selenocysteine' OR cvterm.name = 'modified_L_valine' OR cvterm.name = 'modified_L_proline' OR cvterm.name = 'modified_L_tyrosine' OR cvterm.name = 'modified_L_arginine' OR cvterm.name = 'operon' OR cvterm.name = 'gene_array' OR cvterm.name = 'gene_subarray' OR cvterm.name = 'gene_cassette_array' OR cvterm.name = 'regulon' OR cvterm.name = 'sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'point_mutation' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'MNP' OR cvterm.name = 'transition' OR cvterm.name = 'transversion' OR cvterm.name = 'pyrimidine_transition' OR cvterm.name = 'purine_transition' OR cvterm.name = 'C_to_T_transition' OR cvterm.name = 'T_to_C_transition' OR cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'A_to_G_transition' OR cvterm.name = 'G_to_A_transition' OR cvterm.name = 'pyrimidine_to_purine_transversion' OR cvterm.name = 'purine_to_pyrimidine_transversion' OR cvterm.name = 'C_to_A_transversion' OR cvterm.name = 'C_to_G_transversion' OR cvterm.name = 'T_to_A_transversion' OR cvterm.name = 'T_to_G_transversion' OR cvterm.name = 'A_to_C_transversion' OR cvterm.name = 'A_to_T_transversion' OR cvterm.name = 'G_to_C_transversion' OR cvterm.name = 'G_to_T_transversion' OR cvterm.name = 'biological_region';
- CREATE VIEW topologically_defined_region AS
- SELECT
- feature_id AS topologically_defined_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'flanking_region' OR cvterm.name = 'repeat_region' OR cvterm.name = 'repeat_unit' OR cvterm.name = 'repeat_component' OR cvterm.name = 'transposable_element_flanking_region' OR cvterm.name = 'five_prime_flanking_region' OR cvterm.name = 'three_prime_flanking_region' OR cvterm.name = 'long_terminal_repeat' OR cvterm.name = 'engineered_foreign_repetitive_element' OR cvterm.name = 'inverted_repeat' OR cvterm.name = 'direct_repeat' OR cvterm.name = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'dispersed_repeat' OR cvterm.name = 'tandem_repeat' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'five_prime_LTR' OR cvterm.name = 'three_prime_LTR' OR cvterm.name = 'solo_LTR' OR cvterm.name = 'terminal_inverted_repeat' OR cvterm.name = 'five_prime_terminal_inverted_repeat' OR cvterm.name = 'three_prime_terminal_inverted_repeat' OR cvterm.name = 'target_site_duplication' OR cvterm.name = 'CRISPR' OR cvterm.name = 'satellite_DNA' OR cvterm.name = 'microsatellite' OR cvterm.name = 'minisatellite' OR cvterm.name = 'dinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'trinucleotide_repeat_microsatellite_feature' OR cvterm.name = 'tetranucleotide_repeat_microsatellite_feature' OR cvterm.name = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'LTR_component' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'U5_LTR_region' OR cvterm.name = 'R_LTR_region' OR cvterm.name = 'U3_LTR_region' OR cvterm.name = 'three_prime_LTR_component' OR cvterm.name = 'five_prime_LTR_component' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'R_three_prime_LTR_region' OR cvterm.name = 'U3_three_prime_LTR_region' OR cvterm.name = 'U5_three_prime_LTR_region' OR cvterm.name = 'R_five_prime_LTR_region' OR cvterm.name = 'U5_five_prime_LTR_region' OR cvterm.name = 'U3_five_prime_LTR_region' OR cvterm.name = 'topologically_defined_region';
- CREATE VIEW translocation_breakpoint AS
- SELECT
- feature_id AS translocation_breakpoint_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'translocation_breakpoint';
- CREATE VIEW insertion_breakpoint AS
- SELECT
- feature_id AS insertion_breakpoint_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'insertion_breakpoint';
- CREATE VIEW deletion_breakpoint AS
- SELECT
- feature_id AS deletion_breakpoint_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deletion_breakpoint';
- CREATE VIEW five_prime_flanking_region AS
- SELECT
- feature_id AS five_prime_flanking_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_flanking_region';
- CREATE VIEW three_prime_flanking_region AS
- SELECT
- feature_id AS three_prime_flanking_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_flanking_region';
- CREATE VIEW transcribed_fragment AS
- SELECT
- feature_id AS transcribed_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcribed_fragment';
- CREATE VIEW cis_splice_site AS
- SELECT
- feature_id AS cis_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_cis_splice_site' OR cvterm.name = 'three_prime_cis_splice_site' OR cvterm.name = 'recursive_splice_site' OR cvterm.name = 'canonical_five_prime_splice_site' OR cvterm.name = 'non_canonical_five_prime_splice_site' OR cvterm.name = 'canonical_three_prime_splice_site' OR cvterm.name = 'non_canonical_three_prime_splice_site' OR cvterm.name = 'cis_splice_site';
- CREATE VIEW trans_splice_site AS
- SELECT
- feature_id AS trans_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'trans_splice_acceptor_site' OR cvterm.name = 'trans_splice_donor_site' OR cvterm.name = 'SL1_acceptor_site' OR cvterm.name = 'SL2_acceptor_site' OR cvterm.name = 'trans_splice_site';
- CREATE VIEW splice_junction AS
- SELECT
- feature_id AS splice_junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'splice_junction';
- CREATE VIEW conformational_switch AS
- SELECT
- feature_id AS conformational_switch_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'conformational_switch';
- CREATE VIEW dye_terminator_read AS
- SELECT
- feature_id AS dye_terminator_read_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dye_terminator_read';
- CREATE VIEW pyrosequenced_read AS
- SELECT
- feature_id AS pyrosequenced_read_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pyrosequenced_read';
- CREATE VIEW ligation_based_read AS
- SELECT
- feature_id AS ligation_based_read_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ligation_based_read';
- CREATE VIEW polymerase_synthesis_read AS
- SELECT
- feature_id AS polymerase_synthesis_read_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polymerase_synthesis_read';
- CREATE VIEW cis_regulatory_frameshift_element AS
- SELECT
- feature_id AS cis_regulatory_frameshift_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cis_regulatory_frameshift_element';
- CREATE VIEW expressed_sequence_assembly AS
- SELECT
- feature_id AS expressed_sequence_assembly_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'expressed_sequence_assembly';
- CREATE VIEW dna_binding_site AS
- SELECT
- feature_id AS dna_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DNA_binding_site';
- CREATE VIEW polya_junction AS
- SELECT
- feature_id AS polya_junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polyA_junction';
- CREATE VIEW cryptic_gene AS
- SELECT
- feature_id AS cryptic_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptogene' OR cvterm.name = 'cryptic_gene';
- CREATE VIEW sequence_variant_affecting_polyadenylation AS
- SELECT
- feature_id AS sequence_variant_affecting_polyadenylation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_polyadenylation';
- CREATE VIEW three_prime_race_clone AS
- SELECT
- feature_id AS three_prime_race_clone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_RACE_clone';
- CREATE VIEW cassette_pseudogene AS
- SELECT
- feature_id AS cassette_pseudogene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cassette_pseudogene';
- CREATE VIEW alanine AS
- SELECT
- feature_id AS alanine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alanine';
- CREATE VIEW valine AS
- SELECT
- feature_id AS valine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'valine';
- CREATE VIEW leucine AS
- SELECT
- feature_id AS leucine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'leucine';
- CREATE VIEW isoleucine AS
- SELECT
- feature_id AS isoleucine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'isoleucine';
- CREATE VIEW proline AS
- SELECT
- feature_id AS proline_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'proline';
- CREATE VIEW tryptophan AS
- SELECT
- feature_id AS tryptophan_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tryptophan';
- CREATE VIEW phenylalanine AS
- SELECT
- feature_id AS phenylalanine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'phenylalanine';
- CREATE VIEW methionine AS
- SELECT
- feature_id AS methionine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methionine';
- CREATE VIEW glycine AS
- SELECT
- feature_id AS glycine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'glycine';
- CREATE VIEW serine AS
- SELECT
- feature_id AS serine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'serine';
- CREATE VIEW threonine AS
- SELECT
- feature_id AS threonine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'threonine';
- CREATE VIEW tyrosine AS
- SELECT
- feature_id AS tyrosine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tyrosine';
- CREATE VIEW cysteine AS
- SELECT
- feature_id AS cysteine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cysteine';
- CREATE VIEW glutamine AS
- SELECT
- feature_id AS glutamine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'glutamine';
- CREATE VIEW asparagine AS
- SELECT
- feature_id AS asparagine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'asparagine';
- CREATE VIEW lysine AS
- SELECT
- feature_id AS lysine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lysine';
- CREATE VIEW argenine AS
- SELECT
- feature_id AS argenine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'argenine';
- CREATE VIEW histidine AS
- SELECT
- feature_id AS histidine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'histidine';
- CREATE VIEW aspartic_acid AS
- SELECT
- feature_id AS aspartic_acid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'aspartic_acid';
- CREATE VIEW glutamic_acid AS
- SELECT
- feature_id AS glutamic_acid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'glutamic_acid';
- CREATE VIEW selenocysteine AS
- SELECT
- feature_id AS selenocysteine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'selenocysteine';
- CREATE VIEW pyrrolysine AS
- SELECT
- feature_id AS pyrrolysine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pyrrolysine';
- CREATE VIEW transcribed_cluster AS
- SELECT
- feature_id AS transcribed_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unigene_cluster' OR cvterm.name = 'transcribed_cluster';
- CREATE VIEW unigene_cluster AS
- SELECT
- feature_id AS unigene_cluster_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unigene_cluster';
- CREATE VIEW crispr AS
- SELECT
- feature_id AS crispr_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CRISPR';
- CREATE VIEW insulator_binding_site AS
- SELECT
- feature_id AS insulator_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'insulator_binding_site';
- CREATE VIEW enhancer_binding_site AS
- SELECT
- feature_id AS enhancer_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'enhancer_binding_site';
- CREATE VIEW contig_collection AS
- SELECT
- feature_id AS contig_collection_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'contig_collection';
- CREATE VIEW lincrna AS
- SELECT
- feature_id AS lincrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lincRNA';
- CREATE VIEW ust AS
- SELECT
- feature_id AS ust_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_UST' OR cvterm.name = 'five_prime_UST' OR cvterm.name = 'UST';
- CREATE VIEW three_prime_ust AS
- SELECT
- feature_id AS three_prime_ust_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_UST';
- CREATE VIEW five_prime_ust AS
- SELECT
- feature_id AS five_prime_ust_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_UST';
- CREATE VIEW rst AS
- SELECT
- feature_id AS rst_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_RST' OR cvterm.name = 'five_prime_RST' OR cvterm.name = 'RST';
- CREATE VIEW three_prime_rst AS
- SELECT
- feature_id AS three_prime_rst_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_RST';
- CREATE VIEW five_prime_rst AS
- SELECT
- feature_id AS five_prime_rst_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_RST';
- CREATE VIEW ust_match AS
- SELECT
- feature_id AS ust_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'UST_match';
- CREATE VIEW rst_match AS
- SELECT
- feature_id AS rst_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RST_match';
- CREATE VIEW primer_match AS
- SELECT
- feature_id AS primer_match_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'primer_match';
- CREATE VIEW mirna_antiguide AS
- SELECT
- feature_id AS mirna_antiguide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA_antiguide';
- CREATE VIEW trans_splice_junction AS
- SELECT
- feature_id AS trans_splice_junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'trans_splice_junction';
- CREATE VIEW outron AS
- SELECT
- feature_id AS outron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'outron';
- CREATE VIEW natural_plasmid AS
- SELECT
- feature_id AS natural_plasmid_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'natural_transposable_element' OR cvterm.name = 'natural_plasmid';
- CREATE VIEW gene_trap_construct AS
- SELECT
- feature_id AS gene_trap_construct_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_trap_construct';
- CREATE VIEW promoter_trap_construct AS
- SELECT
- feature_id AS promoter_trap_construct_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'promoter_trap_construct';
- CREATE VIEW enhancer_trap_construct AS
- SELECT
- feature_id AS enhancer_trap_construct_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'enhancer_trap_construct';
- CREATE VIEW pac_end AS
- SELECT
- feature_id AS pac_end_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'PAC_end';
- CREATE VIEW rapd AS
- SELECT
- feature_id AS rapd_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RAPD';
- CREATE VIEW shadow_enhancer AS
- SELECT
- feature_id AS shadow_enhancer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'shadow_enhancer';
- CREATE VIEW regulatory_region AS
- SELECT
- feature_id AS regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attenuator' OR cvterm.name = 'terminator' OR cvterm.name = 'TF_binding_site' OR cvterm.name = 'polyA_signal_sequence' OR cvterm.name = 'gene_group_regulatory_region' OR cvterm.name = 'transcriptional_cis_regulatory_region' OR cvterm.name = 'splicing_regulatory_region' OR cvterm.name = 'cis_regulatory_frameshift_element' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'eukaryotic_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'terminator_of_type_2_RNApol_III_promoter' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BRE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'MTE' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'promoter' OR cvterm.name = 'insulator' OR cvterm.name = 'CRM' OR cvterm.name = 'promoter_targeting_sequence' OR cvterm.name = 'bidirectional_promoter' OR cvterm.name = 'RNA_polymerase_promoter' OR cvterm.name = 'RNApol_I_promoter' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'Phage_RNA_Polymerase_Promoter' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'SP6_RNA_Polymerase_Promoter' OR cvterm.name = 'T3_RNA_Polymerase_Promoter' OR cvterm.name = 'T7_RNA_Polymerase_Promoter' OR cvterm.name = 'locus_control_region' OR cvterm.name = 'enhancer' OR cvterm.name = 'RNApol_II_promoter' OR cvterm.name = 'RNApol_III_promoter' OR cvterm.name = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'RNApol_III_promoter_type_1' OR cvterm.name = 'RNApol_III_promoter_type_2' OR cvterm.name = 'RNApol_III_promoter_type_3' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'regulatory_region';
- CREATE VIEW u14_snorna_primary_transcript AS
- SELECT
- feature_id AS u14_snorna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U14_snoRNA_primary_transcript';
- CREATE VIEW methylation_guide_snorna AS
- SELECT
- feature_id AS methylation_guide_snorna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'methylation_guide_snoRNA';
- CREATE VIEW rrna_cleavage_rna AS
- SELECT
- feature_id AS rrna_cleavage_rna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_cleavage_RNA';
- CREATE VIEW exon_of_single_exon_gene AS
- SELECT
- feature_id AS exon_of_single_exon_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'exon_of_single_exon_gene';
- CREATE VIEW cassette_array_member AS
- SELECT
- feature_id AS cassette_array_member_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cassette_array_member';
- CREATE VIEW gene_cassette_member AS
- SELECT
- feature_id AS gene_cassette_member_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cassette_array_member' OR cvterm.name = 'gene_cassette_member';
- CREATE VIEW gene_subarray_member AS
- SELECT
- feature_id AS gene_subarray_member_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_subarray_member';
- CREATE VIEW primer_binding_site AS
- SELECT
- feature_id AS primer_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'primer_binding_site';
- CREATE VIEW gene_array AS
- SELECT
- feature_id AS gene_array_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_array';
- CREATE VIEW gene_subarray AS
- SELECT
- feature_id AS gene_subarray_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_subarray';
- CREATE VIEW gene_cassette AS
- SELECT
- feature_id AS gene_cassette_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_cassette';
- CREATE VIEW gene_cassette_array AS
- SELECT
- feature_id AS gene_cassette_array_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_cassette_array';
- CREATE VIEW gene_group AS
- SELECT
- feature_id AS gene_group_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'operon' OR cvterm.name = 'gene_array' OR cvterm.name = 'gene_subarray' OR cvterm.name = 'gene_cassette_array' OR cvterm.name = 'regulon' OR cvterm.name = 'gene_group';
- CREATE VIEW selenocysteine_trna_primary_transcript AS
- SELECT
- feature_id AS selenocysteine_trna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'selenocysteine_tRNA_primary_transcript';
- CREATE VIEW selenocysteinyl_trna AS
- SELECT
- feature_id AS selenocysteinyl_trna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'selenocysteinyl_tRNA';
- CREATE VIEW syntenic_region AS
- SELECT
- feature_id AS syntenic_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'syntenic_region';
- CREATE VIEW biochemical_region_of_peptide AS
- SELECT
- feature_id AS biochemical_region_of_peptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'post_translationally_modified_region' OR cvterm.name = 'conformational_switch' OR cvterm.name = 'molecular_contact_region' OR cvterm.name = 'polypeptide_binding_motif' OR cvterm.name = 'polypeptide_catalytic_motif' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'biochemical_region_of_peptide';
- CREATE VIEW molecular_contact_region AS
- SELECT
- feature_id AS molecular_contact_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'molecular_contact_region';
- CREATE VIEW intrinsically_unstructured_polypeptide_region AS
- SELECT
- feature_id AS intrinsically_unstructured_polypeptide_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intrinsically_unstructured_polypeptide_region';
- CREATE VIEW catmat_left_handed_three AS
- SELECT
- feature_id AS catmat_left_handed_three_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'catmat_left_handed_three';
- CREATE VIEW catmat_left_handed_four AS
- SELECT
- feature_id AS catmat_left_handed_four_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'catmat_left_handed_four';
- CREATE VIEW catmat_right_handed_three AS
- SELECT
- feature_id AS catmat_right_handed_three_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'catmat_right_handed_three';
- CREATE VIEW catmat_right_handed_four AS
- SELECT
- feature_id AS catmat_right_handed_four_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'catmat_right_handed_four';
- CREATE VIEW alpha_beta_motif AS
- SELECT
- feature_id AS alpha_beta_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alpha_beta_motif';
- CREATE VIEW lipoprotein_signal_peptide AS
- SELECT
- feature_id AS lipoprotein_signal_peptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lipoprotein_signal_peptide';
- CREATE VIEW no_output AS
- SELECT
- feature_id AS no_output_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'no_output';
- CREATE VIEW cleaved_peptide_region AS
- SELECT
- feature_id AS cleaved_peptide_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'signal_peptide' OR cvterm.name = 'cleaved_initiator_methionine' OR cvterm.name = 'transit_peptide' OR cvterm.name = 'intein' OR cvterm.name = 'propeptide_cleavage_site' OR cvterm.name = 'propeptide' OR cvterm.name = 'cleaved_for_gpi_anchor_region' OR cvterm.name = 'lipoprotein_signal_peptide' OR cvterm.name = 'n_terminal_region' OR cvterm.name = 'c_terminal_region' OR cvterm.name = 'central_hydrophobic_region_of_signal_peptide' OR cvterm.name = 'cleaved_peptide_region';
- CREATE VIEW peptide_coil AS
- SELECT
- feature_id AS peptide_coil_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'peptide_coil';
- CREATE VIEW hydrophobic_region_of_peptide AS
- SELECT
- feature_id AS hydrophobic_region_of_peptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'hydrophobic_region_of_peptide';
- CREATE VIEW n_terminal_region AS
- SELECT
- feature_id AS n_terminal_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'n_terminal_region';
- CREATE VIEW c_terminal_region AS
- SELECT
- feature_id AS c_terminal_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'c_terminal_region';
- CREATE VIEW central_hydrophobic_region_of_signal_peptide AS
- SELECT
- feature_id AS central_hydrophobic_region_of_signal_peptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'central_hydrophobic_region_of_signal_peptide';
- CREATE VIEW polypeptide_conserved_motif AS
- SELECT
- feature_id AS polypeptide_conserved_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_conserved_motif';
- CREATE VIEW polypeptide_binding_motif AS
- SELECT
- feature_id AS polypeptide_binding_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_binding_motif';
- CREATE VIEW polypeptide_catalytic_motif AS
- SELECT
- feature_id AS polypeptide_catalytic_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_catalytic_motif';
- CREATE VIEW polypeptide_dna_contact AS
- SELECT
- feature_id AS polypeptide_dna_contact_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_DNA_contact';
- CREATE VIEW polypeptide_conserved_region AS
- SELECT
- feature_id AS polypeptide_conserved_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_domain' OR cvterm.name = 'polypeptide_motif' OR cvterm.name = 'polypeptide_repeat' OR cvterm.name = 'biochemical_region_of_peptide' OR cvterm.name = 'polypeptide_conserved_motif' OR cvterm.name = 'post_translationally_modified_region' OR cvterm.name = 'conformational_switch' OR cvterm.name = 'molecular_contact_region' OR cvterm.name = 'polypeptide_binding_motif' OR cvterm.name = 'polypeptide_catalytic_motif' OR cvterm.name = 'polypeptide_metal_contact' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_calcium_ion_contact_site' OR cvterm.name = 'polypeptide_cobalt_ion_contact_site' OR cvterm.name = 'polypeptide_copper_ion_contact_site' OR cvterm.name = 'polypeptide_iron_ion_contact_site' OR cvterm.name = 'polypeptide_magnesium_ion_contact_site' OR cvterm.name = 'polypeptide_manganese_ion_contact_site' OR cvterm.name = 'polypeptide_molybdenum_ion_contact_site' OR cvterm.name = 'polypeptide_nickel_ion_contact_site' OR cvterm.name = 'polypeptide_tungsten_ion_contact_site' OR cvterm.name = 'polypeptide_zinc_ion_contact_site' OR cvterm.name = 'polypeptide_conserved_region';
- CREATE VIEW substitution AS
- SELECT
- feature_id AS substitution_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'point_mutation' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'MNP' OR cvterm.name = 'transition' OR cvterm.name = 'transversion' OR cvterm.name = 'pyrimidine_transition' OR cvterm.name = 'purine_transition' OR cvterm.name = 'C_to_T_transition' OR cvterm.name = 'T_to_C_transition' OR cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'A_to_G_transition' OR cvterm.name = 'G_to_A_transition' OR cvterm.name = 'pyrimidine_to_purine_transversion' OR cvterm.name = 'purine_to_pyrimidine_transversion' OR cvterm.name = 'C_to_A_transversion' OR cvterm.name = 'C_to_G_transversion' OR cvterm.name = 'T_to_A_transversion' OR cvterm.name = 'T_to_G_transversion' OR cvterm.name = 'A_to_C_transversion' OR cvterm.name = 'A_to_T_transversion' OR cvterm.name = 'G_to_C_transversion' OR cvterm.name = 'G_to_T_transversion' OR cvterm.name = 'substitution';
- CREATE VIEW partially_characterised_change_in_dna_sequence AS
- SELECT
- feature_id AS partially_characterised_change_in_dna_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'partially_characterised_change_in_DNA_sequence';
- CREATE VIEW complex_substitution AS
- SELECT
- feature_id AS complex_substitution_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'MNP' OR cvterm.name = 'complex_substitution';
- CREATE VIEW uncharacterised_change_in_nucleotide_sequence AS
- SELECT
- feature_id AS uncharacterised_change_in_nucleotide_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'partially_characterised_change_in_DNA_sequence' OR cvterm.name = 'uncharacterised_change_in_nucleotide_sequence';
- CREATE VIEW point_mutation AS
- SELECT
- feature_id AS point_mutation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transition' OR cvterm.name = 'transversion' OR cvterm.name = 'pyrimidine_transition' OR cvterm.name = 'purine_transition' OR cvterm.name = 'C_to_T_transition' OR cvterm.name = 'T_to_C_transition' OR cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'A_to_G_transition' OR cvterm.name = 'G_to_A_transition' OR cvterm.name = 'pyrimidine_to_purine_transversion' OR cvterm.name = 'purine_to_pyrimidine_transversion' OR cvterm.name = 'C_to_A_transversion' OR cvterm.name = 'C_to_G_transversion' OR cvterm.name = 'T_to_A_transversion' OR cvterm.name = 'T_to_G_transversion' OR cvterm.name = 'A_to_C_transversion' OR cvterm.name = 'A_to_T_transversion' OR cvterm.name = 'G_to_C_transversion' OR cvterm.name = 'G_to_T_transversion' OR cvterm.name = 'point_mutation';
- CREATE VIEW transition AS
- SELECT
- feature_id AS transition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pyrimidine_transition' OR cvterm.name = 'purine_transition' OR cvterm.name = 'C_to_T_transition' OR cvterm.name = 'T_to_C_transition' OR cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'A_to_G_transition' OR cvterm.name = 'G_to_A_transition' OR cvterm.name = 'transition';
- CREATE VIEW pyrimidine_transition AS
- SELECT
- feature_id AS pyrimidine_transition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_to_T_transition' OR cvterm.name = 'T_to_C_transition' OR cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'pyrimidine_transition';
- CREATE VIEW c_to_t_transition AS
- SELECT
- feature_id AS c_to_t_transition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_to_T_transition_at_pCpG_site' OR cvterm.name = 'C_to_T_transition';
- CREATE VIEW c_to_t_transition_at_pcpg_site AS
- SELECT
- feature_id AS c_to_t_transition_at_pcpg_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_to_T_transition_at_pCpG_site';
- CREATE VIEW t_to_c_transition AS
- SELECT
- feature_id AS t_to_c_transition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'T_to_C_transition';
- CREATE VIEW purine_transition AS
- SELECT
- feature_id AS purine_transition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'A_to_G_transition' OR cvterm.name = 'G_to_A_transition' OR cvterm.name = 'purine_transition';
- CREATE VIEW a_to_g_transition AS
- SELECT
- feature_id AS a_to_g_transition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'A_to_G_transition';
- CREATE VIEW g_to_a_transition AS
- SELECT
- feature_id AS g_to_a_transition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'G_to_A_transition';
- CREATE VIEW transversion AS
- SELECT
- feature_id AS transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pyrimidine_to_purine_transversion' OR cvterm.name = 'purine_to_pyrimidine_transversion' OR cvterm.name = 'C_to_A_transversion' OR cvterm.name = 'C_to_G_transversion' OR cvterm.name = 'T_to_A_transversion' OR cvterm.name = 'T_to_G_transversion' OR cvterm.name = 'A_to_C_transversion' OR cvterm.name = 'A_to_T_transversion' OR cvterm.name = 'G_to_C_transversion' OR cvterm.name = 'G_to_T_transversion' OR cvterm.name = 'transversion';
- CREATE VIEW pyrimidine_to_purine_transversion AS
- SELECT
- feature_id AS pyrimidine_to_purine_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_to_A_transversion' OR cvterm.name = 'C_to_G_transversion' OR cvterm.name = 'T_to_A_transversion' OR cvterm.name = 'T_to_G_transversion' OR cvterm.name = 'pyrimidine_to_purine_transversion';
- CREATE VIEW c_to_a_transversion AS
- SELECT
- feature_id AS c_to_a_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_to_A_transversion';
- CREATE VIEW c_to_g_transversion AS
- SELECT
- feature_id AS c_to_g_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'C_to_G_transversion';
- CREATE VIEW t_to_a_transversion AS
- SELECT
- feature_id AS t_to_a_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'T_to_A_transversion';
- CREATE VIEW t_to_g_transversion AS
- SELECT
- feature_id AS t_to_g_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'T_to_G_transversion';
- CREATE VIEW purine_to_pyrimidine_transversion AS
- SELECT
- feature_id AS purine_to_pyrimidine_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'A_to_C_transversion' OR cvterm.name = 'A_to_T_transversion' OR cvterm.name = 'G_to_C_transversion' OR cvterm.name = 'G_to_T_transversion' OR cvterm.name = 'purine_to_pyrimidine_transversion';
- CREATE VIEW a_to_c_transversion AS
- SELECT
- feature_id AS a_to_c_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'A_to_C_transversion';
- CREATE VIEW a_to_t_transversion AS
- SELECT
- feature_id AS a_to_t_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'A_to_T_transversion';
- CREATE VIEW g_to_c_transversion AS
- SELECT
- feature_id AS g_to_c_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'G_to_C_transversion';
- CREATE VIEW g_to_t_transversion AS
- SELECT
- feature_id AS g_to_t_transversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'G_to_T_transversion';
- CREATE VIEW intrachromosomal_mutation AS
- SELECT
- feature_id AS intrachromosomal_mutation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosomal_deletion' OR cvterm.name = 'chromosomal_inversion' OR cvterm.name = 'intrachromosomal_duplication' OR cvterm.name = 'ring_chromosome' OR cvterm.name = 'chromosome_fission' OR cvterm.name = 'inversion_derived_bipartite_deficiency' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_aneuploid' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'inverted_ring_chromosome' OR cvterm.name = 'pericentric_inversion' OR cvterm.name = 'paracentric_inversion' OR cvterm.name = 'inversion_cum_translocation' OR cvterm.name = 'bipartite_inversion' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_bipartite_duplication' OR cvterm.name = 'inversion_derived_duplication_plus_aneuploid' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'inverted_ring_chromosome' OR cvterm.name = 'free_ring_duplication' OR cvterm.name = 'intrachromosomal_mutation';
- CREATE VIEW chromosomal_deletion AS
- SELECT
- feature_id AS chromosomal_deletion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_derived_bipartite_deficiency' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_aneuploid' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'chromosomal_deletion';
- CREATE VIEW chromosomal_inversion AS
- SELECT
- feature_id AS chromosomal_inversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inverted_ring_chromosome' OR cvterm.name = 'pericentric_inversion' OR cvterm.name = 'paracentric_inversion' OR cvterm.name = 'inversion_cum_translocation' OR cvterm.name = 'bipartite_inversion' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'chromosomal_inversion';
- CREATE VIEW interchromosomal_mutation AS
- SELECT
- feature_id AS interchromosomal_mutation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosomal_translocation' OR cvterm.name = 'bipartite_duplication' OR cvterm.name = 'interchromosomal_transposition' OR cvterm.name = 'translocation_element' OR cvterm.name = 'Robertsonian_fusion' OR cvterm.name = 'reciprocal_chromosomal_translocation' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'inversion_cum_translocation' OR cvterm.name = 'cyclic_translocation' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unorientated_interchromosomal_transposition' OR cvterm.name = 'interchromosomal_mutation';
- CREATE VIEW indel AS
- SELECT
- feature_id AS indel_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleotide_deletion' OR cvterm.name = 'nucleotide_insertion' OR cvterm.name = 'nucleotide_duplication' OR cvterm.name = 'indel';
- CREATE VIEW nucleotide_deletion AS
- SELECT
- feature_id AS nucleotide_deletion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleotide_deletion';
- CREATE VIEW nucleotide_insertion AS
- SELECT
- feature_id AS nucleotide_insertion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleotide_duplication' OR cvterm.name = 'nucleotide_insertion';
- CREATE VIEW nucleotide_duplication AS
- SELECT
- feature_id AS nucleotide_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleotide_duplication';
- CREATE VIEW inversion AS
- SELECT
- feature_id AS inversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion';
- CREATE VIEW chromosomal_duplication AS
- SELECT
- feature_id AS chromosomal_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'interchromosomal_duplication' OR cvterm.name = 'intrachromosomal_duplication' OR cvterm.name = 'free_duplication' OR cvterm.name = 'insertional_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_bipartite_duplication' OR cvterm.name = 'inversion_derived_duplication_plus_aneuploid' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'free_ring_duplication' OR cvterm.name = 'uninverted_insertional_duplication' OR cvterm.name = 'inverted_insertional_duplication' OR cvterm.name = 'unoriented_insertional_duplication' OR cvterm.name = 'chromosomal_duplication';
- CREATE VIEW intrachromosomal_duplication AS
- SELECT
- feature_id AS intrachromosomal_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_bipartite_duplication' OR cvterm.name = 'inversion_derived_duplication_plus_aneuploid' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'intrachromosomal_duplication';
- CREATE VIEW direct_tandem_duplication AS
- SELECT
- feature_id AS direct_tandem_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'direct_tandem_duplication';
- CREATE VIEW inverted_tandem_duplication AS
- SELECT
- feature_id AS inverted_tandem_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inverted_tandem_duplication';
- CREATE VIEW intrachromosomal_transposition AS
- SELECT
- feature_id AS intrachromosomal_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'intrachromosomal_transposition';
- CREATE VIEW compound_chromosome AS
- SELECT
- feature_id AS compound_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'compound_chromosome_arm' OR cvterm.name = 'homo_compound_chromosome' OR cvterm.name = 'hetero_compound_chromosome' OR cvterm.name = 'compound_chromosome';
- CREATE VIEW robertsonian_fusion AS
- SELECT
- feature_id AS robertsonian_fusion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'Robertsonian_fusion';
- CREATE VIEW chromosomal_translocation AS
- SELECT
- feature_id AS chromosomal_translocation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'translocation_element' OR cvterm.name = 'Robertsonian_fusion' OR cvterm.name = 'reciprocal_chromosomal_translocation' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'inversion_cum_translocation' OR cvterm.name = 'cyclic_translocation' OR cvterm.name = 'chromosomal_translocation';
- CREATE VIEW ring_chromosome AS
- SELECT
- feature_id AS ring_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inverted_ring_chromosome' OR cvterm.name = 'free_ring_duplication' OR cvterm.name = 'ring_chromosome';
- CREATE VIEW pericentric_inversion AS
- SELECT
- feature_id AS pericentric_inversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pericentric_inversion';
- CREATE VIEW paracentric_inversion AS
- SELECT
- feature_id AS paracentric_inversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paracentric_inversion';
- CREATE VIEW reciprocal_chromosomal_translocation AS
- SELECT
- feature_id AS reciprocal_chromosomal_translocation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'reciprocal_chromosomal_translocation';
- CREATE VIEW sequence_variation_affecting_transcript AS
- SELECT
- feature_id AS sequence_variation_affecting_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_no_change_in_transcript' OR cvterm.name = 'sequence_variation_affecting_complex_change_in_transcript' OR cvterm.name = 'sequence_variant_affecting_transcription' OR cvterm.name = 'sequence_variation_affecting_transcript_sequence' OR cvterm.name = 'sequence_variation_affecting_level_of_transcript' OR cvterm.name = 'sequence_variant_causing_uncharacterised_change_in_transcript' OR cvterm.name = 'sequence_variant_affecting_rate_of_transcription' OR cvterm.name = 'sequence_variant_decreasing_rate_of_transcription' OR cvterm.name = 'sequence_variant_increasing_rate_of_transcription' OR cvterm.name = 'sequence_variation_affecting_coding_sequence' OR cvterm.name = 'sequence_variant_affecting_transcript_processing' OR cvterm.name = 'sequence variant_affecting_transcript_stability' OR cvterm.name = 'sequence_variant_affecting_transcript_secondary_structure' OR cvterm.name = 'sequence_variant_causing_amino_acid_coding_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_terminator_codon_change_in_transcript' OR cvterm.name = 'sequence_variation_affecting_reading_frame' OR cvterm.name = 'sequence_variant_causing_initiator_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_non_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonsense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_conservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonconservative_missense_codon_change_in_transcript' OR cvterm.name = 'frameshift_sequence_variation' OR cvterm.name = 'sequence_variant_causing_plus_1_frameshift_mutation' OR cvterm.name = 'sequence_variant_causing_minus_1_frameshift' OR cvterm.name = 'sequence_variant_causing_plus_2_frameshift' OR cvterm.name = 'sequence_variant_causing_minus_2_frameshift' OR cvterm.name = 'frame_restoring_sequence_variant' OR cvterm.name = 'sequence_variant_affecting_polyadenylation' OR cvterm.name = 'sequence_variant_affecting_editing' OR cvterm.name = 'sequence_variant_increasing_transcript_stability' OR cvterm.name = 'sequence_variant_decreasing_transcript_stability' OR cvterm.name = 'sequence_variant_causing_compensatory_transcript_secondary_structure_mutation' OR cvterm.name = 'sequence_variation_decreasing_level_of_transcript' OR cvterm.name = 'sequence_variation_increasing_level_of_transcript' OR cvterm.name = 'sequence_variant_causing_partially_characterised_change_in_transcript' OR cvterm.name = 'sequence_variation_affecting_transcript';
- CREATE VIEW sequence_variant_causing_no_change_in_transcript AS
- SELECT
- feature_id AS sequence_variant_causing_no_change_in_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_no_change_in_transcript';
- CREATE VIEW sequence_variation_affecting_complex_change_in_transcript AS
- SELECT
- feature_id AS sequence_variation_affecting_complex_change_in_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variation_affecting_complex_change_in_transcript';
- CREATE VIEW sequence_variation_affecting_coding_sequence AS
- SELECT
- feature_id AS sequence_variation_affecting_coding_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_amino_acid_coding_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_terminator_codon_change_in_transcript' OR cvterm.name = 'sequence_variation_affecting_reading_frame' OR cvterm.name = 'sequence_variant_causing_initiator_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_non_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonsense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_conservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonconservative_missense_codon_change_in_transcript' OR cvterm.name = 'frameshift_sequence_variation' OR cvterm.name = 'sequence_variant_causing_plus_1_frameshift_mutation' OR cvterm.name = 'sequence_variant_causing_minus_1_frameshift' OR cvterm.name = 'sequence_variant_causing_plus_2_frameshift' OR cvterm.name = 'sequence_variant_causing_minus_2_frameshift' OR cvterm.name = 'frame_restoring_sequence_variant' OR cvterm.name = 'sequence_variation_affecting_coding_sequence';
- CREATE VIEW sequence_variant_causing_initiator_codon_change_in_trans AS
- SELECT
- feature_id AS sequence_variant_causing_initiator_codon_change_in_trans_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_initiator_codon_change_in_transcript';
- CREATE VIEW seq_variant_causing_amino_acid_coding_codon_change_in_trans AS
- SELECT
- feature_id AS seq_variant_causing_amino_acid_coding_codon_change_in_trans_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_initiator_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_non_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonsense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_conservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonconservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_amino_acid_coding_codon_change_in_transcript';
- CREATE VIEW seq_variant_causing_synonymous_codon_change_in_trans AS
- SELECT
- feature_id AS seq_variant_causing_synonymous_codon_change_in_trans_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_synonymous_codon_change_in_transcript';
- CREATE VIEW seq_variant_causing_non_synonymous_codon_change_in_trans AS
- SELECT
- feature_id AS seq_variant_causing_non_synonymous_codon_change_in_trans_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_conservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonconservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_non_synonymous_codon_change_in_transcript';
- CREATE VIEW sequence_variant_causing_missense_codon_change_in_transcript AS
- SELECT
- feature_id AS sequence_variant_causing_missense_codon_change_in_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_conservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonconservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_missense_codon_change_in_transcript';
- CREATE VIEW seq_var_causing_conservative_missense_codon_change_in_trans AS
- SELECT
- feature_id AS seq_var_causing_conservative_missense_codon_change_in_trans_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_conservative_missense_codon_change_in_transcript';
- CREATE VIEW seq_var_causing_nonconserv_missense_codon_change_in_trans AS
- SELECT
- feature_id AS seq_var_causing_nonconserv_missense_codon_change_in_trans_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_nonconservative_missense_codon_change_in_transcript';
- CREATE VIEW sequence_variant_causing_nonsense_codon_change_in_transcript AS
- SELECT
- feature_id AS sequence_variant_causing_nonsense_codon_change_in_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_nonsense_codon_change_in_transcript';
- CREATE VIEW sequence_variant_causing_terminator_codon_change_in_trans AS
- SELECT
- feature_id AS sequence_variant_causing_terminator_codon_change_in_trans_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_terminator_codon_change_in_transcript';
- CREATE VIEW sequence_variation_affecting_reading_frame AS
- SELECT
- feature_id AS sequence_variation_affecting_reading_frame_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'frameshift_sequence_variation' OR cvterm.name = 'sequence_variant_causing_plus_1_frameshift_mutation' OR cvterm.name = 'sequence_variant_causing_minus_1_frameshift' OR cvterm.name = 'sequence_variant_causing_plus_2_frameshift' OR cvterm.name = 'sequence_variant_causing_minus_2_frameshift' OR cvterm.name = 'frame_restoring_sequence_variant' OR cvterm.name = 'sequence_variation_affecting_reading_frame';
- CREATE VIEW frameshift_sequence_variation AS
- SELECT
- feature_id AS frameshift_sequence_variation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_plus_1_frameshift_mutation' OR cvterm.name = 'sequence_variant_causing_minus_1_frameshift' OR cvterm.name = 'sequence_variant_causing_plus_2_frameshift' OR cvterm.name = 'sequence_variant_causing_minus_2_frameshift' OR cvterm.name = 'frame_restoring_sequence_variant' OR cvterm.name = 'frameshift_sequence_variation';
- CREATE VIEW sequence_variant_causing_plus_1_frameshift_mutation AS
- SELECT
- feature_id AS sequence_variant_causing_plus_1_frameshift_mutation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_plus_1_frameshift_mutation';
- CREATE VIEW sequence_variant_causing_minus_1_frameshift AS
- SELECT
- feature_id AS sequence_variant_causing_minus_1_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_minus_1_frameshift';
- CREATE VIEW sequence_variant_causing_plus_2_frameshift AS
- SELECT
- feature_id AS sequence_variant_causing_plus_2_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_plus_2_frameshift';
- CREATE VIEW sequence_variant_causing_minus_2_frameshift AS
- SELECT
- feature_id AS sequence_variant_causing_minus_2_frameshift_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_minus_2_frameshift';
- CREATE VIEW sequence_variant_affecting_transcript_processing AS
- SELECT
- feature_id AS sequence_variant_affecting_transcript_processing_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_polyadenylation' OR cvterm.name = 'sequence_variant_affecting_editing' OR cvterm.name = 'sequence_variant_affecting_transcript_processing';
- CREATE VIEW sequence_variant_affecting_splicing AS
- SELECT
- feature_id AS sequence_variant_affecting_splicing_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_splice_donor' OR cvterm.name = 'sequence_variant_affecting_splice_acceptor' OR cvterm.name = 'sequence_variant_causing_cryptic_splice_activation' OR cvterm.name = 'sequence_variant_causes_exon_loss' OR cvterm.name = 'sequence_variant_causes_intron_gain' OR cvterm.name = 'sequence_variant_causing_cryptic_splice_donor_activation' OR cvterm.name = 'sequence_variant_causing_cryptic_splice_acceptor_activation' OR cvterm.name = 'sequence_variant_affecting_splicing';
- CREATE VIEW sequence_variant_affecting_splice_donor AS
- SELECT
- feature_id AS sequence_variant_affecting_splice_donor_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_splice_donor';
- CREATE VIEW sequence_variant_affecting_splice_acceptor AS
- SELECT
- feature_id AS sequence_variant_affecting_splice_acceptor_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_splice_acceptor';
- CREATE VIEW sequence_variant_causing_cryptic_splice_activation AS
- SELECT
- feature_id AS sequence_variant_causing_cryptic_splice_activation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_cryptic_splice_donor_activation' OR cvterm.name = 'sequence_variant_causing_cryptic_splice_acceptor_activation' OR cvterm.name = 'sequence_variant_causing_cryptic_splice_activation';
- CREATE VIEW sequence_variant_affecting_editing AS
- SELECT
- feature_id AS sequence_variant_affecting_editing_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_editing';
- CREATE VIEW sequence_variant_affecting_transcription AS
- SELECT
- feature_id AS sequence_variant_affecting_transcription_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_rate_of_transcription' OR cvterm.name = 'sequence_variant_decreasing_rate_of_transcription' OR cvterm.name = 'sequence_variant_increasing_rate_of_transcription' OR cvterm.name = 'sequence_variant_affecting_transcription';
- CREATE VIEW sequence_variant_decreasing_rate_of_transcription AS
- SELECT
- feature_id AS sequence_variant_decreasing_rate_of_transcription_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_decreasing_rate_of_transcription';
- CREATE VIEW sequence_variation_affecting_transcript_sequence AS
- SELECT
- feature_id AS sequence_variation_affecting_transcript_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variation_affecting_coding_sequence' OR cvterm.name = 'sequence_variant_affecting_transcript_processing' OR cvterm.name = 'sequence variant_affecting_transcript_stability' OR cvterm.name = 'sequence_variant_affecting_transcript_secondary_structure' OR cvterm.name = 'sequence_variant_causing_amino_acid_coding_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_terminator_codon_change_in_transcript' OR cvterm.name = 'sequence_variation_affecting_reading_frame' OR cvterm.name = 'sequence_variant_causing_initiator_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_non_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonsense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_conservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonconservative_missense_codon_change_in_transcript' OR cvterm.name = 'frameshift_sequence_variation' OR cvterm.name = 'sequence_variant_causing_plus_1_frameshift_mutation' OR cvterm.name = 'sequence_variant_causing_minus_1_frameshift' OR cvterm.name = 'sequence_variant_causing_plus_2_frameshift' OR cvterm.name = 'sequence_variant_causing_minus_2_frameshift' OR cvterm.name = 'frame_restoring_sequence_variant' OR cvterm.name = 'sequence_variant_affecting_polyadenylation' OR cvterm.name = 'sequence_variant_affecting_editing' OR cvterm.name = 'sequence_variant_increasing_transcript_stability' OR cvterm.name = 'sequence_variant_decreasing_transcript_stability' OR cvterm.name = 'sequence_variant_causing_compensatory_transcript_secondary_structure_mutation' OR cvterm.name = 'sequence_variation_affecting_transcript_sequence';
- CREATE VIEW sequence_variant_increasing_rate_of_transcription AS
- SELECT
- feature_id AS sequence_variant_increasing_rate_of_transcription_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_increasing_rate_of_transcription';
- CREATE VIEW sequence_variant_affecting_rate_of_transcription AS
- SELECT
- feature_id AS sequence_variant_affecting_rate_of_transcription_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_decreasing_rate_of_transcription' OR cvterm.name = 'sequence_variant_increasing_rate_of_transcription' OR cvterm.name = 'sequence_variant_affecting_rate_of_transcription';
- CREATE VIEW sequence_variant_affecting_transcript_stability AS
- SELECT
- feature_id AS sequence_variant_affecting_transcript_stability_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_increasing_transcript_stability' OR cvterm.name = 'sequence_variant_decreasing_transcript_stability' OR cvterm.name = 'sequence variant_affecting_transcript_stability';
- CREATE VIEW sequence_variant_increasing_transcript_stability AS
- SELECT
- feature_id AS sequence_variant_increasing_transcript_stability_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_increasing_transcript_stability';
- CREATE VIEW sequence_variant_decreasing_transcript_stability AS
- SELECT
- feature_id AS sequence_variant_decreasing_transcript_stability_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_decreasing_transcript_stability';
- CREATE VIEW sequence_variation_affecting_level_of_transcript AS
- SELECT
- feature_id AS sequence_variation_affecting_level_of_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variation_decreasing_level_of_transcript' OR cvterm.name = 'sequence_variation_increasing_level_of_transcript' OR cvterm.name = 'sequence_variation_affecting_level_of_transcript';
- CREATE VIEW sequence_variation_decreasing_level_of_transcript AS
- SELECT
- feature_id AS sequence_variation_decreasing_level_of_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variation_decreasing_level_of_transcript';
- CREATE VIEW sequence_variation_increasing_level_of_transcript AS
- SELECT
- feature_id AS sequence_variation_increasing_level_of_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variation_increasing_level_of_transcript';
- CREATE VIEW sequence_variant_affecting_translational_product AS
- SELECT
- feature_id AS sequence_variant_affecting_translational_product_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_no_change_of_translational_product' OR cvterm.name = 'sequence_variant_causing_uncharacterised_change_of_translational_product' OR cvterm.name = 'sequence_variant_causing_complex_change_of_translational_product' OR cvterm.name = 'sequence_variant_affecting_level_of_translational_product' OR cvterm.name = 'sequence_variant_affecting_polypeptide_amino_acid_sequence' OR cvterm.name = 'sequence_variant_affecting_3D_structure_of_polypeptide' OR cvterm.name = 'sequence_variant_affecting_polypeptide_function' OR cvterm.name = 'sequence_variant_causing_partially_characterised_change_of_translational_product' OR cvterm.name = 'sequence_variant_decreasing_level_of_translation_product' OR cvterm.name = 'sequence_variant_increasing_level_of_translation_product' OR cvterm.name = 'sequence_variant_causing_amino_acid_substitution' OR cvterm.name = 'sequence_variant_causing_amino_acid_insertion' OR cvterm.name = 'sequence_variant_causing_amino_acid_deletion' OR cvterm.name = 'sequence_variant_causing_polypeptide_truncation' OR cvterm.name = 'sequence_variant_causing_polypeptide_elongation' OR cvterm.name = 'sequence_variant_causing_polypeptide_fusion' OR cvterm.name = 'sequence_variant_causing_conservative_amino_acid_substitution' OR cvterm.name = 'sequence_variant_causing_nonconservative_amino_acid_substitution' OR cvterm.name = 'mutation_causing_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_inframe_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutaton_causing_inframe_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_C_terminal_elongation' OR cvterm.name = 'sequence_variant_causing_no_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_uncharacterised_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_complex_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_conformational_change' OR cvterm.name = 'sequence_variant_causing_partially_characterised_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_loss_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_polypeptide_localization_change' OR cvterm.name = 'sequence_variant_causing_polypeptide_post_translational_processing_change' OR cvterm.name = 'sequence_variant_causing_gain_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_inactive_ligand_binding_site' OR cvterm.name = 'sequence_variant_causing_polypeptide_post_translational_processing_change' OR cvterm.name = 'sequence_variant_causing_partial_loss_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_inactive_catalytic_site' OR cvterm.name = 'sequence_variant_affecting_translational_product';
- CREATE VIEW sequence_variant_causing_no_change_of_translational_product AS
- SELECT
- feature_id AS sequence_variant_causing_no_change_of_translational_product_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_no_change_of_translational_product';
- CREATE VIEW sequence_variant_causing_uncharacterised_change_of_product AS
- SELECT
- feature_id AS sequence_variant_causing_uncharacterised_change_of_product_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_partially_characterised_change_of_translational_product' OR cvterm.name = 'sequence_variant_causing_uncharacterised_change_of_translational_product';
- CREATE VIEW seq_variant_causing_partly_characterised_change_of_product AS
- SELECT
- feature_id AS seq_variant_causing_partly_characterised_change_of_product_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_partially_characterised_change_of_translational_product';
- CREATE VIEW sequence_variant_causing_complex_change_of_product AS
- SELECT
- feature_id AS sequence_variant_causing_complex_change_of_product_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_complex_change_of_translational_product';
- CREATE VIEW sequence_variant_causing_amino_acid_substitution AS
- SELECT
- feature_id AS sequence_variant_causing_amino_acid_substitution_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_conservative_amino_acid_substitution' OR cvterm.name = 'sequence_variant_causing_nonconservative_amino_acid_substitution' OR cvterm.name = 'sequence_variant_causing_amino_acid_substitution';
- CREATE VIEW sequence_variant_causing_conservative_amino_acid_sub AS
- SELECT
- feature_id AS sequence_variant_causing_conservative_amino_acid_sub_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_conservative_amino_acid_substitution';
- CREATE VIEW sequence_variant_causing_nonconservative_amino_acid_sub AS
- SELECT
- feature_id AS sequence_variant_causing_nonconservative_amino_acid_sub_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_nonconservative_amino_acid_substitution';
- CREATE VIEW sequence_variant_causing_amino_acid_insertion AS
- SELECT
- feature_id AS sequence_variant_causing_amino_acid_insertion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_amino_acid_insertion';
- CREATE VIEW sequence_variant_causing_amino_acid_deletion AS
- SELECT
- feature_id AS sequence_variant_causing_amino_acid_deletion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_amino_acid_deletion';
- CREATE VIEW sequence_variant_causing_polypeptide_truncation AS
- SELECT
- feature_id AS sequence_variant_causing_polypeptide_truncation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_polypeptide_truncation';
- CREATE VIEW sequence_variant_causing_polypeptide_elongation AS
- SELECT
- feature_id AS sequence_variant_causing_polypeptide_elongation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mutation_causing_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_inframe_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutaton_causing_inframe_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_C_terminal_elongation' OR cvterm.name = 'sequence_variant_causing_polypeptide_elongation';
- CREATE VIEW mutation_causing_polypeptide_n_terminal_elongation AS
- SELECT
- feature_id AS mutation_causing_polypeptide_n_terminal_elongation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mutation_causing_inframe_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_polypeptide_N_terminal_elongation';
- CREATE VIEW mutation_causing_polypeptide_c_terminal_elongation AS
- SELECT
- feature_id AS mutation_causing_polypeptide_c_terminal_elongation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mutaton_causing_inframe_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_polypeptide_C_terminal_elongation';
- CREATE VIEW sequence_variant_affecting_level_of_translational_product AS
- SELECT
- feature_id AS sequence_variant_affecting_level_of_translational_product_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_decreasing_level_of_translation_product' OR cvterm.name = 'sequence_variant_increasing_level_of_translation_product' OR cvterm.name = 'sequence_variant_affecting_level_of_translational_product';
- CREATE VIEW sequence_variant_decreasing_level_of_translation_product AS
- SELECT
- feature_id AS sequence_variant_decreasing_level_of_translation_product_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_decreasing_level_of_translation_product';
- CREATE VIEW sequence_variant_increasing_level_of_translation_product AS
- SELECT
- feature_id AS sequence_variant_increasing_level_of_translation_product_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_increasing_level_of_translation_product';
- CREATE VIEW sequence_variant_affecting_polypeptide_amino_acid_sequence AS
- SELECT
- feature_id AS sequence_variant_affecting_polypeptide_amino_acid_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_amino_acid_substitution' OR cvterm.name = 'sequence_variant_causing_amino_acid_insertion' OR cvterm.name = 'sequence_variant_causing_amino_acid_deletion' OR cvterm.name = 'sequence_variant_causing_polypeptide_truncation' OR cvterm.name = 'sequence_variant_causing_polypeptide_elongation' OR cvterm.name = 'sequence_variant_causing_polypeptide_fusion' OR cvterm.name = 'sequence_variant_causing_conservative_amino_acid_substitution' OR cvterm.name = 'sequence_variant_causing_nonconservative_amino_acid_substitution' OR cvterm.name = 'mutation_causing_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_inframe_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutaton_causing_inframe_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_C_terminal_elongation' OR cvterm.name = 'sequence_variant_affecting_polypeptide_amino_acid_sequence';
- CREATE VIEW mutation_causing_inframe_polypeptide_n_terminal_elongation AS
- SELECT
- feature_id AS mutation_causing_inframe_polypeptide_n_terminal_elongation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mutation_causing_inframe_polypeptide_N_terminal_elongation';
- CREATE VIEW mutation_causing_out_of_frame_polypeptide_n_terminal_elong AS
- SELECT
- feature_id AS mutation_causing_out_of_frame_polypeptide_n_terminal_elong_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mutation_causing_out_of_frame_polypeptide_N_terminal_elongation';
- CREATE VIEW mutaton_causing_inframe_polypeptide_c_terminal_elongation AS
- SELECT
- feature_id AS mutaton_causing_inframe_polypeptide_c_terminal_elongation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mutaton_causing_inframe_polypeptide_C_terminal_elongation';
- CREATE VIEW mutation_causing_out_of_frame_polypeptide_c_terminal_elong AS
- SELECT
- feature_id AS mutation_causing_out_of_frame_polypeptide_c_terminal_elong_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mutation_causing_out_of_frame_polypeptide_C_terminal_elongation';
- CREATE VIEW frame_restoring_sequence_variant AS
- SELECT
- feature_id AS frame_restoring_sequence_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'frame_restoring_sequence_variant';
- CREATE VIEW sequence_variant_affecting_3d_structure_of_polypeptide AS
- SELECT
- feature_id AS sequence_variant_affecting_3d_structure_of_polypeptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_no_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_uncharacterised_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_complex_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_conformational_change' OR cvterm.name = 'sequence_variant_causing_partially_characterised_3D_structural_change' OR cvterm.name = 'sequence_variant_affecting_3D_structure_of_polypeptide';
- CREATE VIEW sequence_variant_causing_no_3d_structural_change AS
- SELECT
- feature_id AS sequence_variant_causing_no_3d_structural_change_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_no_3D_structural_change';
- CREATE VIEW seq_variant_causing_uncharacterised_3d_structural_change AS
- SELECT
- feature_id AS seq_variant_causing_uncharacterised_3d_structural_change_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_partially_characterised_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_uncharacterised_3D_structural_change';
- CREATE VIEW seq_var_causing_partly_characterised_3d_structural_change AS
- SELECT
- feature_id AS seq_var_causing_partly_characterised_3d_structural_change_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_partially_characterised_3D_structural_change';
- CREATE VIEW sequence_variant_causing_complex_3d_structural_change AS
- SELECT
- feature_id AS sequence_variant_causing_complex_3d_structural_change_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_complex_3D_structural_change';
- CREATE VIEW sequence_variant_causing_conformational_change AS
- SELECT
- feature_id AS sequence_variant_causing_conformational_change_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_conformational_change';
- CREATE VIEW sequence_variant_affecting_polypeptide_function AS
- SELECT
- feature_id AS sequence_variant_affecting_polypeptide_function_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_loss_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_polypeptide_localization_change' OR cvterm.name = 'sequence_variant_causing_polypeptide_post_translational_processing_change' OR cvterm.name = 'sequence_variant_causing_gain_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_inactive_ligand_binding_site' OR cvterm.name = 'sequence_variant_causing_polypeptide_post_translational_processing_change' OR cvterm.name = 'sequence_variant_causing_partial_loss_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_inactive_catalytic_site' OR cvterm.name = 'sequence_variant_affecting_polypeptide_function';
- CREATE VIEW sequence_variant_causing_loss_of_function_of_polypeptide AS
- SELECT
- feature_id AS sequence_variant_causing_loss_of_function_of_polypeptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_inactive_ligand_binding_site' OR cvterm.name = 'sequence_variant_causing_polypeptide_post_translational_processing_change' OR cvterm.name = 'sequence_variant_causing_partial_loss_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_inactive_catalytic_site' OR cvterm.name = 'sequence_variant_causing_loss_of_function_of_polypeptide';
- CREATE VIEW sequence_variant_causing_inactive_ligand_binding_site AS
- SELECT
- feature_id AS sequence_variant_causing_inactive_ligand_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_inactive_catalytic_site' OR cvterm.name = 'sequence_variant_causing_inactive_ligand_binding_site';
- CREATE VIEW sequence_variant_causing_inactive_catalytic_site AS
- SELECT
- feature_id AS sequence_variant_causing_inactive_catalytic_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_inactive_catalytic_site';
- CREATE VIEW sequence_variant_causing_polypeptide_localization_change AS
- SELECT
- feature_id AS sequence_variant_causing_polypeptide_localization_change_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_polypeptide_localization_change';
- CREATE VIEW seq_variant_causing_polypeptide_post_trans_processing_change AS
- SELECT
- feature_id AS seq_variant_causing_polypeptide_post_trans_processing_change_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_polypeptide_post_translational_processing_change';
- CREATE VIEW seq_variant_causing_part_loss_of_function_of_polypeptide AS
- SELECT
- feature_id AS seq_variant_causing_part_loss_of_function_of_polypeptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_partial_loss_of_function_of_polypeptide';
- CREATE VIEW sequence_variant_causing_gain_of_function_of_polypeptide AS
- SELECT
- feature_id AS sequence_variant_causing_gain_of_function_of_polypeptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_gain_of_function_of_polypeptide';
- CREATE VIEW sequence_variant_affecting_transcript_secondary_structure AS
- SELECT
- feature_id AS sequence_variant_affecting_transcript_secondary_structure_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_compensatory_transcript_secondary_structure_mutation' OR cvterm.name = 'sequence_variant_affecting_transcript_secondary_structure';
- CREATE VIEW seq_variant_caus_compensatory_trans_secondary_structure_mut AS
- SELECT
- feature_id AS seq_variant_caus_compensatory_trans_secondary_structure_mut_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_compensatory_transcript_secondary_structure_mutation';
- CREATE VIEW sequence_variant_effect AS
- SELECT
- feature_id AS sequence_variant_effect_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_affecting_regulatory_region' OR cvterm.name = 'silent_mutation' OR cvterm.name = 'sequence_variant_affecting_copy_number' OR cvterm.name = 'sequence_variation_affecting_transcript' OR cvterm.name = 'sequence_variant_affecting_splicing' OR cvterm.name = 'sequence_variant_affecting_translational_product' OR cvterm.name = 'sequence_variant_affecting_gene_structure' OR cvterm.name = 'sequence_variant_causing_no_change_in_transcript' OR cvterm.name = 'sequence_variation_affecting_complex_change_in_transcript' OR cvterm.name = 'sequence_variant_affecting_transcription' OR cvterm.name = 'sequence_variation_affecting_transcript_sequence' OR cvterm.name = 'sequence_variation_affecting_level_of_transcript' OR cvterm.name = 'sequence_variant_causing_uncharacterised_change_in_transcript' OR cvterm.name = 'sequence_variant_affecting_rate_of_transcription' OR cvterm.name = 'sequence_variant_decreasing_rate_of_transcription' OR cvterm.name = 'sequence_variant_increasing_rate_of_transcription' OR cvterm.name = 'sequence_variation_affecting_coding_sequence' OR cvterm.name = 'sequence_variant_affecting_transcript_processing' OR cvterm.name = 'sequence variant_affecting_transcript_stability' OR cvterm.name = 'sequence_variant_affecting_transcript_secondary_structure' OR cvterm.name = 'sequence_variant_causing_amino_acid_coding_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_terminator_codon_change_in_transcript' OR cvterm.name = 'sequence_variation_affecting_reading_frame' OR cvterm.name = 'sequence_variant_causing_initiator_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_non_synonymous_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonsense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_conservative_missense_codon_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_nonconservative_missense_codon_change_in_transcript' OR cvterm.name = 'frameshift_sequence_variation' OR cvterm.name = 'sequence_variant_causing_plus_1_frameshift_mutation' OR cvterm.name = 'sequence_variant_causing_minus_1_frameshift' OR cvterm.name = 'sequence_variant_causing_plus_2_frameshift' OR cvterm.name = 'sequence_variant_causing_minus_2_frameshift' OR cvterm.name = 'frame_restoring_sequence_variant' OR cvterm.name = 'sequence_variant_affecting_polyadenylation' OR cvterm.name = 'sequence_variant_affecting_editing' OR cvterm.name = 'sequence_variant_increasing_transcript_stability' OR cvterm.name = 'sequence_variant_decreasing_transcript_stability' OR cvterm.name = 'sequence_variant_causing_compensatory_transcript_secondary_structure_mutation' OR cvterm.name = 'sequence_variation_decreasing_level_of_transcript' OR cvterm.name = 'sequence_variation_increasing_level_of_transcript' OR cvterm.name = 'sequence_variant_causing_partially_characterised_change_in_transcript' OR cvterm.name = 'sequence_variant_affecting_splice_donor' OR cvterm.name = 'sequence_variant_affecting_splice_acceptor' OR cvterm.name = 'sequence_variant_causing_cryptic_splice_activation' OR cvterm.name = 'sequence_variant_causes_exon_loss' OR cvterm.name = 'sequence_variant_causes_intron_gain' OR cvterm.name = 'sequence_variant_causing_cryptic_splice_donor_activation' OR cvterm.name = 'sequence_variant_causing_cryptic_splice_acceptor_activation' OR cvterm.name = 'sequence_variant_causing_no_change_of_translational_product' OR cvterm.name = 'sequence_variant_causing_uncharacterised_change_of_translational_product' OR cvterm.name = 'sequence_variant_causing_complex_change_of_translational_product' OR cvterm.name = 'sequence_variant_affecting_level_of_translational_product' OR cvterm.name = 'sequence_variant_affecting_polypeptide_amino_acid_sequence' OR cvterm.name = 'sequence_variant_affecting_3D_structure_of_polypeptide' OR cvterm.name = 'sequence_variant_affecting_polypeptide_function' OR cvterm.name = 'sequence_variant_causing_partially_characterised_change_of_translational_product' OR cvterm.name = 'sequence_variant_decreasing_level_of_translation_product' OR cvterm.name = 'sequence_variant_increasing_level_of_translation_product' OR cvterm.name = 'sequence_variant_causing_amino_acid_substitution' OR cvterm.name = 'sequence_variant_causing_amino_acid_insertion' OR cvterm.name = 'sequence_variant_causing_amino_acid_deletion' OR cvterm.name = 'sequence_variant_causing_polypeptide_truncation' OR cvterm.name = 'sequence_variant_causing_polypeptide_elongation' OR cvterm.name = 'sequence_variant_causing_polypeptide_fusion' OR cvterm.name = 'sequence_variant_causing_conservative_amino_acid_substitution' OR cvterm.name = 'sequence_variant_causing_nonconservative_amino_acid_substitution' OR cvterm.name = 'mutation_causing_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_inframe_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'mutaton_causing_inframe_polypeptide_C_terminal_elongation' OR cvterm.name = 'mutation_causing_out_of_frame_polypeptide_C_terminal_elongation' OR cvterm.name = 'sequence_variant_causing_no_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_uncharacterised_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_complex_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_conformational_change' OR cvterm.name = 'sequence_variant_causing_partially_characterised_3D_structural_change' OR cvterm.name = 'sequence_variant_causing_loss_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_polypeptide_localization_change' OR cvterm.name = 'sequence_variant_causing_polypeptide_post_translational_processing_change' OR cvterm.name = 'sequence_variant_causing_gain_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_inactive_ligand_binding_site' OR cvterm.name = 'sequence_variant_causing_polypeptide_post_translational_processing_change' OR cvterm.name = 'sequence_variant_causing_partial_loss_of_function_of_polypeptide' OR cvterm.name = 'sequence_variant_causing_inactive_catalytic_site' OR cvterm.name = 'sequence_variant_causing_gene_fusion' OR cvterm.name = 'sequence_variant_effect';
- CREATE VIEW sequence_variant_causing_polypeptide_fusion AS
- SELECT
- feature_id AS sequence_variant_causing_polypeptide_fusion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_polypeptide_fusion';
- CREATE VIEW autosynaptic_chromosome AS
- SELECT
- feature_id AS autosynaptic_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dexstrosynaptic_chromosome' OR cvterm.name = 'laevosynaptic_chromosome' OR cvterm.name = 'autosynaptic_chromosome';
- CREATE VIEW homo_compound_chromosome AS
- SELECT
- feature_id AS homo_compound_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'homo_compound_chromosome';
- CREATE VIEW hetero_compound_chromosome AS
- SELECT
- feature_id AS hetero_compound_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'hetero_compound_chromosome';
- CREATE VIEW chromosome_fission AS
- SELECT
- feature_id AS chromosome_fission_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosome_fission';
- CREATE VIEW dexstrosynaptic_chromosome AS
- SELECT
- feature_id AS dexstrosynaptic_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dexstrosynaptic_chromosome';
- CREATE VIEW laevosynaptic_chromosome AS
- SELECT
- feature_id AS laevosynaptic_chromosome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'laevosynaptic_chromosome';
- CREATE VIEW free_duplication AS
- SELECT
- feature_id AS free_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'free_ring_duplication' OR cvterm.name = 'free_duplication';
- CREATE VIEW free_ring_duplication AS
- SELECT
- feature_id AS free_ring_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'free_ring_duplication';
- CREATE VIEW complex_chromosomal_mutation AS
- SELECT
- feature_id AS complex_chromosomal_mutation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'complex_chromosomal_mutation';
- CREATE VIEW deficient_translocation AS
- SELECT
- feature_id AS deficient_translocation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deficient_translocation';
- CREATE VIEW inversion_cum_translocation AS
- SELECT
- feature_id AS inversion_cum_translocation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inversion_cum_translocation';
- CREATE VIEW bipartite_duplication AS
- SELECT
- feature_id AS bipartite_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bipartite_duplication';
- CREATE VIEW cyclic_translocation AS
- SELECT
- feature_id AS cyclic_translocation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cyclic_translocation';
- CREATE VIEW bipartite_inversion AS
- SELECT
- feature_id AS bipartite_inversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bipartite_inversion';
- CREATE VIEW uninvert_insert_dup AS
- SELECT
- feature_id AS uninvert_insert_dup_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'uninverted_insertional_duplication';
- CREATE VIEW inverted_insertional_duplication AS
- SELECT
- feature_id AS inverted_insertional_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inverted_insertional_duplication';
- CREATE VIEW insertional_duplication AS
- SELECT
- feature_id AS insertional_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'uninverted_insertional_duplication' OR cvterm.name = 'inverted_insertional_duplication' OR cvterm.name = 'unoriented_insertional_duplication' OR cvterm.name = 'insertional_duplication';
- CREATE VIEW interchromosomal_transposition AS
- SELECT
- feature_id AS interchromosomal_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unorientated_interchromosomal_transposition' OR cvterm.name = 'interchromosomal_transposition';
- CREATE VIEW invert_inter_transposition AS
- SELECT
- feature_id AS invert_inter_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inverted_interchromosomal_transposition';
- CREATE VIEW uninvert_inter_transposition AS
- SELECT
- feature_id AS uninvert_inter_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'uninverted_interchromosomal_transposition';
- CREATE VIEW invert_intra_transposition AS
- SELECT
- feature_id AS invert_intra_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inverted_intrachromosomal_transposition';
- CREATE VIEW uninvert_intra_transposition AS
- SELECT
- feature_id AS uninvert_intra_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'uninverted_intrachromosomal_transposition';
- CREATE VIEW unorient_insert_dup AS
- SELECT
- feature_id AS unorient_insert_dup_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unoriented_insertional_duplication';
- CREATE VIEW unorient_inter_transposition AS
- SELECT
- feature_id AS unorient_inter_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unorientated_interchromosomal_transposition';
- CREATE VIEW unorient_intra_transposition AS
- SELECT
- feature_id AS unorient_intra_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unorientated_intrachromosomal_transposition';
- CREATE VIEW uncharacterised_chromosomal_mutation AS
- SELECT
- feature_id AS uncharacterised_chromosomal_mutation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'partially_characterised_chromosomal_mutation' OR cvterm.name = 'uncharacterised_chromosomal_mutation';
- CREATE VIEW deficient_inversion AS
- SELECT
- feature_id AS deficient_inversion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'deficient_inversion';
- CREATE VIEW tandem_duplication AS
- SELECT
- feature_id AS tandem_duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'tandem_duplication';
- CREATE VIEW partially_characterised_chromosomal_mutation AS
- SELECT
- feature_id AS partially_characterised_chromosomal_mutation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'partially_characterised_chromosomal_mutation';
- CREATE VIEW seq_variant_causing_uncharacterised_change_in_transcript AS
- SELECT
- feature_id AS seq_variant_causing_uncharacterised_change_in_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_partially_characterised_change_in_transcript' OR cvterm.name = 'sequence_variant_causing_uncharacterised_change_in_transcript';
- CREATE VIEW seq_variant_causing_partly_characterised_change_in_trans AS
- SELECT
- feature_id AS seq_variant_causing_partly_characterised_change_in_trans_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_partially_characterised_change_in_transcript';
- CREATE VIEW sequence_variant_affecting_gene_structure AS
- SELECT
- feature_id AS sequence_variant_affecting_gene_structure_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_gene_fusion' OR cvterm.name = 'sequence_variant_affecting_gene_structure';
- CREATE VIEW sequence_variant_causing_gene_fusion AS
- SELECT
- feature_id AS sequence_variant_causing_gene_fusion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_gene_fusion';
- CREATE VIEW chromosome_number_variation AS
- SELECT
- feature_id AS chromosome_number_variation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'aneuploid' OR cvterm.name = 'polyploid' OR cvterm.name = 'hyperploid' OR cvterm.name = 'hypoploid' OR cvterm.name = 'autopolyploid' OR cvterm.name = 'allopolyploid' OR cvterm.name = 'chromosome_number_variation';
- CREATE VIEW chromosome_structure_variation AS
- SELECT
- feature_id AS chromosome_structure_variation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'free_chromosome_arm' OR cvterm.name = 'transposition' OR cvterm.name = 'aneuploid_chromosome' OR cvterm.name = 'intrachromosomal_mutation' OR cvterm.name = 'interchromosomal_mutation' OR cvterm.name = 'compound_chromosome' OR cvterm.name = 'autosynaptic_chromosome' OR cvterm.name = 'complex_chromosomal_mutation' OR cvterm.name = 'uncharacterised_chromosomal_mutation' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'interchromosomal_transposition' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unorientated_interchromosomal_transposition' OR cvterm.name = 'inversion_derived_aneuploid_chromosome' OR cvterm.name = 'chromosomal_deletion' OR cvterm.name = 'chromosomal_duplication' OR cvterm.name = 'inversion_derived_bipartite_deficiency' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_aneuploid' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'interchromosomal_duplication' OR cvterm.name = 'intrachromosomal_duplication' OR cvterm.name = 'free_duplication' OR cvterm.name = 'insertional_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_bipartite_duplication' OR cvterm.name = 'inversion_derived_duplication_plus_aneuploid' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'free_ring_duplication' OR cvterm.name = 'uninverted_insertional_duplication' OR cvterm.name = 'inverted_insertional_duplication' OR cvterm.name = 'unoriented_insertional_duplication' OR cvterm.name = 'chromosomal_deletion' OR cvterm.name = 'chromosomal_inversion' OR cvterm.name = 'intrachromosomal_duplication' OR cvterm.name = 'ring_chromosome' OR cvterm.name = 'chromosome_fission' OR cvterm.name = 'inversion_derived_bipartite_deficiency' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_deficiency_plus_aneuploid' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'inverted_ring_chromosome' OR cvterm.name = 'pericentric_inversion' OR cvterm.name = 'paracentric_inversion' OR cvterm.name = 'inversion_cum_translocation' OR cvterm.name = 'bipartite_inversion' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'deficient_inversion' OR cvterm.name = 'inversion_derived_deficiency_plus_duplication' OR cvterm.name = 'inversion_derived_bipartite_duplication' OR cvterm.name = 'inversion_derived_duplication_plus_aneuploid' OR cvterm.name = 'intrachromosomal_transposition' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unorientated_intrachromosomal_transposition' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'inverted_ring_chromosome' OR cvterm.name = 'free_ring_duplication' OR cvterm.name = 'chromosomal_translocation' OR cvterm.name = 'bipartite_duplication' OR cvterm.name = 'interchromosomal_transposition' OR cvterm.name = 'translocation_element' OR cvterm.name = 'Robertsonian_fusion' OR cvterm.name = 'reciprocal_chromosomal_translocation' OR cvterm.name = 'deficient_translocation' OR cvterm.name = 'inversion_cum_translocation' OR cvterm.name = 'cyclic_translocation' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unorientated_interchromosomal_transposition' OR cvterm.name = 'compound_chromosome_arm' OR cvterm.name = 'homo_compound_chromosome' OR cvterm.name = 'hetero_compound_chromosome' OR cvterm.name = 'dexstrosynaptic_chromosome' OR cvterm.name = 'laevosynaptic_chromosome' OR cvterm.name = 'partially_characterised_chromosomal_mutation' OR cvterm.name = 'chromosome_structure_variation';
- CREATE VIEW sequence_variant_causes_exon_loss AS
- SELECT
- feature_id AS sequence_variant_causes_exon_loss_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causes_exon_loss';
- CREATE VIEW sequence_variant_causes_intron_gain AS
- SELECT
- feature_id AS sequence_variant_causes_intron_gain_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causes_intron_gain';
- CREATE VIEW sequence_variant_causing_cryptic_splice_donor_activation AS
- SELECT
- feature_id AS sequence_variant_causing_cryptic_splice_donor_activation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_cryptic_splice_donor_activation';
- CREATE VIEW sequence_variant_causing_cryptic_splice_acceptor_activation AS
- SELECT
- feature_id AS sequence_variant_causing_cryptic_splice_acceptor_activation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sequence_variant_causing_cryptic_splice_acceptor_activation';
- CREATE VIEW alternatively_spliced_transcript AS
- SELECT
- feature_id AS alternatively_spliced_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'alternatively_spliced_transcript';
- CREATE VIEW encodes_1_polypeptide AS
- SELECT
- feature_id AS encodes_1_polypeptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'encodes_1_polypeptide';
- CREATE VIEW encodes_greater_than_1_polypeptide AS
- SELECT
- feature_id AS encodes_greater_than_1_polypeptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'encodes_disjoint_polypeptides' OR cvterm.name = 'encodes_overlapping_peptides' OR cvterm.name = 'encodes_different_polypeptides_different_stop' OR cvterm.name = 'encodes_overlapping_peptides_different_start' OR cvterm.name = 'encodes_overlapping_polypeptides_different_start_and_stop' OR cvterm.name = 'encodes_greater_than_1_polypeptide';
- CREATE VIEW encodes_different_polypeptides_different_stop AS
- SELECT
- feature_id AS encodes_different_polypeptides_different_stop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'encodes_different_polypeptides_different_stop';
- CREATE VIEW encodes_overlapping_peptides_different_start AS
- SELECT
- feature_id AS encodes_overlapping_peptides_different_start_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'encodes_overlapping_peptides_different_start';
- CREATE VIEW encodes_disjoint_polypeptides AS
- SELECT
- feature_id AS encodes_disjoint_polypeptides_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'encodes_disjoint_polypeptides';
- CREATE VIEW encodes_overlapping_polypeptides_different_start_and_stop AS
- SELECT
- feature_id AS encodes_overlapping_polypeptides_different_start_and_stop_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'encodes_overlapping_polypeptides_different_start_and_stop';
- CREATE VIEW encodes_overlapping_peptides AS
- SELECT
- feature_id AS encodes_overlapping_peptides_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'encodes_different_polypeptides_different_stop' OR cvterm.name = 'encodes_overlapping_peptides_different_start' OR cvterm.name = 'encodes_overlapping_polypeptides_different_start_and_stop' OR cvterm.name = 'encodes_overlapping_peptides';
- CREATE VIEW cryptogene AS
- SELECT
- feature_id AS cryptogene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptogene';
- CREATE VIEW dicistronic_primary_transcript AS
- SELECT
- feature_id AS dicistronic_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dicistronic_primary_transcript';
- CREATE VIEW member_of_regulon AS
- SELECT
- feature_id AS member_of_regulon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'member_of_regulon';
- CREATE VIEW cds_independently_known AS
- SELECT
- feature_id AS cds_independently_known_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CDS_independently_known';
- CREATE VIEW orphan_cds AS
- SELECT
- feature_id AS orphan_cds_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'orphan_CDS';
- CREATE VIEW cds_supported_by_domain_match_data AS
- SELECT
- feature_id AS cds_supported_by_domain_match_data_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CDS_supported_by_domain_match_data';
- CREATE VIEW cds_supported_by_sequence_similarity_data AS
- SELECT
- feature_id AS cds_supported_by_sequence_similarity_data_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CDS_supported_by_domain_match_data' OR cvterm.name = 'CDS_supported_by_EST_or_cDNA_data' OR cvterm.name = 'CDS_supported_by_sequence_similarity_data';
- CREATE VIEW cds_predicted AS
- SELECT
- feature_id AS cds_predicted_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'orphan_CDS' OR cvterm.name = 'CDS_supported_by_sequence_similarity_data' OR cvterm.name = 'CDS_supported_by_domain_match_data' OR cvterm.name = 'CDS_supported_by_EST_or_cDNA_data' OR cvterm.name = 'CDS_predicted';
- CREATE VIEW cds_supported_by_est_or_cdna_data AS
- SELECT
- feature_id AS cds_supported_by_est_or_cdna_data_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CDS_supported_by_EST_or_cDNA_data';
- CREATE VIEW internal_shine_dalgarno_sequence AS
- SELECT
- feature_id AS internal_shine_dalgarno_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_Shine_Dalgarno_sequence';
- CREATE VIEW recoded_mrna AS
- SELECT
- feature_id AS recoded_mrna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_recoded_by_translational_bypass' OR cvterm.name = 'mRNA_recoded_by_codon_redefinition' OR cvterm.name = 'recoded_mRNA';
- CREATE VIEW minus_1_translationally_frameshifted AS
- SELECT
- feature_id AS minus_1_translationally_frameshifted_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_1_translationally_frameshifted';
- CREATE VIEW plus_1_translationally_frameshifted AS
- SELECT
- feature_id AS plus_1_translationally_frameshifted_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plus_1_translationally_frameshifted';
- CREATE VIEW mrna_recoded_by_translational_bypass AS
- SELECT
- feature_id AS mrna_recoded_by_translational_bypass_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_recoded_by_translational_bypass';
- CREATE VIEW mrna_recoded_by_codon_redefinition AS
- SELECT
- feature_id AS mrna_recoded_by_codon_redefinition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mRNA_recoded_by_codon_redefinition';
- CREATE VIEW recoding_stimulatory_region AS
- SELECT
- feature_id AS recoding_stimulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'SECIS_element' OR cvterm.name = 'three_prime_recoding_site' OR cvterm.name = 'five_prime_recoding_site' OR cvterm.name = 'stop_codon_signal' OR cvterm.name = 'three_prime_stem_loop_structure' OR cvterm.name = 'flanking_three_prime_quadruplet_recoding_signal' OR cvterm.name = 'three_prime_repeat_recoding_signal' OR cvterm.name = 'distant_three_prime_recoding_signal' OR cvterm.name = 'UAG_stop_codon_signal' OR cvterm.name = 'UAA_stop_codon_signal' OR cvterm.name = 'UGA_stop_codon_signal' OR cvterm.name = 'recoding_stimulatory_region';
- CREATE VIEW four_bp_start_codon AS
- SELECT
- feature_id AS four_bp_start_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'four_bp_start_codon';
- CREATE VIEW archaeal_intron AS
- SELECT
- feature_id AS archaeal_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'archaeal_intron';
- CREATE VIEW trna_intron AS
- SELECT
- feature_id AS trna_intron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tRNA_intron';
- CREATE VIEW ctg_start_codon AS
- SELECT
- feature_id AS ctg_start_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CTG_start_codon';
- CREATE VIEW secis_element AS
- SELECT
- feature_id AS secis_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SECIS_element';
- CREATE VIEW retron AS
- SELECT
- feature_id AS retron_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'retron';
- CREATE VIEW three_prime_recoding_site AS
- SELECT
- feature_id AS three_prime_recoding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_stem_loop_structure' OR cvterm.name = 'flanking_three_prime_quadruplet_recoding_signal' OR cvterm.name = 'three_prime_repeat_recoding_signal' OR cvterm.name = 'distant_three_prime_recoding_signal' OR cvterm.name = 'three_prime_recoding_site';
- CREATE VIEW three_prime_stem_loop_structure AS
- SELECT
- feature_id AS three_prime_stem_loop_structure_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_stem_loop_structure';
- CREATE VIEW five_prime_recoding_site AS
- SELECT
- feature_id AS five_prime_recoding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_recoding_site';
- CREATE VIEW flanking_three_prime_quadruplet_recoding_signal AS
- SELECT
- feature_id AS flanking_three_prime_quadruplet_recoding_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'flanking_three_prime_quadruplet_recoding_signal';
- CREATE VIEW uag_stop_codon_signal AS
- SELECT
- feature_id AS uag_stop_codon_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'UAG_stop_codon_signal';
- CREATE VIEW uaa_stop_codon_signal AS
- SELECT
- feature_id AS uaa_stop_codon_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'UAA_stop_codon_signal';
- CREATE VIEW regulon AS
- SELECT
- feature_id AS regulon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'regulon';
- CREATE VIEW uga_stop_codon_signal AS
- SELECT
- feature_id AS uga_stop_codon_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'UGA_stop_codon_signal';
- CREATE VIEW three_prime_repeat_recoding_signal AS
- SELECT
- feature_id AS three_prime_repeat_recoding_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_repeat_recoding_signal';
- CREATE VIEW distant_three_prime_recoding_signal AS
- SELECT
- feature_id AS distant_three_prime_recoding_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'distant_three_prime_recoding_signal';
- CREATE VIEW stop_codon_signal AS
- SELECT
- feature_id AS stop_codon_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'UAG_stop_codon_signal' OR cvterm.name = 'UAA_stop_codon_signal' OR cvterm.name = 'UGA_stop_codon_signal' OR cvterm.name = 'stop_codon_signal';
- CREATE VIEW databank_entry AS
- SELECT
- feature_id AS databank_entry_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'databank_entry';
- CREATE VIEW gene_segment AS
- SELECT
- feature_id AS gene_segment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_segment';
- CREATE TABLE sequence_cv_lookup_table (sequence_cv_lookup_table_id serial not null, primary key(sequence_cv_lookup_table_id), original_cvterm_name varchar(1024), relation_name varchar(128));
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('helitron','helitron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cleaved_initiator_methionine','cleaved_initiator_methionine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('epoxyqueuosine','epoxyqueuosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u4atac_snrna','u4atac_snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('kinetoplast','kinetoplast');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('shadow_enhancer','shadow_enhancer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered','engineered');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('seven_aminomethyl_seven_deazaguanosine','seven_aminomethyl_seven_deazaguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('low_complexity','low_complexity');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('est_match','est_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_nonamer','v_nonamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_21s','rrna_21s');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_dj_j_c_cluster','d_dj_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_carboxymethyluridine','five_carboxymethyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bound_by_factor','bound_by_factor');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_methylthio_n6_methyladenosine','two_methylthio_n6_methyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dinucleotide_repeat_microsatellite_feature','dinucleotide_repeat_microsatellite_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trans_spliced_mrna','trans_spliced_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('g_to_c_transversion','g_to_c_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('heptamer_of_recombination_feature_of_vertebrate_immune_system_gene','heptamer_of_recombination_feature_of_vertebrate_im_sys_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('genotype','genotype');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cloned_region','cloned_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tmrna_coding_piece','tmrna_coding_piece');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_6s','rna_6s');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minicircle','minicircle');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('grna_encoding','grna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('endonuclease_spliced_intron','endonuclease_spliced_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('insertional_duplication','insertional_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('databank_entry','databank_entry');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('glycine','glycine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_cluster','v_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_nickel_ion_contact_site','polypeptide_nickel_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('circular_single_stranded_rna_chromosome','circular_single_stranded_rna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('wc_base_pair','wc_base_pair');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pcr_product','pcr_product');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_three_amino_three_carboxypropyl_uridine','three_three_amino_three_carboxypropyl_uridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('site_specific_recombination_target_region','site_specific_recombination_target_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_polycistronic_transcript','gene_with_polycistronic_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rescue','rescue');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nuclease_hypersensitive_site','nuclease_hypersensitive_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirna_loop','mirna_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('double_stranded_cdna','double_stranded_cdna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('supported_by_domain_match','supported_by_domain_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('one_methylpseudouridine','one_methylpseudouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n_terminal_region','n_terminal_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('experimental_result_region','experimental_result_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methionine_trna_primary_transcript','methionine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('utr','utr');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_terminal_residue','non_terminal_residue');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('member_of_regulon','member_of_regulon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('threonine_trna_primary_transcript','thr_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cds_supported_by_sequence_similarity_data','cds_supported_by_sequence_similarity_data');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_structural_region','polypeptide_structural_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trna_gene','trna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_bulge_loop_six','beta_bulge_loop_six');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_tungsten_ion_contact_site','polypeptide_tungsten_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('encodes_overlapping_polypeptides_different_start_and_stop','encodes_overlapping_polypeptides_different_start_and_stop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_nest_right_left_motif','polypeptide_nest_right_left_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_location','sequence_location');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_dj_c_cluster','d_dj_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trans_spliced_transcript','trans_spliced_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('y_rna','y_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('leucoplast_gene','leucoplast_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('splicing_regulatory_region','splicing_regulatory_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('branch_site','branch_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_bulge_loop_five','beta_bulge_loop_five');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome_breakpoint','chromosome_breakpoint');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_uncertainty','sequence_uncertainty');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_methyl_n6_threonylcarbamoyladenosine','n6_methyl_n6_threonylcarbamoyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_mrna_with_frameshift','gene_with_mrna_with_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('compositionally_biased_region_of_peptide','compositionally_biased_region_of_peptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vj_j_c_cluster','vj_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_splice_acceptor','sequence_variant_affecting_splice_acceptor');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pirna','pirna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('reverse_hoogsteen_base_pair','reverse_hoogsteen_base_pair');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tryptophanyl_trna','tryptophanyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polya_primed_cdna_clone','polya_primed_cdna_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('leucoplast_chromosome','leucoplast_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('status','status');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ltr_retrotransposon','ltr_retrotransposon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rnase_p_rna','rnase_p_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('conjugative_transposon','conjugative_transposon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('linkage_group','linkage_group');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_trans_spliced_transcript','gene_with_trans_spliced_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('peptide_coil','peptide_coil');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pyrrolysine_trna_primary_transcript','pyrrolysine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_vj_c_cluster','v_vj_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('phage_sequence','phage_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recoded','recoded');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transposon_fragment','transposon_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vj_c_cluster','vj_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('editing_domain','editing_domain');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methylaminomethyluridine','five_methylaminomethyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleotide_insertion','nucleotide_insertion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mutaton_causing_inframe_polypeptide_c_terminal_elongation','mutaton_causing_inframe_polypeptide_c_terminal_elongation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_ltr_retrotransposon_polymeric_tract','non_ltr_retrotransposon_polymeric_tract');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transversion','transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tryptophan','tryptophan');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recursive_splice_site','recursive_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('insulator_binding_site','insulator_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('proline_trna_primary_transcript','proline_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('repeat_fragment','repeat_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('blocked_reading_frame','blocked_reading_frame');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_cleavage_snorna_primary_transcript','rrna_cleavage_snorna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_isopentenyladenosine','n6_isopentenyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_arginine','modified_l_arginine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_conserved_motif','polypeptide_conserved_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('t3_rna_polymerase_promoter','t3_rna_polymerase_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_derived_bipartite_duplication','inversion_derived_bipartite_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trans_splice_acceptor_site','trans_splice_acceptor_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_prime_o_ribosyladenosine_phosphate','two_prime_o_riboA_phosphate');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rre_rna','rre_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pac_end','pac_end');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('extramembrane_polypeptide_region','extramembrane_polypeptide_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intein','intein');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('twintron','twintron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_carboxymethylaminomethyl_two_prime_o_methyluridine','five_carboxymethylaminomethyl_two_prime_o_methyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('scrna_primary_transcript','scrna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_cobalt_ion_contact_site','polypeptide_cobalt_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tmrna_encoding','tmrna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('flanked','flanked');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ctg_start_codon','ctg_start_codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion','inversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('eukaryotic_terminator','eukaryotic_terminator');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tyrosine_trna_primary_transcript','tyrosine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('coding_region_of_exon','coding_region_of_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('spliceosomal_intron_region','spliceosomal_intron_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('frt_flanked','frt_flanked');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cloned_cdna_insert','cloned_cdna_insert');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_vdj_c_cluster','v_vdj_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('translationally_regulated','translationally_regulated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variation_affecting_reading_frame','sequence_variation_affecting_reading_frame');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_minus_1_frameshift','sequence_variant_causing_minus_1_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('histidyl_trna','histidyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sonicate_fragment','sonicate_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_recoded_mrna','gene_with_recoded_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_prime_o_methyluridine','two_prime_o_methyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cosmid','cosmid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silenced_by_rna_interference','silenced_by_rna_interference');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('snorna','snorna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mature_transcript','mature_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudouridylation_guide_snorna','pseudouridylation_guide_snorna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_gene','c_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('floxed_gene','floxed_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('spot_42_rna','spot_42_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cdna_clone','cdna_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_ltr','three_prime_ltr');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('group_ii_intron','group_ii_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pna_oligo','pna_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('insertion_sequence','insertion_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('junction','junction');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('paralogous','paralogous');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tna','tna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_isopentenylaminomethyl_two_thiouridine','five_isopentenylaminomethyl_two_thiouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minus_1_frameshift','minus_1_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_gene_structure','sequence_variant_affecting_gene_structure');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_canonical_three_prime_splice_site','non_canonical_three_prime_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudogenic_rrna','pseudogenic_rrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('serine_threonine_turn','serine_threonine_turn');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('j_gene','j_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('strna_primary_transcript','strna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('internal_eliminated_sequence','internal_eliminated_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('allelically_excluded_gene','allelically_excluded_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('qtl','qtl');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_est','three_prime_est');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('reverse','reverse');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirna_encoding','mirna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n2_n2_2_prime_o_trimethylguanosine','n2_n2_2_prime_o_trimethylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('encodes_alternate_transcription_start_sites','encodes_alternate_transcription_start_sites');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_array','gene_array');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tetranucleotide_repeat_microsatellite_feature','tetranuc_repeat_microsat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_aminomethyl_two_thiouridine','five_aminomethyl_two_thiouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('monocistronic_primary_transcript','monocistronic_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_cryptic_splice_acceptor_activation','sequence_variant_causing_cryptic_splice_acceptor_activation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mobile_genetic_element','mobile_genetic_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_ligand_contact','polypeptide_ligand_contact');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('biomaterial_region','biomaterial_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transposable_element_flanking_region','transposable_element_flanking_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('symmetric_rna_internal_loop','symmetric_rna_internal_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna_with_plus_1_frameshift','mrna_with_plus_1_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcriptionally_regulated','transcriptionally_regulated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_intron','five_prime_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vertebrate_immune_system_gene_recombination_feature','vertebrate_immune_system_gene_recombination_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_carboxyhydroxymethyl_uridine_methyl_ester','five_carboxyhydroxymethyl_uridine_methyl_ester');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('proplastid_gene','proplastid_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('serine_trna_primary_transcript','serine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('attp_site','attp_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('antisense','antisense');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('terminal_inverted_repeat_element','terminal_inverted_repeat_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('coiled_coil','coiled_coil');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_vdj_cluster','v_vdj_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('edited_transcript_by_a_to_i_substitution','edited_transcript_by_a_to_i_substitution');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('protein_coding_primary_transcript','protein_coding_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mite','mite');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('insertion','insertion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('secis_element','secis_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('maxicircle','maxicircle');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tss','tss');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cysteine','cysteine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ribothymidine','ribothymidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_adjacent_residues','non_adjacent_residues');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('internal_ribosome_entry_site','internal_ribosome_entry_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('outron','outron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_repeat','polypeptide_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('clone_insert_start','clone_insert_start');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('attr_site','attr_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dmv3_motif','dmv3_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('capped_mrna','capped_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_non_synonymous_codon_change_in_transcript','seq_variant_causing_non_synonymous_codon_change_in_trans');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_rearrangement_feature','sequence_rearrangement_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('apicoplast_chromosome','apicoplast_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_type_six_a_two','beta_turn_type_six_a_two');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('invalidated','invalidated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polya_junction','polya_junction');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_partial_loss_of_function_of_polypeptide','seq_variant_causing_part_loss_of_function_of_polypeptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('valine','valine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('translationally_regulated_gene','translationally_regulated_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('promoter_targeting_sequence','promoter_targeting_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polinton','polinton');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_tag','engineered_tag');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methylcytidine','five_methylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudouridine','pseudouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('positively_autoregulated','positively_autoregulated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('amplification_origin','amplification_origin');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('unoriented_insertional_duplication','unorient_insert_dup');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('extrachromosomal_mobile_genetic_element','extrachromosomal_mobile_genetic_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcriptionally_constitutive','transcriptionally_constitutive');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_polypeptide_fusion','sequence_variant_causing_polypeptide_fusion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('utr_region','utr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tyrosine','tyrosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirna','mirna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inr1_motif','inr1_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_acetyladenosine','n6_acetyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cis_splice_site','cis_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_right_handed_type_two','beta_turn_right_handed_type_two');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('floxed','floxed');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_terminal_region','c_terminal_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_leucine','modified_l_leucine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variation_affecting_complex_change_in_transcript','sequence_variation_affecting_complex_change_in_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_ltr_component','five_prime_ltr_component');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vdj_c_cluster','vdj_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcriptional_cis_regulatory_region','transcriptional_cis_regulatory_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome_part','chromosome_part');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('insertion_site','insertion_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('phenylalanyl_trna','phenylalanyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('overlapping_est_set','overlapping_est_set');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gc_rich_promoter_region','gc_rich_promoter_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asx_turn_right_handed_type_two','asx_turn_right_handed_type_two');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('anticodon_loop','anticodon_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('partially_characterised_change_in_dna_sequence','partially_characterised_change_in_dna_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dmv5_motif','dmv5_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sl1_acceptor_site','sl1_acceptor_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cds_region','cds_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_dj_j_c_cluster','v_dj_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_insert','engineered_insert');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recombinationally_inverted_gene','recombinationally_inverted_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cassette_array_member','cassette_array_member');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('microarray_oligo','microarray_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u12_snrna','u12_snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('supported_by_est_or_cdna','supported_by_est_or_cdna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minus_10_signal','minus_10_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('clone_insert_end','clone_insert_end');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inr_motif','inr_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_inactive_ligand_binding_site','sequence_variant_causing_inactive_ligand_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_stem_loop_structure','three_prime_stem_loop_structure');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_decreasing_level_of_translation_product','sequence_variant_decreasing_level_of_translation_product');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rflp_fragment','rflp_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('phage_rna_polymerase_promoter','phage_rna_polymerase_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pyrimidine_transition','pyrimidine_transition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intrinsically_unstructured_polypeptide_region','intrinsically_unstructured_polypeptide_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n2_2_prime_o_dimethylguanosine','n2_2_prime_o_dimethylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('archaeal_intron','archaeal_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lna','lna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('exon_junction','exon_junction');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('t7_rna_polymerase_promoter','t7_rna_polymerase_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inverted_interchromosomal_transposition','invert_inter_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('episome','episome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uninverted_insertional_duplication','uninvert_insert_dup');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_difference','sequence_difference');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_d_dj_c_cluster','v_d_dj_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_conflict','sequence_conflict');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_gene_fusion','sequence_variant_causing_gene_fusion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tiling_path_clone','tiling_path_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('group_iii_intron','group_iii_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_glycine','modified_glycine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_alteration','sequence_alteration');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polyploid','polyploid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_silenced_by_dna_modification','gene_silenced_by_dna_modification');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_vj_j_cluster','v_vj_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('isoleucine_trna_primary_transcript','isoleucine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_small_subunit_primary_transcript','rrna_small_subunit_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ltr_component','ltr_component');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plus_2_framshift','plus_2_framshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('glutamic_acid_trna_primary_transcript','glutamic_acid_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_rearranged_at_dna_level','gene_rearranged_at_dna_level');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('edited_transcript','edited_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('invalidated_by_partial_processing','invalidated_by_partial_processing');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequencing_primer','sequencing_primer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cleaved_for_gpi_anchor_region','cleaved_for_gpi_anchor_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('frameshift_sequence_variation','frameshift_sequence_variation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_cysteine','modified_l_cysteine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_utr','five_prime_utr');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('frt_site','frt_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('terminal_inverted_repeat','terminal_inverted_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transition','transition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('deletion_junction','deletion_junction');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_right_handed_type_one','beta_turn_right_handed_type_one');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_prime_o_ribosylguanosine_phosphate','two_prime_o_ribosylguanosine_phosphate');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_carbamoylmethyl_two_prime_o_methyluridine','five_cm_2_prime_o_methU');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('internal_transcribed_spacer_region','internal_transcribed_spacer_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dicistronic','dicistronic');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('supported_by_sequence_similarity','supported_by_sequence_similarity');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('reverse_primer','reverse_primer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u3_three_prime_ltr_region','u3_three_prime_ltr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('glutamine_trna_primary_transcript','glutamine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rnapol_ii_promoter','rnapol_ii_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('overlapping','overlapping');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('alpha_beta_motif','alpha_beta_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_transposable_element','engineered_transposable_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('forward_primer','forward_primer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('attctn_site','attctn_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_d_recombination_signal_sequence','five_prime_d_recombination_signal_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_conservative_amino_acid_substitution','sequence_variant_causing_conservative_amino_acid_sub');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u6_snrna','u6_snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recombinationally_rearranged_gene','recombinationally_rearranged_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_threonylcarbamoyladenosine','n6_threonylcarbamoyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_carbamoylmethyluridine','five_carbamoylmethyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cds_fragment','cds_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('genome','genome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('promoter','promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('protein_coding_gene','protein_coding_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u5_snrna','u5_snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('wybutosine','wybutosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methylwyosine','methylwyosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('large_subunit_rrna','large_subunit_rrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_amino_acid_substitution','sequence_variant_causing_amino_acid_substitution');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n4_2_prime_o_dimethylcytidine','n4_2_prime_o_dimethylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_to_t_transition','c_to_t_transition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variation_affecting_transcript_sequence','sequence_variation_affecting_transcript_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bidirectional_promoter','bidirectional_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_partially_characterised_change_of_translational_product','seq_variant_causing_partly_characterised_change_of_product');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('validated_cdna_clone','validated_cdna_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('k_turn_rna_motif','k_turn_rna_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcribed_fragment','transcribed_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_ust','five_prime_ust');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_utr_intron','three_prime_utr_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('retrogene','retrogene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pyrimidine_to_purine_transversion','pyrimidine_to_purine_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sine_element','sine_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_rst','five_prime_rst');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_coding exon_coding_region','three_prime_coding_exon_coding_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('utr_intron','utr_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_no_3d_structural_change','sequence_variant_causing_no_3d_structural_change');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('interchromosomal_transposition','interchromosomal_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_sequence_secondary_structure','rna_sequence_secondary_structure');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_foreign_transposable_element','engineered_foreign_transposable_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ds_rna_viral_sequence','ds_rna_viral_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('fosmid','fosmid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('complex_substitution','complex_substitution');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('validated','validated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u2_snrna','u2_snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('caat_signal','caat_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_cluster','c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('consensus_region','consensus_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vertebrate_immune_system_gene_recombination_spacer','vertebrate_immune_system_gene_recombination_spacer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_trap_construct','gene_trap_construct');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_aptamer','rna_aptamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcriptionally_induced','transcriptionally_induced');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rescue_region','rescue_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_site_part','inversion_site_part');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('origin_of_replication','origin_of_replication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mutation_causing_out_of_frame_polypeptide_c_terminal_elongation','mutation_causing_out_of_frame_polypeptide_c_terminal_elong');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_internal_loop','rna_internal_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ultracontig','ultracontig');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('peptidyl','peptidyl');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_region','polypeptide_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transgenic_insertion','transgenic_insertion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirna_antiguide','mirna_antiguide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rearranged_at_dna_level','rearranged_at_dna_level');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_spacer','v_spacer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('strand_attribute','strand_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variation_increasing_level_of_transcript','sequence_variation_increasing_level_of_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('alternatively_spliced','alternatively_spliced');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_formyl_two_prime_o_methylcytidine','five_formyl_two_prime_o_methylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plasmid_location','plasmid_location');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('four_bp_start_codon','four_bp_start_codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recombinationally_rearranged','recombinationally_rearranged');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chimeric_cdna_clone','chimeric_cdna_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_dicistronic_transcript','gene_with_dicistronic_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_ltr_component','three_prime_ltr_component');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('retron','retron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('autopolyploid','autopolyploid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('phenylalanine','phenylalanine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transit_peptide','transit_peptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_28s','rrna_28s');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('one_two_prime_o_dimethylinosine','one_two_prime_o_dimethylinosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('threonine','threonine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('a_minor_rna_motif','a_minor_rna_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('j_cluster','j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_dj_cluster','d_dj_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_cryptic_splice_activation','sequence_variant_causing_cryptic_splice_activation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome_arm','chromosome_arm');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('kinetoplast_gene','kinetoplast_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('line_element','line_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('solo_ltr','solo_ltr');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('external_transcribed_spacer_region','external_transcribed_spacer_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_transcribed_region','non_transcribed_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirna_stem','mirna_stem');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dj_j_c_cluster','dj_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('hyperploid','hyperploid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cryptic','cryptic');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('alpha_helix','alpha_helix');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('fusion','fusion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vdj_j_cluster','vdj_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('isowyosine','isowyosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('paracentric_inversion','paracentric_inversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mutation_causing_inframe_polypeptide_n_terminal_elongation','mutation_causing_inframe_polypeptide_n_terminal_elongation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('homing_endonuclease_binding_site','homing_endonuclease_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tna_oligo','tna_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mini_gene','mini_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('restriction_fragment','restriction_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('base_pair','base_pair');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inside_intron_antiparallel','inside_intron_antiparallel');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_transcription','sequence_variant_affecting_transcription');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dna_binding_site','dna_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_cytidine','modified_cytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('hydrophobic_region_of_peptide','hydrophobic_region_of_peptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polycistronic_primary_transcript','polycistronic_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_proline','modified_l_proline');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('overlapping_feature_set','overlapping_feature_set');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asx_turn_left_handed_type_two','asx_turn_left_handed_type_two');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('interchromosomal_duplication','interchromosomal_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('substitution','substitution');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('isoleucine','isoleucine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_recoding_site','three_prime_recoding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('terminator_of_type_2_rnapol_iii_promoter','terminator_of_type_2_rnapol_iii_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('glycine_trna_primary_transcript','glycine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mutation_causing_polypeptide_c_terminal_elongation','mutation_causing_polypeptide_c_terminal_elongation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_heptamer','v_heptamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dispersed_repeat','dispersed_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('primer','primer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variation_affecting_transcript','sequence_variation_affecting_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('wild_type','wild_type');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_domain','polypeptide_domain');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_synonymous_codon_change_in_transcript','seq_variant_causing_synonymous_codon_change_in_trans');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('fusion_gene','fusion_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('arginyl_trna','arginyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_member_region','gene_member_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uninverted_intrachromosomal_transposition','uninvert_intra_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_translational_product','sequence_variant_affecting_translational_product');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methylated_base_feature','methylated_base_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('scrna_gene','scrna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_18s','rrna_18s');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_polypeptide_elongation','sequence_variant_causing_polypeptide_elongation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rnapol_iii_promoter_type_1','rnapol_iii_promoter_type_1');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('point_mutation','point_mutation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_3d_structure_of_polypeptide','sequence_variant_affecting_3d_structure_of_polypeptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudoknot','pseudoknot');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('g_quartet','g_quartet');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_selenocysteine','modified_l_selenocysteine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('schellmann_loop','schellmann_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pna','pna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_coding_exon','three_prime_coding_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('endogenous_retroviral_gene','endogenous_retroviral_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vertebrate_immunoglobulin_t_cell_receptor_segment','vertebrate_immunoglobulin_t_cell_receptor_segment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna_recoded_by_translational_bypass','mrna_recoded_by_translational_bypass');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_foreign_region','engineered_foreign_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('snorna_encoding','snorna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_est','five_prime_est');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('srp_rna_encoding','srp_rna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('foldback_element','foldback_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_j_c_cluster','d_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dj_c_cluster','dj_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_encoding','rrna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna_recoded_by_codon_redefinition','mrna_recoded_by_codon_redefinition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methyluridine','five_methyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('immature_peptide_region','immature_peptide_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('homologous','homologous');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('metabolic_island','metabolic_island');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polya_sequence','polya_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sirna','sirna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_attribute','sequence_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trna_intron','trna_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plus_1_translationally_frameshifted','plus_1_translationally_frameshifted');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleotide_motif','nucleotide_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dna_motif','dna_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_noncoding_exon','five_prime_noncoding_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_strand','beta_strand');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('one_methyladenosine','one_methyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ds_oligo','ds_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asx_motif','asx_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('oxys_rna','oxys_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_hydroxyuridine','five_hydroxyuridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_formylcytidine','five_formylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plus_1_translational_frameshift','plus_1_translational_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('coding_exon','coding_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('spliced_leader_rna','spliced_leader_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n2_7_2prirme_o_trimethylguanosine','n2_7_2prirme_o_trimethylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_fragment','gene_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mitochondrial_chromosome','mitochondrial_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methyldihydrouridine','five_methyldihydrouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('propeptide_cleavage_site','propeptide_cleavage_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('frameshift','frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('amino_acid','amino_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('translocation_breakpoint','translocation_breakpoint');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_compensatory_transcript_secondary_structure_mutation','seq_variant_caus_compensatory_trans_secondary_structure_mut');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('helix_turn_helix','helix_turn_helix');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_5_8s','rrna_5_8s');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('simple_sequence_length_variation','simple_sequence_length_variation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methionine','methionine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transposable_element_gene','transposable_element_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('genomic_island','genomic_island');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_segment','gene_segment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('snrna_gene','snrna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_region','engineered_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cryptogene','cryptogene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_coding_exon_noncoding_region','three_prime_coding_exon_noncoding_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_silenced_by_rna_interference','gene_silenced_by_rna_interference');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('deficient_interchromosomal_transposition','d_interchr_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('natural_variant_site','natural_variant_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('assembly','assembly');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_minus_2_frameshift','sequence_variant_causing_minus_2_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('major_tss','major_tss');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_missense_codon_change_in_transcript','sequence_variant_causing_missense_codon_change_in_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trna','trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('encodes_overlapping_peptides','encodes_overlapping_peptides');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nc_conserved_region','nc_conserved_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('locus_control_region','locus_control_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('s_gna_oligo','s_gna_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dna_chromosome','dna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_type_six_b','beta_turn_type_six_b');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_gene','engineered_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('wobble_base_pair','wobble_base_pair');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_amino_acid_feature','modified_amino_acid_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('t_to_c_transition','t_to_c_transition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('apicoplast_sequence','apicoplast_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('irlinv_site','irlinv_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('synthetic_sequence','synthetic_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('encodes_1_polypeptide','encodes_1_polypeptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_decreasing_transcript_stability','sequence_variant_decreasing_transcript_stability');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('group_iia_intron','group_iia_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('telomere','telomere');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('interior_intron','interior_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('edited_mrna','edited_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('catmat_right_handed_three','catmat_right_handed_three');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_effect','sequence_variant_effect');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tandem_duplication','tandem_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tmrna_gene','tmrna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pre_edited_region','pre_edited_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_hydroxynorvalylcarbamoyladenosine','n6_hydroxynorvalylcarbamoyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleomorphic_chromosome','nucleomorphic_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('fragmentary','fragmentary');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('single','single');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('binding_site','binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('seven_methylguanine','seven_methylguanine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('target_site_duplication','target_site_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vdj_gene','vdj_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_loss_of_function_of_polypeptide','sequence_variant_causing_loss_of_function_of_polypeptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bound_by_nucleic_acid','bound_by_nucleic_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('catmat_right_handed_four','catmat_right_handed_four');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('compound_chromosome','compound_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('coding_end','coding_end');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gap','gap');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('upstream_aug_codon','upstream_aug_codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudogenic_transcript','pseudogenic_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('satellite_dna','satellite_dna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('assortment_derived_deficiency_plus_duplication','assortment_derived_deficiency_plus_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transposable_element','transposable_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('endogenous_retroviral_sequence','endogenous_retroviral_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variation_affecting_level_of_transcript','sequence_variation_affecting_level_of_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('microsatellite','microsatellite');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('encodes_different_polypeptides_different_stop','encodes_different_polypeptides_different_stop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('primary_transcript','primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('consensus_mrna','consensus_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('membrane_peptide_loop','membrane_peptide_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_complex_3d_structural_change','sequence_variant_causing_complex_3d_structural_change');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('foreign','so_foreign');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleotide_deletion','nucleotide_deletion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rho_independent_bacterial_terminator','rho_independent_bacterial_terminator');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_silenced_by_histone_deacetylation','gene_silenced_by_histone_deacetylation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vdj_j_c_cluster','vdj_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cpg_island','cpg_island');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('haplotype','haplotype');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_prime_o_methylinosine','two_prime_o_methylinosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dna','dna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('circular_double_stranded_rna_chromosome','circular_double_stranded_rna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mature_protein_region','mature_protein_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('b_box','b_box');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_zinc_ion_contact_site','polypeptide_zinc_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_subarray_member','gene_subarray_member');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_cassette','gene_cassette');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('oric','oric');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('deletion_breakpoint','deletion_breakpoint');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna_with_plus_2_frameshift','mrna_with_plus_2_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asx_turn_right_handed_type_one','asx_turn_right_handed_type_one');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcribed_cluster','transcribed_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variation_decreasing_level_of_transcript','sequence_variation_decreasing_level_of_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tyrosyl_trna','tyrosyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('orthologous','orthologous');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('s_gna','s_gna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('canonical_three_prime_splice_site','canonical_three_prime_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('noncoding_exon','noncoding_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minor_tss','minor_tss');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_two_prime_o_dimethylcytidine','five_two_prime_o_dimethylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('macronuclear_chromosome','macronuclear_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('deficient_translocation','deficient_translocation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('read_pair','read_pair');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcript_with_translational_frameshift','transcript_with_translational_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rnapol_iii_promoter_type_3','rnapol_iii_promoter_type_3');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dna_transposon','dna_transposon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('orf','orf');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('right_handed_peptide_helix','right_handed_peptide_helix');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_nest_left_right_motif','polypeptide_nest_left_right_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_splice_donor','sequence_variant_affecting_splice_donor');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('topology_attribute','topology_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirtron','mirtron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_motif','polypeptide_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('proplastid_sequence','proplastid_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('negatively_autoregulated_gene','negatively_autoregulated_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_base_site','modified_base_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_d_box_snorna_encoding','c_d_box_snorna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_assembly','sequence_assembly');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bre_motif','bre_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromoplast_gene','chromoplast_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_clip','five_prime_clip');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('golden_path','golden_path');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('alanine','alanine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cleaved_peptide_region','cleaved_peptide_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_dj_j_cluster','v_dj_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudogenic_region','pseudogenic_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methylation_guide_snorna','methylation_guide_snorna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_vj_j_c_cluster','v_vj_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_canonical_start_codon','non_canonical_start_codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_mrna_recoded_by_translational_bypass','gene_with_mrna_recoded_by_translational_bypass');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_turn_motif','polypeptide_turn_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('autocatalytically_spliced_intron','autocatalytically_spliced_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mobile','mobile');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intron','intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('clip','clip');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dye_terminator_read','dye_terminator_read');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('argenine','argenine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dmv4_motif','dmv4_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_polypeptide_post_translational_processing_change','seq_variant_causing_polypeptide_post_trans_processing_change');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('au_rich_element','au_rich_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_breakpoint','inversion_breakpoint');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_recoding_site','five_prime_recoding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_protein_coding','non_protein_coding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mobile_intron','mobile_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vertebrate_immunoglobulin_t_cell_receptor_rearranged_segment','vertebrate_immunoglobulin_t_cell_receptor_rearranged_segment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('st_turn_right_handed_type_one','st_turn_right_handed_type_one');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna','rrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inside_intron_parallel','inside_intron_parallel');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('spliceosomal_intron','spliceosomal_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('phagemid','phagemid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('editing_block','editing_block');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('fragment_assembly','fragment_assembly');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tmrna_acceptor_piece','tmrna_acceptor_piece');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_type_six','beta_turn_type_six');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_rst','three_prime_rst');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cysteine_trna_primary_transcript','cysteine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('post_translationally_regulated_gene','post_translationally_regulated_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcriptionally_repressed','transcriptionally_repressed');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('crm','crm');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cointegrated_plasmid','cointegrated_plasmid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_sequencing_information','polypeptide_sequencing_information');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_d_spacer','three_prime_d_spacer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tiling_path_fragment','tiling_path_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('natural','so_natural');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pi_helix','pi_helix');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('possible_base_call_error','possible_base_call_error');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('adaptive_island','adaptive_island');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uridine_five_oxyacetic_acid','uridine_five_oxyacetic_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plus_2_translational_frameshift','plus_2_translational_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('homologous_region','homologous_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('internal_utr','internal_utr');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_level_of_translational_product','sequence_variant_affecting_level_of_translational_product');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_cytoplasmic_polypeptide_region','non_cytoplasmic_polypeptide_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('experimental_feature','experimental_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nuclear_chromosome','nuclear_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('exemplar','exemplar');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('alanine_trna_primary_transcript','alanine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n2_n2_dimethylguanosine','n2_n2_dimethylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_hook_turn','rna_hook_turn');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcribed_spacer_region','transcribed_spacer_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plasmid_gene','plasmid_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u14_snorna','u14_snorna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('galactosyl_queuosine','galactosyl_queuosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cyanelle_gene','cyanelle_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('wild_type_rescue_gene','wild_type_rescue_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u12_intron','u12_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('aptamer','aptamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recoded_mrna','recoded_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('macronuclear_sequence','macronuclear_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ust','ust');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('selenocysteine','selenocysteine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_dicistronic_mrna','gene_with_dicistronic_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('match_part','match_part');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleomorphic_sequence','nucleomorphic_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('apicoplast_gene','apicoplast_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('regulon','regulon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plasmid_vector','plasmid_vector');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_tryptophan','modified_l_tryptophan');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_amino_acid_coding_codon_change_in_transcript','seq_variant_causing_amino_acid_coding_codon_change_in_trans');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('free_chromosome_arm','free_chromosome_arm');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('srp_rna_primary_transcript','srp_rna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asx_turn','asx_turn');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('anchor_binding_site','anchor_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_primary_transcript','rrna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('reading_frame','reading_frame');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dhu_loop','dhu_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n4_acetylcytidine','n4_acetylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_polypeptide_function','sequence_variant_affecting_polypeptide_function');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silenced_gene','silenced_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cloned_genomic_insert','cloned_genomic_insert');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dna_sequence_secondary_structure','dna_sequence_secondary_structure');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cdna_match','cdna_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_flanking_region','five_prime_flanking_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pyrrolysyl_trna','pyrrolysyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_methylthio_n6_cis_hydroxyisopentenyl_adenosine','two_methylthio_n6_cis_hydroxyisopentenyl_adenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('repeat_component','repeat_component');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('one_methyl_three_three_amino_three_carboxypropyl_pseudouridine','one_methyl_3_3_amino_three_carboxypropyl_pseudouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rpra_rna','rpra_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nuclease_sensitive_site','nuclease_sensitive_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_coding_exon_noncoding_region','five_prime_coding_exon_noncoding_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rnapol_iii_promoter','rnapol_iii_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tryptophan_trna_primary_transcript','try_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('region','region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tf_binding_site','tf_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('attl_site','attl_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('natural_plasmid','natural_plasmid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_n6_dimethyladenosine','n6_n6_dimethyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('laevosynaptic_chromosome','laevosynaptic_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosomal_structural_element','chromosomal_structural_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_cassette_array','gene_cassette_array');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vertebrate_immunoglobulin_t_cell_receptor_gene_cluster','vertebrate_immunoglobulin_t_cell_receptor_gene_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('canonical_five_prime_splice_site','canonical_five_prime_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bound_by_protein','bound_by_protein');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sts_map','sts_map');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dnazyme','dnazyme');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silent_mutation','silent_mutation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_d_j_cluster','v_d_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bipartite_duplication','bipartite_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('hydroxywybutosine','hydroxywybutosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dihydrouridine','dihydrouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_rate_of_transcription','sequence_variant_affecting_rate_of_transcription');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_coding_exon_coding_region','five_prime_coding_exon_coding_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_left_handed_type_one','beta_turn_left_handed_type_one');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recoded_codon','recoded_codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('predicted','predicted');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('resolution_site','resolution_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('seven_cyano_seven_deazaguanosine','seven_cyano_seven_deazaguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_conformational_change','sequence_variant_causing_conformational_change');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('conformational_switch','conformational_switch');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('regulated','regulated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inverted_repeat','inverted_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('t_to_a_transversion','t_to_a_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('attc_site','attc_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_methyladenosine','two_methyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cross_genome_match','cross_genome_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tandem_repeat','tandem_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('antisense_primary_transcript','antisense_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_polyadenylation','sequence_variant_affecting_polyadenylation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_collection','sequence_collection');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_polyadenylated_mrna','gene_with_polyadenylated_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rnapol_i_promoter','rnapol_i_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_methyluridine','three_methyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('start_codon','start_codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('retrotransposon','retrotransposon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_gene','v_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chloroplast_dna','chloroplast_dna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('negative_sense_ssrna_viral_sequence','negative_sense_ssrna_viral_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('primer_binding_site','primer_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_box','c_box');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plasmid','plasmid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('biological_region','biological_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('g_to_a_transition','g_to_a_transition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_canonical_five_prime_splice_site','non_canonical_five_prime_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_d_box_snorna_primary_transcript','c_d_box_snorna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trna_region','trna_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uncharacterised_change_in_nucleotide_sequence','uncharacterised_change_in_nucleotide_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_cis_hydroxyisopentenyl_adenosine','n6_cis_hydroxyisopentenyl_adenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chloroplast_sequence','chloroplast_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('exon_region','exon_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('r_five_prime_ltr_region','r_five_prime_ltr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_j_c_cluster','v_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('r_three_prime_ltr_region','r_three_prime_ltr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('snrna','snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('one_methylinosine','one_methylinosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('j_gene_recombination_feature','j_gene_recombination_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_structural_motif','polypeptide_structural_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('conserved_region','conserved_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('remark','remark');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_dna_contact','polypeptide_dna_contact');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('codon','codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_23s','rrna_23s');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna','mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('glycyl_trna','glycyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cyanelle_sequence','cyanelle_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cds_independently_known','cds_independently_known');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('insulator','insulator');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('positive_sense_ssrna_viral_sequence','positive_sense_ssrna_viral_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('expressed_sequence_match','expressed_sequence_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('possible_assembly_error','possible_assembly_error');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u3_snorna','u3_snorna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('unorientated_interchromosomal_transposition','unorient_inter_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_manganese_ion_contact_site','polypeptide_manganese_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('g_to_t_transversion','g_to_t_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recombination_feature_of_rearranged_gene','recombination_feature_of_rearranged_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tmrna_primary_transcript','tmrna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('single_stranded_cdna','single_stranded_cdna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('experimentally_determined','experimentally_determined');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudogenic_exon','pseudogenic_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u2_intron','u2_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome','chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('encodes_alternately_spliced_transcripts','encodes_alternately_spliced_transcripts');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('aberrant_processed_transcript','aberrant_processed_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gna','gna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dsra_rna','dsra_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intron_domain','intron_domain');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cds_predicted','cds_predicted');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_asparagine','modified_l_asparagine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_d_nonamer','five_prime_d_nonamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sl2_acceptor_site','sl2_acceptor_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('snrna_primary_transcript','snrna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('translocation','translocation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_phenylalanine','modified_l_phenylalanine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lincrna','lincrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_valine','modified_l_valine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('yac','yac');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('signal_peptide','signal_peptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('r_ltr_region','r_ltr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('srp_rna_gene','srp_rna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_transcript_processing','sequence_variant_affecting_transcript_processing');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recombination_hotspot','recombination_hotspot');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_dj_c_cluster','v_dj_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('viral_sequence','viral_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_terminal_inverted_repeat','five_prime_terminal_inverted_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methoxycarbonylmethyl_two_thiouridine','five_mcm_2_thiouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('edited','edited');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('coding_start','coding_start');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_utr','three_prime_utr');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dpe1_motif','dpe1_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_tyrosine','modified_l_tyrosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_d_j_c_cluster','v_d_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('unorientated_intrachromosomal_transposition','unorient_intra_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silenced_by_histone_methylation','silenced_by_histone_methylation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('deficient_inversion','deficient_inversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_thiouridine','two_thiouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_thio_two_prime_o_methyluridine','two_thio_two_prime_o_methyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('leucoplast_sequence','leucoplast_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cds','cds');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mutation_causing_polypeptide_n_terminal_elongation','mutation_causing_polypeptide_n_terminal_elongation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polya_signal_sequence','polya_signal_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('micronuclear_sequence','micronuclear_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('glutamyl_trna','glutamyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('strna_gene','strna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('paternally_imprinted_gene','paternally_imprinted_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_chromosome','rna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ndm3_motif','ndm3_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u1_snrna','u1_snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_hydroxymethylcytidine','five_hydroxymethylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recombination_feature','recombination_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('encodes_disjoint_polypeptides','encodes_disjoint_polypeptides');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('post_translationally_regulated','post_translationally_regulated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_fusion_gene','engineered_fusion_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_d_recombination_signal_sequence','three_prime_d_recombination_signal_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causes_exon_loss','sequence_variant_causes_exon_loss');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intermediate','intermediate');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_calcium_ion_contact_site','polypeptide_calcium_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('syntenic_region','syntenic_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sugar_edge_base_pair','sugar_edge_base_pair');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_foreign_gene','engineered_foreign_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n4_acetyl_2_prime_o_methylcytidine','n4_acetyl_2_prime_o_methylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('predicted_by_ab_initio_computation','predicted_by_ab_initio_computation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_secondary_structure','polypeptide_secondary_structure');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ncrna_gene','ncrna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_junction_loop','rna_junction_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('haplotype_block','haplotype_block');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('oriv','oriv');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ambisense_ssrna_viral_sequence','ambisense_ssrna_viral_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('morpholino_oligo','morpholino_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('centromere','centromere');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('epigenetically_modified_gene','epigenetically_modified_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosomal_inversion','chromosomal_inversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minus_35_signal','minus_35_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_two_prime_o_dimethyluridine','three_two_prime_o_dimethyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('four_thiouridine','four_thiouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcription_end_site','transcription_end_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pre_mirna','pre_mirna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cysteinyl_trna','cysteinyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('catmat_left_handed_three','catmat_left_handed_three');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('schellmann_loop_seven','schellmann_loop_seven');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_vdj_j_c_cluster','v_vdj_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transposable_element_insertion_site','transposable_element_insertion_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('translocation_element','translocation_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirna_primary_transcript_region','mirna_primary_transcript_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('orphan_cds','orphan_cds');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('monocistronic_mrna','monocistronic_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('natural_transposable_element','natural_transposable_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('golden_path_fragment','golden_path_fragment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lipoprotein_signal_peptide','lipoprotein_signal_peptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_large_subunit_primary_transcript','rrna_large_subunit_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('linear_double_stranded_rna_chromosome','linear_double_stranded_rna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_increasing_rate_of_transcription','sequence_variant_increasing_rate_of_transcription');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plastid_sequence','plastid_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('irrinv_site','irrinv_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('integrated_plasmid','integrated_plasmid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_methionine','modified_l_methionine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromoplast_sequence','chromoplast_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('linear_single_stranded_rna_chromosome','linear_single_stranded_rna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('promoter_trap_construct','promoter_trap_construct');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('contig_read','contig_read');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('seven_methylguanosine','seven_methylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('stop_codon_redefined_as_selenocysteine','stop_codon_redefined_as_selenocysteine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gamma_turn','gamma_turn');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methionyl_trna','methionyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tmrna','tmrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cdna','cdna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nuclease_binding_site','nuclease_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uridine_five_oxyacetic_acid_methyl_ester','uridine_five_oxyacetic_acid_methyl_ester');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_race_clone','three_prime_race_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('circular_double_stranded_dna_chromosome','circular_double_stranded_dna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_histidine','modified_l_histidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tss_region','tss_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('positively_autoregulated_gene','positively_autoregulated_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('consensus','consensus');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('integron','integron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_metal_contact','polypeptide_metal_contact');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_loop','d_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('decayed_exon','decayed_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_inosine','modified_inosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_three_prime_overlap','three_prime_three_prime_overlap');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_five_prime_overlap','three_prime_five_prime_overlap');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_j_cluster','v_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_bulge_loop','beta_bulge_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intrachromosomal_mutation','intrachromosomal_mutation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dmv2_motif','dmv2_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intergenic_region','intergenic_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_glycinylcarbamoyladenosine','n6_glycinylcarbamoyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_feature','sequence_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('antisense_rna','antisense_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_cis_splice_site','three_prime_cis_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gamma_turn_classic','gamma_turn_classic');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rapd','rapd');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cca_tail','cca_tail');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inverted_ring_chromosome','inverted_ring_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('linear_double_stranded_dna_chromosome','linear_double_stranded_dna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('t_to_g_transversion','t_to_g_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bruno_response_element','bruno_response_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u5_five_prime_ltr_region','u5_five_prime_ltr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_to_a_transversion','c_to_a_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('distant_three_prime_recoding_signal','distant_three_prime_recoding_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('macronucleus_destined_segment','macronucleus_destined_segment');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pre_edited_mrna','pre_edited_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pac','pac');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('base','base');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polycistronic_mrna','polycistronic_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('codon_redefined','codon_redefined');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methoxycarbonylmethyl_two_prime_o_methyluridine','five_methoxycarbonylmethyl_two_prime_o_methyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('match','match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_stop_codon_read_through','gene_with_stop_codon_read_through');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asparaginyl_trna','asparaginyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('threonyl_trna','threonyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u3_five_prime_ltr_region','u3_five_prime_ltr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_ltr','five_prime_ltr');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vj_gene','vj_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n2_methylguanosine','n2_methylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rho_dependent_bacterial_terminator','rho_dependent_bacterial_terminator');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_flanking_region','three_prime_flanking_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('genomically_contaminated_cdna_clone','genomically_contaminated_cdna_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirna_target_site','mirna_target_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('internal_guide_sequence','internal_guide_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u5_three_prime_ltr_region','u5_three_prime_ltr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mutation_causing_out_of_frame_polypeptide_n_terminal_elongation','mutation_causing_out_of_frame_polypeptide_n_terminal_elong');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('undermodified_hydroxywybutosine','undermodified_hydroxywybutosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('introgressed_chromosome_region','introgressed_chromosome_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('translationally_frameshifted','translationally_frameshifted');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosomal_deletion','chromosomal_deletion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('leucine','leucine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methylation_guide_snorna_primary_transcript','methylation_guide_snorna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trans_spliced','trans_spliced');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_isopentenylaminomethyl_uridine','five_isopentenylaminomethyl_uridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_methylthio_n6_threonyl_carbamoyladenosine','two_methylthio_n6_threonyl_carbamoyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('stop_codon','stop_codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_no_change_of_translational_product','sequence_variant_causing_no_change_of_translational_product');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('biochemical_region_of_peptide','biochemical_region_of_peptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('interband','interband');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('clone_insert','clone_insert');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dna_constraint_sequence','dna_constraint_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('snp','snp');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromoplast_chromosome','chromoplast_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tata_box','tata_box');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_25s','rrna_25s');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plastid_gene','plastid_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asx_turn_left_handed_type_one','asx_turn_left_handed_type_one');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_increasing_transcript_stability','sequence_variant_increasing_transcript_stability');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_uridine','modified_uridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lysyl_trna','lysyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intramembrane_polypeptide_region','intramembrane_polypeptide_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rr_tract','rr_tract');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_primary_transcript_region','rrna_primary_transcript_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('alternatively_spliced_transcript','alternatively_spliced_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ds_dna_viral_sequence','ds_dna_viral_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosomal_duplication','chromosomal_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('scrna_encoding','scrna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_copper_ion_contact_site','polypeptide_copper_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_isoleucine','modified_l_isoleucine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('clone','clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('hetero_compound_chromosome','hetero_compound_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_subarray','gene_subarray');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dicistronic_transcript','dicistronic_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silenced_by_dna_methylation','silenced_by_dna_methylation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_partially_characterised_change_in_transcript','seq_variant_causing_partly_characterised_change_in_trans');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('t_loop','t_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_serine','modified_l_serine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_thiocytidine','two_thiocytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_repeat_recoding_signal','three_prime_repeat_recoding_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('srp_rna','srp_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_binding_motif','polypeptide_binding_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_prime_o_methylguanosine','two_prime_o_methylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_polypeptide_truncation','sequence_variant_causing_polypeptide_truncation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('a_box','a_box');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recombinationally_rearranged_vertebrate_immune_system_gene','recombinationally_rearranged_vertebrate_immune_system_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('one_methylguanosine','one_methylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_glutamine','modified_l_glutamine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant','sequence_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_length_variation','sequence_length_variation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('strna_encoding','strna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('plus_1_frameshift','plus_1_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('topologically_defined_region','topologically_defined_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('edited_cds','edited_cds');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_silenced_by_histone_modification','gene_silenced_by_histone_modification');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('e_box_motif','e_box_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('small_subunit_rrna','small_subunit_rrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dnasei_hypersensitive_site','dnasei_hypersensitive_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_d_dj_j_c_cluster','v_d_dj_j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('compound_chromosome_arm','compound_chromosome_arm');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('feature_attribute','feature_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('protein_match','protein_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_splicing','sequence_variant_affecting_splicing');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome_variation','chromosome_variation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('serine_threonine_motif','serine_threonine_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('allelically_excluded','allelically_excluded');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('assortment_derived_aneuploid','assortment_derived_aneuploid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('morpholino','morpholino');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_isopentenylaminomethyl_two_prime_o_methyluridine','five_isopentenylaminomethyl_two_prime_o_methyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gna_oligo','gna_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('copy_number_variation','copy_number_variation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silenced','silenced');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_methylcytidine','three_methylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dexstrosynaptic_chromosome','dexstrosynaptic_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inverted_insertional_duplication','inverted_insertional_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rescue_mini_gene','rescue_mini_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('catmat_left_handed_four','catmat_left_handed_four');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('alternate_sequence_site','alternate_sequence_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_iron_ion_contact_site','polypeptide_iron_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_to_t_transition_at_pcpg_site','c_to_t_transition_at_pcpg_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_molybdenum_ion_contact_site','polypeptide_molybdenum_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('phenylalanine_trna_primary_transcript','phe_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h_aca_box_snorna_primary_transcript','h_aca_box_snorna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('r_gna','r_gna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intrachromosomal_transposition','intrachromosomal_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_polypeptide_localization_change','sequence_variant_causing_polypeptide_localization_change');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methylated_a','methylated_a');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_16s','rrna_16s');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n4_methylcytidine','n4_methylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('riboswitch','riboswitch');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('assortment_derived_duplication','assortment_derived_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosomal_regulatory_element','chromosomal_regulatory_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_partially_characterised_3d_structural_change','seq_var_causing_partly_characterised_3d_structural_change');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_five_prime_overlap','five_prime_five_prime_overlap');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ribozymic','ribozymic');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_derived_bipartite_deficiency','inversion_derived_bipartite_deficiency');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('invalidated_by_genomic_contamination','invalidated_by_genomic_contamination');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vj_j_cluster','vj_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_uncharacterised_change_of_translational_product','sequence_variant_causing_uncharacterised_change_of_product');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome_number_variation','chromosome_number_variation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_attribute','gene_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uag_stop_codon_signal','uag_stop_codon_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleotide_match','nucleotide_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('epigenetically_modified','epigenetically_modified');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('st_turn_left_handed_type_two','st_turn_left_handed_type_two');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_derived_deficiency_plus_duplication','inversion_derived_deficiency_plus_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methylaminomethyl_two_selenouridine','five_methylaminomethyl_two_selenouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('aspartic_acid_trna_primary_transcript','aspartic_acid_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nuclear_mt_pseudogene','nuclear_mt_pseudogene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('exonic_splice_enhancer','exonic_splice_enhancer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u4_snrna','u4_snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('csrb_rsmb_rna','csrb_rsmb_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('group_1_intron_homing_endonuclease_target_region','group_1_intron_homing_endonuclease_target_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('crispr','crispr');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_no_change_in_transcript','sequence_variant_causing_no_change_in_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('snorna_gene','snorna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trans_splice_junction','trans_splice_junction');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('flanking_three_prime_quadruplet_recoding_signal','flanking_three_prime_quadruplet_recoding_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_vdj_j_cluster','v_vdj_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cassette_pseudogene','cassette_pseudogene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silenced_by_histone_modification','silenced_by_histone_modification');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('proviral_gene','proviral_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_carboxyhydroxymethyl_uridine','five_carboxyhydroxymethyl_uridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mt_gene','mt_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('single_stranded_rna_chromosome','single_stranded_rna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recoding_stimulatory_region','recoding_stimulatory_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_taurinomethyluridine','five_taurinomethyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_threonine','modified_l_threonine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_d_dj_cluster','v_d_dj_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('synthetic_oligo','synthetic_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('purine_to_pyrimidine_transversion','purine_to_pyrimidine_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_nonsense_codon_change_in_transcript','sequence_variant_causing_nonsense_codon_change_in_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('antiparallel_beta_strand','antiparallel_beta_strand');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('central_hydrophobic_region_of_signal_peptide','central_hydrophobic_region_of_signal_peptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('integrated_mobile_genetic_element','integrated_mobile_genetic_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('parallel_beta_strand','parallel_beta_strand');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_dj_cluster','v_dj_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dre_motif','dre_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_ltr_retrotransposon','non_ltr_retrotransposon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('r_gna_oligo','r_gna_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('autoregulated','autoregulated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_lysine','modified_l_lysine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bac_end','bac_end');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pyrrolysine','pyrrolysine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lysine','lysine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('protein_protein_contact','protein_protein_contact');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('splice_site','splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosomal_translocation','chromosomal_translocation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('epitope','epitope');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('allele','allele');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n4_n4_2_prime_o_trimethylcytidine','n4_n4_2_prime_o_trimethylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u5_ltr_region','u5_ltr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rescue_gene','rescue_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transgenic_transposable_element','transgenic_transposable_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_conserved_region','polypeptide_conserved_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sts','sts');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('a_to_c_transversion','a_to_c_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('class_ii_rna','class_ii_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nonamer_of_recombination_feature_of_vertebrate_immune_system_gene','nonamer_of_recombination_feature_of_vertebrate_im_sys_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('unedited_region','unedited_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_increasing_level_of_translation_product','sequence_variant_increasing_level_of_translation_product');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lambda_vector','lambda_vector');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene','gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('alanyl_trna','alanyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('virtual_sequence','virtual_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('group_iib_intron','group_iib_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('retrotransposed','retrotransposed');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna_with_minus_2_frameshift','mrna_with_minus_2_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polymer_attribute','polymer_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('autosynaptic_chromosome','autosynaptic_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('peptide_helix','peptide_helix');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('partially_processed_cdna_clone','partially_processed_cdna_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rst_match','rst_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('paternally_imprinted','paternally_imprinted');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('predicted_gene','predicted_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('robertsonian_fusion','robertsonian_fusion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_prime_o_methylpseudouridine','two_prime_o_methylpseudouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pericentric_inversion','pericentric_inversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('aspartyl_trna','aspartyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('strna','strna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_intron','three_prime_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('linear','linear');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('j_nonamer','j_nonamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('a_to_t_transversion','a_to_t_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('idna','idna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n2_n2_7_trimethylguanosine','n2_n2_7_trimethylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('complex_chromosomal_mutation','complex_chromosomal_mutation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_derived_deficiency_plus_aneuploid','inversion_derived_deficiency_plus_aneuploid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asymmetric_rna_internal_loop','asymmetric_rna_internal_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('deletion','deletion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cyclic_translocation','cyclic_translocation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ars','ars');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('glutaminyl_trna','glutaminyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('allopolyploid','allopolyploid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('replicon','replicon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_prime_o_methylcytidine','two_prime_o_methylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('st_turn_left_handed_type_one','st_turn_left_handed_type_one');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('paralogous_region','paralogous_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mature_transcript_region','mature_transcript_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna_with_frameshift','mrna_with_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_dj_j_cluster','d_dj_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('maxicircle_gene','maxicircle_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('st_turn_right_handed_type_two','st_turn_right_handed_type_two');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('snrna_encoding','snrna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_d_spacer','five_prime_d_spacer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('read','read');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('arginine_trna_primary_transcript','arg_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('oligo_u_tail','oligo_u_tail');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recoding_pseudoknot','recoding_pseudoknot');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methylaminomethyl_two_thiouridine','five_mam_2_thiouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('monocistronic','monocistronic');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('frame_restoring_sequence_variant','frame_restoring_sequence_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transmembrane_polypeptide_region','transmembrane_polypeptide_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vector_replicon','vector_replicon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pyrosequenced_read','pyrosequenced_read');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_magnesium_ion_contact_site','polypeptide_magnesium_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polycistronic_transcript','polycistronic_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polya_site','polya_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('free_duplication','free_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome_structure_variation','chromosome_structure_variation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_rna_base_feature','modified_rna_base_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mutated_variant_site','mutated_variant_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gaga_motif','gaga_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('interchromosomal_mutation','interchromosomal_mutation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('prophage','prophage');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('syntenic','syntenic');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_foreign_repetitive_element','engineered_foreign_repetitive_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('translated_nucleotide_match','translated_nucleotide_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h_aca_box_snorna','h_aca_box_snorna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vault_rna','vault_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('orphan','orphan');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('linear_single_stranded_dna_chromosome','linear_single_stranded_dna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('encodes_greater_than_1_polypeptide','encodes_greater_than_1_polypeptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('atti_site','atti_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silenced_by_histone_deacetylation','silenced_by_histone_deacetylation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('reagent','reagent');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome_fission','chromosome_fission');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ct_gene','ct_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('capped_primary_transcript','capped_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_initiator_codon_change_in_transcript','sequence_variant_causing_initiator_codon_change_in_trans');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methylinosine','methylinosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('j_spacer','j_spacer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('glutamine','glutamine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_guanosine','modified_guanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n2_7_dimethylguanosine','n2_7_dimethylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_nonconservative_amino_acid_substitution','sequence_variant_causing_nonconservative_amino_acid_sub');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_d_heptamer','three_prime_d_heptamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('invalidated_cdna_clone','invalidated_cdna_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('terminator','terminator');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('stem_loop','stem_loop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_utr_intron','five_prime_utr_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_plus_2_frameshift','sequence_variant_causing_plus_2_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome_band','chromosome_band');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mini_exon_donor_rna','mini_exon_donor_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('aneuploid','aneuploid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methyl_2_thiouridine','five_methyl_2_thiouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_silenced_by_dna_methylation','gene_silenced_by_dna_methylation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_foreign_transposable_element_gene','engineered_foreign_transposable_element_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('processed_pseudogene','processed_pseudogene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('supercontig','supercontig');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trna_encoding','trna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('reciprocal_chromosomal_translocation','reciprocal_chromosomal_translocation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('hoogsteen_base_pair','hoogsteen_base_pair');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('purine_transition','purine_transition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_d_box_snorna','c_d_box_snorna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('snorna_primary_transcript','snorna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_vj_cluster','v_vj_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u3_ltr_region','u3_ltr_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('attenuator','attenuator');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_noncoding_exon','three_prime_noncoding_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u14_snorna_primary_transcript','u14_snorna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_gene_recombination_feature','d_gene_recombination_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mte','mte');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variation_affecting_coding_sequence','sequence_variation_affecting_coding_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gcvb_rna','gcvb_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rst','rst');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('operator','operator');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ring_chromosome','ring_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ndm2_motif','ndm2_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('selenocysteine_trna_primary_transcript','selenocysteine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('edited_transcript_feature','edited_transcript_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('stop_codon_redefined_as_pyrrolysine','stop_codon_redefined_as_pyrrolysine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('homo_compound_chromosome','homo_compound_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('foreign_gene','foreign_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('four_demethylwyosine','four_demethylwyosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('guide_rna','guide_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_methylpseudouridine','three_methylpseudouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_derived_aneuploid_chromosome','inversion_derived_aneuploid_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('specific_recombination_site','specific_recombination_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inosine','inosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('foreign_transposable_element','foreign_transposable_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_gene','d_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bipartite_inversion','bipartite_inversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_plasmid','engineered_plasmid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_group_regulatory_region','gene_group_regulatory_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vd_gene','vd_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('regulatory_region','regulatory_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_decreasing_rate_of_transcription','sequence_variant_decreasing_rate_of_transcription');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('guide_rna_region','guide_rna_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence variant_affecting_transcript_stability','sequence_variant_affecting_transcript_stability');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_ten_helix','three_ten_helix');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sarcin_like_rna_motif','sarcin_like_rna_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minus_1_translationally_frameshifted','minus_1_translationally_frameshifted');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_alanine','modified_l_alanine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_amino_acid_deletion','sequence_variant_causing_amino_acid_deletion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_cum_translocation','inversion_cum_translocation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tag','tag');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uninverted_interchromosomal_transposition','uninvert_inter_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cryptic_gene','cryptic_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transgenic','transgenic');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('genomic_clone','genomic_clone');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chromosome_breakage_sequence','chromosome_breakage_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_j_cluster','d_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_type_six_a_one','beta_turn_type_six_a_one');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ribosome_entry_site','ribosome_entry_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('left_handed_peptide_helix','left_handed_peptide_helix');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dna_aptamer','dna_aptamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('i_motif','i_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('deficient_intrachromosomal_transposition','d_intrachr_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('single_stranded_dna_chromosome','single_stranded_dna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('methylated_c','methylated_c');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ligation_based_read','ligation_based_read');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('expressed_sequence_assembly','expressed_sequence_assembly');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_two_prime_o_dimethyluridine','five_two_prime_o_dimethyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('histidine_trna_primary_transcript','histidine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('orthologous_region','orthologous_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('valine_trna_primary_transcript','valine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('operon_member','operon_member');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_group','gene_group');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transposition','transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('small_regulatory_ncrna','small_regulatory_ncrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intrachromosomal_duplication','intrachromosomal_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uaa_stop_codon_signal','uaa_stop_codon_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minus_2_frameshift','minus_2_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('organelle_sequence','organelle_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cryptic_prophage','cryptic_prophage');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('micf_rna','micf_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('direct_tandem_duplication','direct_tandem_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('conserved','conserved');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('telomerase_rna','telomerase_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u6atac_snrna','u6atac_snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('attb_site','attb_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_array_member','gene_array_member');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polyadenylated_mrna','polyadenylated_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('symbiosis_island','symbiosis_island');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('splice_junction','splice_junction');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('fingerprint_map','fingerprint_map');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('wyosine','wyosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uga_stop_codon_signal','uga_stop_codon_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cytoplasmic_polypeptide_region','cytoplasmic_polypeptide_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('one_two_prime_o_dimethylguanosine','one_two_prime_o_dimethylguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rh_map','rh_map');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silenced_by_dna_modification','silenced_by_dna_modification');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('anticodon','anticodon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('seven_deazaguanosine','seven_deazaguanosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asparagine','asparagine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('probe','probe');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('defective_conjugative_transposon','defective_conjugative_transposon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('archaeosine','archaeosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('molecular_contact_region','molecular_contact_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('membrane_structure','membrane_structure');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('contig_collection','contig_collection');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tetraloop','tetraloop');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('coding_conserved_region','coding_conserved_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('long_terminal_repeat','long_terminal_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vertebrate_immune_system_gene_recombination_signal_feature','vertebrate_immune_system_gene_recombination_signal_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('untranslated_region_polycistronic_mrna','untranslated_region_polycistronic_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('leucine_trna_primary_transcript','leucine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('circular_single_stranded_dna_chromosome','circular_single_stranded_dna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('isoleucyl_trna','isoleucyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('insertion_breakpoint','insertion_breakpoint');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transgene','transgene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna_region','mrna_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcript_attribute','transcript_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('serine_threonine_staple_motif','serine_threonine_staple_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('protein_coding','protein_coding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('enhancer_bound_by_factor','enhancer_bound_by_factor');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('recoded_by_translational_bypass','recoded_by_translational_bypass');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('operon','operon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('monocistronic_transcript','monocistronic_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_amino_acid_insertion','sequence_variant_causing_amino_acid_insertion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polyadenylated','polyadenylated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('unigene_cluster','unigene_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('vertebrate_immunoglobulin_t_cell_receptor_rearranged_gene_cluster','vertebrate_ig_t_cell_receptor_rearranged_gene_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_cassette_member','gene_cassette_member');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('stop_codon_read_through','stop_codon_read_through');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_transcript_with_translational_frameshift','gene_with_transcript_with_translational_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mnp','mnp');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('glutamic_acid','glutamic_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_polypeptide_amino_acid_sequence','sequence_variant_affecting_polypeptide_amino_acid_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn','beta_turn');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pathogenic_island','pathogenic_island');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ust_match','ust_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_conservative_missense_codon_change_in_transcript','seq_var_causing_conservative_missense_codon_change_in_trans');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcript_bound_by_protein','transcript_bound_by_protein');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_methyladenosine','n6_methyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cyanelle_chromosome','cyanelle_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('orit','orit');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('maternally_imprinted','maternally_imprinted');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('chloroplast_chromosome','chloroplast_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minicircle_gene','minicircle_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_catalytic_motif','polypeptide_catalytic_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rnapol_iii_promoter_type_2','rnapol_iii_promoter_type_2');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('no_output','no_output');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('interior_coding_exon','interior_coding_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_taurinomethyl_two_thiouridine','five_taurinomethyl_two_thiouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide','polypeptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polymerase_synthesis_read','polymerase_synthesis_read');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('enhancer_binding_site','enhancer_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_left_handed_type_two','beta_turn_left_handed_type_two');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('invalidated_by_genomic_polya_primed_cdna','invalidated_by_genomic_polya_primed_cdna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_edited_transcript','gene_with_edited_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dmv1_motif','dmv1_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('post_translationally_modified_region','post_translationally_modified_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('proline','proline');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('flanking_region','flanking_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_methylthio_n6_isopentenyladenosine','two_methylthio_n6_isopentenyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypyrimidine_tract','polypyrimidine_tract');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methoxyuridine','five_methoxyuridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_to_gene_feature','gene_to_gene_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bac_cloned_genomic_insert','bac_cloned_genomic_insert');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('j_heptamer','j_heptamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_ust','three_prime_ust');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_2_prime_o_dimethyladenosine','n6_2_prime_o_dimethyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trans_splice_site','trans_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_rescue_region','engineered_rescue_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleomorph_gene','nucleomorph_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna_attribute','mrna_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_three_prime_overlap','five_prime_three_prime_overlap');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('group_i_intron','group_i_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('d_cluster','d_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('genomic_dna','genomic_dna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inside_intron','inside_intron');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('hammerhead_ribozyme','hammerhead_ribozyme');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_d_heptamer','five_prime_d_heptamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intronic_splice_enhancer','intronic_splice_enhancer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_adenosine','modified_adenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_carboxymethylaminomethyluridine','five_carboxymethylaminomethyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('repeat_region','repeat_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('repeat_unit','repeat_unit');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('double_stranded_dna_chromosome','double_stranded_dna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('template_region','template_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('primary_transcript_region','primary_transcript_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mitochondrial_dna','mitochondrial_dna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcript_region','transcript_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ribozyme','ribozyme');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('matrix_attachment_site','matrix_attachment_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('imprinted','imprinted');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('est','est');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_motif','rna_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_variation_site','polypeptide_variation_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('class_i_rna','class_i_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('oligo','oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('stop_codon_signal','stop_codon_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('hypoploid','hypoploid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('exemplar_mrna','exemplar_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('c_to_g_transversion','c_to_g_transversion');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('active_peptide','active_peptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mannosyl_queuosine','mannosyl_queuosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_stop_codon_redefined_as_pyrrolysine','gene_with_stop_codon_redefined_as_pyrrolysine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('queuosine','queuosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lna_oligo','lna_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('independently_known','independently_known');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causes_intron_gain','sequence_variant_causes_intron_gain');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('proviral_region','proviral_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('capped','capped');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('direction_attribute','direction_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('micronuclear_chromosome','micronuclear_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudogene_by_unequal_crossing_over','pseudogene_by_unequal_crossing_over');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('one_two_prime_o_dimethyladenosine','one_two_prime_o_dimethyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dpe_motif','dpe_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('seryl_trna','seryl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('integration_excision_site','integration_excision_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('noncoding_region_of_exon','noncoding_region_of_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rnase_mrp_rna','rnase_mrp_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_methoxycarbonylmethyluridine','five_methoxycarbonylmethyluridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('exon_of_single_exon_gene','exon_of_single_exon_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_dicistronic_primary_transcript','gene_with_dicistronic_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_secondary_structure','sequence_secondary_structure');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tiling_path','tiling_path');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nuclear_sequence','nuclear_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('contig','contig');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('catalytic_residue','catalytic_residue');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_site','inversion_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('aspartic_acid','aspartic_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dif_site','dif_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirna_gene','mirna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('valyl_trna','valyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inverted_tandem_duplication','inverted_tandem_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cis_regulatory_frameshift_element','cis_regulatory_frameshift_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minisatellite','minisatellite');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('assembly_component','assembly_component');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('low_complexity_region','low_complexity_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('designed_sequence','designed_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('n6_n6_2_prime_o_trimethyladenosine','n6_n6_2_prime_o_trimethyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_polymerase_promoter','rna_polymerase_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_gene_recombination_feature','v_gene_recombination_feature');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_carboxymethylaminomethyl_two_thiouridine','five_carboxymethylaminomethyl_two_thiouridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('free_ring_duplication','free_ring_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dicistronic_mrna','dicistronic_mrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('uncharacterised_chromosomal_mutation','uncharacterised_chromosomal_mutation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_cis_splice_site','five_prime_cis_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('octamer_motif','octamer_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('encodes_overlapping_peptides_different_start','encodes_overlapping_peptides_different_start');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ss_rna_viral_sequence','ss_rna_viral_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('indel','indel');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dicistronic_primary_transcript','dicistronic_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('protein_binding_site','protein_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polycistronic','polycistronic');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('asparagine_trna_primary_transcript','asparagine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('splice_enhancer','splice_enhancer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('aneuploid_chromosome','aneuploid_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('peroxywybutosine','peroxywybutosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_aspartic_acid','modified_l_aspartic_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('engineered_episome','engineered_episome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rnai_reagent','rnai_reagent');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rasirna','rasirna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tmrna_region','tmrna_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_gain_of_function_of_polypeptide','sequence_variant_causing_gain_of_function_of_polypeptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bacterial_rnapol_promoter','bacterial_rnapol_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mitochondrial_sequence','mitochondrial_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trinucleotide_repeat_microsatellite_feature','trinuc_repeat_microsat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('post_translationally_regulated_by_protein_stability','post_translationally_regulated_by_protein_stability');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nc_primary_transcript','nc_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_cryptic_splice_donor_activation','sequence_variant_causing_cryptic_splice_donor_activation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('iron_responsive_element','iron_responsive_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('v_d_dj_j_cluster','v_d_dj_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('forward','forward');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('proviral_location','proviral_location');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('histone_binding_site','histone_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pse_motif','pse_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_type_eight','beta_turn_type_eight');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('double','double');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_nonconservative_missense_codon_change_in_transcript','seq_var_causing_nonconserv_missense_codon_change_in_trans');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_complex_change_of_translational_product','sequence_variant_causing_complex_change_of_product');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cds_supported_by_est_or_cdna_data','cds_supported_by_est_or_cdna_data');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('double_stranded_rna_chromosome','double_stranded_rna_chromosome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('modified_l_glutamic_acid','modified_l_glutamic_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_nest_motif','polypeptide_nest_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('translational_frameshift','translational_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_terminal_inverted_repeat','three_prime_terminal_inverted_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudogenic_trna','pseudogenic_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cap','cap');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_coding_exon','five_prime_coding_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('enzymatic','enzymatic');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('interior_exon','interior_exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('a_to_g_transition','a_to_g_transition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_inactive_catalytic_site','sequence_variant_causing_inactive_catalytic_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_methylthio_n6_hydroxynorvalyl_carbamoyladenosine','two_methylthio_n6_hydroxynorvalyl_carbamoyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('maternally_imprinted_gene','maternally_imprinted_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_terminator_codon_change_in_transcript','sequence_variant_causing_terminator_codon_change_in_trans');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('circular','circular');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h_pseudoknot','h_pseudoknot');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcript','transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudogene','pseudogene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleotide_duplication','nucleotide_duplication');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('direct_repeat','direct_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bacterial_terminator','bacterial_terminator');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('diplotype','diplotype');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_uncharacterised_3d_structural_change','seq_variant_causing_uncharacterised_3d_structural_change');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dj_gene','dj_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('two_prime_o_methyladenosine','two_prime_o_methyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_plus_1_frameshift_mutation','sequence_variant_causing_plus_1_frameshift_mutation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('restriction_enzyme_binding_site','restriction_enzyme_binding_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bac','bac');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dj_j_cluster','dj_j_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trans_splice_donor_site','trans_splice_donor_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleic_acid','nucleic_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('invalidated_by_chimeric_cdna','invalidated_by_chimeric_cdna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('histidine','histidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_component_region','gene_component_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('primer_match','primer_match');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('trna_primary_transcript','trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('loxp_site','loxp_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('serine','serine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('propeptide','propeptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_open_reading_frame','five_prime_open_reading_frame');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('schellmann_loop_six','schellmann_loop_six');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('shine_dalgarno_sequence','shine_dalgarno_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sp6_rna_polymerase_promoter','sp6_rna_polymerase_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_editing','sequence_variant_affecting_editing');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_regulatory_region','sequence_variant_affecting_regulatory_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lysine_trna_primary_transcript','lysine_trna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('j_c_cluster','j_c_cluster');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('assortment_derived_deficiency','assortment_derived_deficiency');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mirna_primary_transcript','mirna_primary_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_5s','rrna_5s');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('leucyl_trna','leucyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inverted_intrachromosomal_transposition','invert_intra_transposition');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('enzymatic_rna','enzymatic_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('negatively_autoregulated','negatively_autoregulated');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('anchor_region','anchor_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('exon','exon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_turn_type_six_a','beta_turn_type_six_a');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('random_sequence','random_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('partially_characterised_chromosomal_mutation','partially_characterised_chromosomal_mutation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna','rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_transcript_secondary_structure','sequence_variant_affecting_transcript_secondary_structure');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ss_oligo','ss_oligo');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inversion_derived_duplication_plus_aneuploid','inversion_derived_duplication_plus_aneuploid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcript_bound_by_nucleic_acid','transcript_bound_by_nucleic_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('intein_containing','intein_containing');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h_aca_box_snorna_encoding','h_aca_box_snorna_encoding');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_cleavage_rna','rrna_cleavage_rna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('enhancer_trap_construct','enhancer_trap_construct');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_causing_uncharacterised_change_in_transcript','seq_variant_causing_uncharacterised_change_in_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gamma_turn_inverse','gamma_turn_inverse');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_d_nonamer','three_prime_d_nonamer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('selenocysteinyl_trna','selenocysteinyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_silenced_by_histone_methylation','gene_silenced_by_histone_methylation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('u11_snrna','u11_snrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('scrna','scrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sequence_variant_affecting_copy_number','sequence_variant_affecting_copy_number');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_stop_codon_redefined_as_selenocysteine','gene_with_stop_codon_redefined_as_selenocysteine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('silencer','silencer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sage_tag','sage_tag');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mrna_with_minus_1_frameshift','mrna_with_minus_1_frameshift');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nuclear_gene','nuclear_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cds_supported_by_domain_match_data','cds_supported_by_domain_match_data');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('internal_shine_dalgarno_sequence','internal_shine_dalgarno_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('prolyl_trna','prolyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lysidine','lysidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('beta_bulge','beta_bulge');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('post_translationally_regulated_by_protein_modification','post_translationally_regulated_by_protein_modification');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('ncrna','ncrna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('grna_gene','grna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('enhancer','enhancer');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polymorphic_sequence_variant','polymorphic_sequence_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('three_prime_clip','three_prime_clip');
- CREATE INDEX sequence_cv_lookup_table_idx ON sequence_cv_lookup_table (original_cvterm_name);
- SET search_path=public,pg_catalog;
- CREATE OR REPLACE VIEW protein_coding_gene AS
- SELECT
- DISTINCT gene.*
- FROM
- feature AS gene
- INNER JOIN feature_relationship AS fr ON (gene.feature_id=fr.object_id)
- INNER JOIN so.mrna ON (mrna.feature_id=fr.subject_id);
- CREATE VIEW intron_combined_view AS
- SELECT
- x1.feature_id AS exon1_id,
- x2.feature_id AS exon2_id,
- CASE WHEN l1.strand=-1 THEN l2.fmax ELSE l1.fmax END AS fmin,
- CASE WHEN l1.strand=-1 THEN l1.fmin ELSE l2.fmin END AS fmax,
- l1.strand AS strand,
- l1.srcfeature_id AS srcfeature_id,
- r1.rank AS intron_rank,
- r1.object_id AS transcript_id
- FROM
- cvterm
- INNER JOIN
- feature AS x1 ON (x1.type_id=cvterm.cvterm_id)
- INNER JOIN
- feature_relationship AS r1 ON (x1.feature_id=r1.subject_id)
- INNER JOIN
- featureloc AS l1 ON (x1.feature_id=l1.feature_id)
- INNER JOIN
- feature AS x2 ON (x2.type_id=cvterm.cvterm_id)
- INNER JOIN
- feature_relationship AS r2 ON (x2.feature_id=r2.subject_id)
- INNER JOIN
- featureloc AS l2 ON (x2.feature_id=l2.feature_id)
- WHERE
- cvterm.name='exon' AND
- (r2.rank - r1.rank) = 1 AND
- r1.object_id=r2.object_id AND
- l1.strand = l2.strand AND
- l1.srcfeature_id = l2.srcfeature_id AND
- l1.locgroup=0 AND
- l2.locgroup=0;
- CREATE VIEW intronloc_view AS
- SELECT DISTINCT
- exon1_id,
- exon2_id,
- fmin,
- fmax,
- strand,
- srcfeature_id
- FROM intron_combined_view;
- CREATE OR REPLACE FUNCTION store_feature
- (INT,INT,INT,INT,
- INT,INT,VARCHAR,VARCHAR,INT,BOOLEAN)
- RETURNS INT AS
- 'DECLARE
- v_srcfeature_id ALIAS FOR $1;
- v_fmin ALIAS FOR $2;
- v_fmax ALIAS FOR $3;
- v_strand ALIAS FOR $4;
- v_dbxref_id ALIAS FOR $5;
- v_organism_id ALIAS FOR $6;
- v_name ALIAS FOR $7;
- v_uniquename ALIAS FOR $8;
- v_type_id ALIAS FOR $9;
- v_is_analysis ALIAS FOR $10;
- v_feature_id INT;
- v_featureloc_id INT;
- BEGIN
- IF v_dbxref_id IS NULL THEN
- SELECT INTO v_feature_id feature_id
- FROM feature
- WHERE uniquename=v_uniquename AND
- organism_id=v_organism_id AND
- type_id=v_type_id;
- ELSE
- SELECT INTO v_feature_id feature_id
- FROM feature
- WHERE dbxref_id=v_dbxref_id;
- END IF;
- IF NOT FOUND THEN
- INSERT INTO feature
- ( dbxref_id ,
- organism_id ,
- name ,
- uniquename ,
- type_id ,
- is_analysis )
- VALUES
- ( v_dbxref_id ,
- v_organism_id ,
- v_name ,
- v_uniquename ,
- v_type_id ,
- v_is_analysis );
- v_feature_id = currval(''feature_feature_id_seq'');
- ELSE
- UPDATE feature SET
- dbxref_id = v_dbxref_id ,
- organism_id = v_organism_id ,
- name = v_name ,
- uniquename = v_uniquename ,
- type_id = v_type_id ,
- is_analysis = v_is_analysis
- WHERE
- feature_id=v_feature_id;
- END IF;
- PERFORM store_featureloc(v_feature_id,
- v_srcfeature_id,
- v_fmin,
- v_fmax,
- v_strand,
- 0,
- 0);
- RETURN v_feature_id;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION store_featureloc
- (INT,INT,INT,INT,INT,INT,INT)
- RETURNS INT AS
- 'DECLARE
- v_feature_id ALIAS FOR $1;
- v_srcfeature_id ALIAS FOR $2;
- v_fmin ALIAS FOR $3;
- v_fmax ALIAS FOR $4;
- v_strand ALIAS FOR $5;
- v_rank ALIAS FOR $6;
- v_locgroup ALIAS FOR $7;
- v_featureloc_id INT;
- BEGIN
- IF v_feature_id IS NULL THEN RAISE EXCEPTION ''feature_id cannot be null'';
- END IF;
- SELECT INTO v_featureloc_id featureloc_id
- FROM featureloc
- WHERE feature_id=v_feature_id AND
- rank=v_rank AND
- locgroup=v_locgroup;
- IF NOT FOUND THEN
- INSERT INTO featureloc
- ( feature_id,
- srcfeature_id,
- fmin,
- fmax,
- strand,
- rank,
- locgroup)
- VALUES
- ( v_feature_id,
- v_srcfeature_id,
- v_fmin,
- v_fmax,
- v_strand,
- v_rank,
- v_locgroup);
- v_featureloc_id = currval(''featureloc_featureloc_id_seq'');
- ELSE
- UPDATE featureloc SET
- feature_id = v_feature_id,
- srcfeature_id = v_srcfeature_id,
- fmin = v_fmin,
- fmax = v_fmax,
- strand = v_strand,
- rank = v_rank,
- locgroup = v_locgroup
- WHERE
- featureloc_id=v_featureloc_id;
- END IF;
- RETURN v_featureloc_id;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION store_feature_synonym
- (INT,VARCHAR,INT,BOOLEAN,BOOLEAN,INT)
- RETURNS INT AS
- 'DECLARE
- v_feature_id ALIAS FOR $1;
- v_syn ALIAS FOR $2;
- v_type_id ALIAS FOR $3;
- v_is_current ALIAS FOR $4;
- v_is_internal ALIAS FOR $5;
- v_pub_id ALIAS FOR $6;
- v_synonym_id INT;
- v_feature_synonym_id INT;
- BEGIN
- IF v_feature_id IS NULL THEN RAISE EXCEPTION ''feature_id cannot be null'';
- END IF;
- SELECT INTO v_synonym_id synonym_id
- FROM synonym
- WHERE name=v_syn AND
- type_id=v_type_id;
- IF NOT FOUND THEN
- INSERT INTO synonym
- ( name,
- synonym_sgml,
- type_id)
- VALUES
- ( v_syn,
- v_syn,
- v_type_id);
- v_synonym_id = currval(''synonym_synonym_id_seq'');
- END IF;
- SELECT INTO v_feature_synonym_id feature_synonym_id
- FROM feature_synonym
- WHERE feature_id=v_feature_id AND
- synonym_id=v_synonym_id AND
- pub_id=v_pub_id;
- IF NOT FOUND THEN
- INSERT INTO feature_synonym
- ( feature_id,
- synonym_id,
- pub_id,
- is_current,
- is_internal)
- VALUES
- ( v_feature_id,
- v_synonym_id,
- v_pub_id,
- v_is_current,
- v_is_internal);
- v_feature_synonym_id = currval(''feature_synonym_feature_synonym_id_seq'');
- ELSE
- UPDATE feature_synonym
- SET is_current=v_is_current, is_internal=v_is_internal
- WHERE feature_synonym_id=v_feature_synonym_id;
- END IF;
- RETURN v_feature_synonym_id;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION subsequence(INT,INT,INT,INT)
- RETURNS TEXT AS
- 'SELECT
- CASE WHEN $4<0
- THEN reverse_complement(substring(srcf.residues,$2+1,($3-$2)))
- ELSE substring(residues,$2+1,($3-$2))
- END AS residues
- FROM feature AS srcf
- WHERE
- srcf.feature_id=$1'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION subsequence_by_featureloc(INT)
- RETURNS TEXT AS
- 'SELECT
- CASE WHEN strand<0
- THEN reverse_complement(substring(srcf.residues,fmin+1,(fmax-fmin)))
- ELSE substring(srcf.residues,fmin+1,(fmax-fmin))
- END AS residues
- FROM feature AS srcf
- INNER JOIN featureloc ON (srcf.feature_id=featureloc.srcfeature_id)
- WHERE
- featureloc_id=$1'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION subsequence_by_feature(INT,INT,INT)
- RETURNS TEXT AS
- 'SELECT
- CASE WHEN strand<0
- THEN reverse_complement(substring(srcf.residues,fmin+1,(fmax-fmin)))
- ELSE substring(srcf.residues,fmin+1,(fmax-fmin))
- END AS residues
- FROM feature AS srcf
- INNER JOIN featureloc ON (srcf.feature_id=featureloc.srcfeature_id)
- WHERE
- featureloc.feature_id=$1 AND
- featureloc.rank=$2 AND
- featureloc.locgroup=$3'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION subsequence_by_feature(INT)
- RETURNS TEXT AS 'SELECT subsequence_by_feature($1,0,0)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION subsequence_by_subfeatures(INT,INT,INT,INT)
- RETURNS TEXT AS '
- DECLARE v_feature_id ALIAS FOR $1;
- DECLARE v_rtype_id ALIAS FOR $2;
- DECLARE v_rank ALIAS FOR $3;
- DECLARE v_locgroup ALIAS FOR $4;
- DECLARE subseq TEXT;
- DECLARE seqrow RECORD;
- BEGIN
- subseq = '''';
- FOR seqrow IN
- SELECT
- CASE WHEN strand<0
- THEN reverse_complement(substring(srcf.residues,fmin+1,(fmax-fmin)))
- ELSE substring(srcf.residues,fmin+1,(fmax-fmin))
- END AS residues
- FROM feature AS srcf
- INNER JOIN featureloc ON (srcf.feature_id=featureloc.srcfeature_id)
- INNER JOIN feature_relationship AS fr
- ON (fr.subject_id=featureloc.feature_id)
- WHERE
- fr.object_id=v_feature_id AND
- fr.type_id=v_rtype_id AND
- featureloc.rank=v_rank AND
- featureloc.locgroup=v_locgroup
- ORDER BY fr.rank
- LOOP
- subseq = subseq || seqrow.residues;
- END LOOP;
- RETURN subseq;
- END
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION subsequence_by_subfeatures(INT,INT)
- RETURNS TEXT AS
- 'SELECT subsequence_by_subfeatures($1,$2,0,0)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION subsequence_by_subfeatures(INT)
- RETURNS TEXT AS
- '
- SELECT subsequence_by_subfeatures($1,get_feature_relationship_type_id(''part_of''),0,0)
- '
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION subsequence_by_typed_subfeatures(INT,INT,INT,INT)
- RETURNS TEXT AS '
- DECLARE v_feature_id ALIAS FOR $1;
- DECLARE v_ftype_id ALIAS FOR $2;
- DECLARE v_rank ALIAS FOR $3;
- DECLARE v_locgroup ALIAS FOR $4;
- DECLARE subseq TEXT;
- DECLARE seqrow RECORD;
- BEGIN
- subseq = '''';
- FOR seqrow IN
- SELECT
- CASE WHEN strand<0
- THEN reverse_complement(substring(srcf.residues,fmin+1,(fmax-fmin)))
- ELSE substring(srcf.residues,fmin+1,(fmax-fmin))
- END AS residues
- FROM feature AS srcf
- INNER JOIN featureloc ON (srcf.feature_id=featureloc.srcfeature_id)
- INNER JOIN feature AS subf ON (subf.feature_id=featureloc.feature_id)
- INNER JOIN feature_relationship AS fr ON (fr.subject_id=subf.feature_id)
- WHERE
- fr.object_id=v_feature_id AND
- subf.type_id=v_ftype_id AND
- featureloc.rank=v_rank AND
- featureloc.locgroup=v_locgroup
- ORDER BY fr.rank
- LOOP
- subseq = subseq || seqrow.residues;
- END LOOP;
- RETURN subseq;
- END
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION subsequence_by_typed_subfeatures(INT,INT)
- RETURNS TEXT AS
- 'SELECT subsequence_by_typed_subfeatures($1,$2,0,0)'
- LANGUAGE 'sql';
-
- CREATE OR REPLACE FUNCTION feature_subalignments(integer) RETURNS SETOF featureloc AS '
- DECLARE
- return_data featureloc%ROWTYPE;
- f_id ALIAS FOR $1;
- feature_data feature%rowtype;
- featureloc_data featureloc%rowtype;
- s text;
- fmin integer;
- slen integer;
- BEGIN
- --RAISE NOTICE ''feature_id is %'', featureloc_data.feature_id;
- SELECT INTO feature_data * FROM feature WHERE feature_id = f_id;
- FOR featureloc_data IN SELECT * FROM featureloc WHERE feature_id = f_id LOOP
- --RAISE NOTICE ''fmin is %'', featureloc_data.fmin;
- return_data.feature_id = f_id;
- return_data.srcfeature_id = featureloc_data.srcfeature_id;
- return_data.is_fmin_partial = featureloc_data.is_fmin_partial;
- return_data.is_fmax_partial = featureloc_data.is_fmax_partial;
- return_data.strand = featureloc_data.strand;
- return_data.phase = featureloc_data.phase;
- return_data.residue_info = featureloc_data.residue_info;
- return_data.locgroup = featureloc_data.locgroup;
- return_data.rank = featureloc_data.rank;
- s = feature_data.residues;
- fmin = featureloc_data.fmin;
- slen = char_length(s);
- WHILE char_length(s) LOOP
- --RAISE NOTICE ''residues is %'', s;
- --trim off leading match
- s = trim(leading ''|ATCGNatcgn'' from s);
- --if leading match detected
- IF slen > char_length(s) THEN
- return_data.fmin = fmin;
- return_data.fmax = featureloc_data.fmin + (slen - char_length(s));
- --if the string started with a match, return it,
- --otherwise, trim the gaps first (ie do not return this iteration)
- RETURN NEXT return_data;
- END IF;
- --trim off leading gap
- s = trim(leading ''-'' from s);
- fmin = featureloc_data.fmin + (slen - char_length(s));
- END LOOP;
- END LOOP;
- RETURN;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE SCHEMA frange;
- SET search_path = frange,public,pg_catalog;
- CREATE TABLE featuregroup (
- featuregroup_id serial not null,
- primary key (featuregroup_id),
- subject_id int not null,
- foreign key (subject_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- group_id int not null,
- foreign key (group_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- srcfeature_id int null,
- foreign key (srcfeature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- fmin int null,
- fmax int null,
- strand int null,
- is_root int not null default 0,
- constraint featuregroup_c1 unique (subject_id,object_id,group_id,srcfeature_id,fmin,fmax,strand)
- );
- CREATE INDEX featuregroup_idx1 ON featuregroup (subject_id);
- CREATE INDEX featuregroup_idx2 ON featuregroup (object_id);
- CREATE INDEX featuregroup_idx3 ON featuregroup (group_id);
- CREATE INDEX featuregroup_idx4 ON featuregroup (srcfeature_id);
- CREATE INDEX featuregroup_idx5 ON featuregroup (strand);
- CREATE INDEX featuregroup_idx6 ON featuregroup (is_root);
- CREATE OR REPLACE FUNCTION groupoverlaps(int4, int4, varchar) RETURNS setof featuregroup AS '
- SELECT g2.*
- FROM featuregroup g1,
- featuregroup g2
- WHERE g1.is_root = 1
- AND ( g1.srcfeature_id = g2.srcfeature_id OR g2.srcfeature_id IS NULL )
- AND g1.group_id = g2.group_id
- AND g1.srcfeature_id = (SELECT feature_id FROM feature WHERE uniquename = $3)
- AND boxquery($1, $2) @ boxrange(g1.fmin,g2.fmax)
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION groupcontains(int4, int4, varchar) RETURNS setof featuregroup AS '
- SELECT *
- FROM groupoverlaps($1,$2,$3)
- WHERE fmin <= $1 AND fmax >= $2
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION groupinside(int4, int4, varchar) RETURNS setof featuregroup AS '
- SELECT *
- FROM groupoverlaps($1,$2,$3)
- WHERE fmin >= $1 AND fmax <= $2
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION groupidentical(int4, int4, varchar) RETURNS setof featuregroup AS '
- SELECT *
- FROM groupoverlaps($1,$2,$3)
- WHERE fmin = $1 AND fmax = $2
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION groupoverlaps(int4, int4) RETURNS setof featuregroup AS '
- SELECT *
- FROM featuregroup
- WHERE is_root = 1
- AND boxquery($1, $2) @ boxrange(fmin,fmax)
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION groupoverlaps(_int4, _int4, _varchar) RETURNS setof featuregroup AS '
- DECLARE
- mins alias for $1;
- maxs alias for $2;
- srcs alias for $3;
- f featuregroup%ROWTYPE;
- i int;
- s int;
- BEGIN
- i := 1;
- FOR i in array_lower( mins, 1 ) .. array_upper( mins, 1 ) LOOP
- SELECT INTO s feature_id FROM feature WHERE uniquename = srcs[i];
- FOR f IN
- SELECT *
- FROM featuregroup WHERE group_id IN (
- SELECT group_id FROM featuregroup
- WHERE (srcfeature_id = s OR srcfeature_id IS NULL)
- AND group_id IN (
- SELECT group_id FROM groupoverlaps( mins[i], maxs[i] )
- WHERE srcfeature_id = s
- )
- )
- LOOP
- RETURN NEXT f;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION groupcontains(_int4, _int4, _varchar) RETURNS setof featuregroup AS '
- DECLARE
- mins alias for $1;
- maxs alias for $2;
- srcs alias for $3;
- f featuregroup%ROWTYPE;
- i int;
- s int;
- BEGIN
- i := 1;
- FOR i in array_lower( mins, 1 ) .. array_upper( mins, 1 ) LOOP
- SELECT INTO s feature_id FROM feature WHERE uniquename = srcs[i];
- FOR f IN
- SELECT *
- FROM featuregroup WHERE group_id IN (
- SELECT group_id FROM featuregroup
- WHERE (srcfeature_id = s OR srcfeature_id IS NULL)
- AND fmin <= mins[i]
- AND fmax >= maxs[i]
- AND group_id IN (
- SELECT group_id FROM groupoverlaps( mins[i], maxs[i] )
- WHERE srcfeature_id = s
- )
- )
- LOOP
- RETURN NEXT f;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION groupinside(_int4, _int4, _varchar) RETURNS setof featuregroup AS '
- DECLARE
- mins alias for $1;
- maxs alias for $2;
- srcs alias for $3;
- f featuregroup%ROWTYPE;
- i int;
- s int;
- BEGIN
- i := 1;
- FOR i in array_lower( mins, 1 ) .. array_upper( mins, 1 ) LOOP
- SELECT INTO s feature_id FROM feature WHERE uniquename = srcs[i];
- FOR f IN
- SELECT *
- FROM featuregroup WHERE group_id IN (
- SELECT group_id FROM featuregroup
- WHERE (srcfeature_id = s OR srcfeature_id IS NULL)
- AND fmin >= mins[i]
- AND fmax <= maxs[i]
- AND group_id IN (
- SELECT group_id FROM groupoverlaps( mins[i], maxs[i] )
- WHERE srcfeature_id = s
- )
- )
- LOOP
- RETURN NEXT f;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION groupidentical(_int4, _int4, _varchar) RETURNS setof featuregroup AS '
- DECLARE
- mins alias for $1;
- maxs alias for $2;
- srcs alias for $3;
- f featuregroup%ROWTYPE;
- i int;
- s int;
- BEGIN
- i := 1;
- FOR i in array_lower( mins, 1 ) .. array_upper( mins, 1 ) LOOP
- SELECT INTO s feature_id FROM feature WHERE uniquename = srcs[i];
- FOR f IN
- SELECT *
- FROM featuregroup WHERE group_id IN (
- SELECT group_id FROM featuregroup
- WHERE (srcfeature_id = s OR srcfeature_id IS NULL)
- AND fmin = mins[i]
- AND fmax = maxs[i]
- AND group_id IN (
- SELECT group_id FROM groupoverlaps( mins[i], maxs[i] )
- WHERE srcfeature_id = s
- )
- )
- LOOP
- RETURN NEXT f;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE INDEX bingroup_boxrange ON featuregroup USING RTREE (boxrange(fmin, fmax)) WHERE is_root = 1;
- CREATE OR REPLACE FUNCTION _fill_featuregroup(INTEGER, INTEGER) RETURNS INTEGER AS '
- DECLARE
- groupid alias for $1;
- parentid alias for $2;
- g featuregroup%ROWTYPE;
- BEGIN
- FOR g IN
- SELECT DISTINCT 0, fr.subject_id, fr.object_id, groupid, fl.srcfeature_id, fl.fmin, fl.fmax, fl.strand, 0
- FROM feature_relationship AS fr,
- featureloc AS fl
- WHERE fr.object_id = parentid
- AND fr.subject_id = fl.feature_id
- LOOP
- INSERT INTO featuregroup
- (subject_id, object_id, group_id, srcfeature_id, fmin, fmax, strand, is_root)
- VALUES
- (g.subject_id, g.object_id, g.group_id, g.srcfeature_id, g.fmin, g.fmax, g.strand, 0);
- PERFORM _fill_featuregroup(groupid,g.subject_id);
- END LOOP;
- RETURN 1;
- END;
- ' LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION fill_featuregroup() RETURNS INTEGER AS '
- DECLARE
- p featuregroup%ROWTYPE;
- l featureloc%ROWTYPE;
- isa int;
- c int;
- BEGIN
- TRUNCATE featuregroup;
- SELECT INTO isa cvterm_id FROM cvterm WHERE (name = ''isa'' OR name = ''is_a'');
- -- Recursion is the biggest performance killer for this function.
- -- We can dodge the first round of recursion using the "fr1 / GROUP BY" approach.
- -- Luckily, most feature graphs are only 2 levels deep, so most recursion is
- -- avoidable.
- RAISE NOTICE ''Loading root and singleton features.'';
- FOR p IN
- SELECT DISTINCT 0, f.feature_id, f.feature_id, f.feature_id, srcfeature_id, fmin, fmax, strand, 1
- FROM feature AS f
- LEFT JOIN feature_relationship ON (f.feature_id = object_id)
- LEFT JOIN featureloc ON (f.feature_id = featureloc.feature_id)
- WHERE f.feature_id NOT IN ( SELECT subject_id FROM feature_relationship )
- AND srcfeature_id IS NOT NULL
- LOOP
- INSERT INTO featuregroup
- (subject_id, object_id, group_id, srcfeature_id, fmin, fmax, strand, is_root)
- VALUES
- (p.object_id, p.object_id, p.object_id, p.srcfeature_id, p.fmin, p.fmax, p.strand, 1);
- END LOOP;
- RAISE NOTICE ''Loading child features. If your database contains grandchild'';
- RAISE NOTICE ''features, they will be loaded recursively and may take a long time.'';
- FOR p IN
- SELECT DISTINCT 0, fr0.subject_id, fr0.object_id, fr0.object_id, fl.srcfeature_id, fl.fmin, fl.fmax, fl.strand, count(fr1.subject_id)
- FROM feature_relationship AS fr0
- LEFT JOIN feature_relationship AS fr1 ON ( fr0.subject_id = fr1.object_id),
- featureloc AS fl
- WHERE fr0.subject_id = fl.feature_id
- AND fr0.object_id IN (
- SELECT f.feature_id
- FROM feature AS f
- LEFT JOIN feature_relationship ON (f.feature_id = object_id)
- LEFT JOIN featureloc ON (f.feature_id = featureloc.feature_id)
- WHERE f.feature_id NOT IN ( SELECT subject_id FROM feature_relationship )
- AND f.feature_id IN ( SELECT object_id FROM feature_relationship )
- AND srcfeature_id IS NOT NULL
- )
- GROUP BY fr0.subject_id, fr0.object_id, fl.srcfeature_id, fl.fmin, fl.fmax, fl.strand
- LOOP
- INSERT INTO featuregroup
- (subject_id, object_id, group_id, srcfeature_id, fmin, fmax, strand, is_root)
- VALUES
- (p.subject_id, p.object_id, p.object_id, p.srcfeature_id, p.fmin, p.fmax, p.strand, 0);
- IF ( p.is_root > 0 ) THEN
- PERFORM _fill_featuregroup(p.subject_id,p.subject_id);
- END IF;
- END LOOP;
- RETURN 1;
- END;
- ' LANGUAGE 'plpgsql';
- SET search_path = public,pg_catalog;
- CREATE TYPE soi_type AS (
- type_id INT,
- subject_id INT,
- object_id INT
- );
- CREATE OR REPLACE FUNCTION _fill_cvtermpath4soinode(INTEGER, INTEGER, INTEGER, INTEGER, INTEGER) RETURNS INTEGER AS
- '
- DECLARE
- origin alias for $1;
- child_id alias for $2;
- cvid alias for $3;
- typeid alias for $4;
- depth alias for $5;
- cterm soi_type%ROWTYPE;
- exist_c int;
- BEGIN
- --RAISE NOTICE ''depth=% o=%, root=%, cv=%, t=%'', depth,origin,child_id,cvid,typeid;
- SELECT INTO exist_c count(*) FROM cvtermpath WHERE cv_id = cvid AND object_id = origin AND subject_id = child_id AND pathdistance = depth;
- --- longest path
- IF (exist_c > 0) THEN
- UPDATE cvtermpath SET pathdistance = depth WHERE cv_id = cvid AND object_id = origin AND subject_id = child_id;
- ELSE
- INSERT INTO cvtermpath (object_id, subject_id, cv_id, type_id, pathdistance) VALUES(origin, child_id, cvid, typeid, depth);
- END IF;
- FOR cterm IN SELECT tmp_type AS type_id, subject_id FROM tmpcvtr WHERE object_id = child_id LOOP
- PERFORM _fill_cvtermpath4soinode(origin, cterm.subject_id, cvid, cterm.type_id, depth+1);
- END LOOP;
- RETURN 1;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION _fill_cvtermpath4soi(INTEGER, INTEGER) RETURNS INTEGER AS
- '
- DECLARE
- rootid alias for $1;
- cvid alias for $2;
- ttype int;
- cterm soi_type%ROWTYPE;
- BEGIN
-
- SELECT INTO ttype cvterm_id FROM cvterm WHERE name = ''isa'';
- --RAISE NOTICE ''got ttype %'',ttype;
- PERFORM _fill_cvtermpath4soinode(rootid, rootid, cvid, ttype, 0);
- FOR cterm IN SELECT tmp_type AS type_id, subject_id FROM tmpcvtr WHERE object_id = rootid LOOP
- PERFORM _fill_cvtermpath4soi(cterm.subject_id, cvid);
- END LOOP;
- RETURN 1;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION create_soi() RETURNS INTEGER AS
- '
- DECLARE
- parent soi_type%ROWTYPE;
- isa_id cvterm.cvterm_id%TYPE;
- soi_term TEXT := ''soi'';
- soi_def TEXT := ''ontology of SO feature instantiated in database'';
- soi_cvid INTEGER;
- soiterm_id INTEGER;
- pcount INTEGER;
- count INTEGER := 0;
- cquery TEXT;
- BEGIN
- SELECT INTO isa_id cvterm_id FROM cvterm WHERE name = ''isa'';
- SELECT INTO soi_cvid cv_id FROM cv WHERE name = soi_term;
- IF (soi_cvid > 0) THEN
- DELETE FROM cvtermpath WHERE cv_id = soi_cvid;
- DELETE FROM cvterm WHERE cv_id = soi_cvid;
- ELSE
- INSERT INTO cv (name, definition) VALUES(soi_term, soi_def);
- END IF;
- SELECT INTO soi_cvid cv_id FROM cv WHERE name = soi_term;
- INSERT INTO cvterm (name, cv_id) VALUES(soi_term, soi_cvid);
- SELECT INTO soiterm_id cvterm_id FROM cvterm WHERE name = soi_term;
- CREATE TEMP TABLE tmpcvtr (tmp_type INT, type_id INT, subject_id INT, object_id INT);
- CREATE UNIQUE INDEX u_tmpcvtr ON tmpcvtr(subject_id, object_id);
- INSERT INTO tmpcvtr (tmp_type, type_id, subject_id, object_id)
- SELECT DISTINCT isa_id, soiterm_id, f.type_id, soiterm_id FROM feature f, cvterm t
- WHERE f.type_id = t.cvterm_id AND f.type_id > 0;
- EXECUTE ''select * from tmpcvtr where type_id = '' || soiterm_id || '';'';
- get diagnostics pcount = row_count;
- raise notice ''all types in feature %'',pcount;
- --- do it hard way, delete any child feature type from above (NOT IN clause did not work)
- FOR parent IN SELECT DISTINCT 0, t.cvterm_id, 0 FROM feature c, feature_relationship fr, cvterm t
- WHERE t.cvterm_id = c.type_id AND c.feature_id = fr.subject_id LOOP
- DELETE FROM tmpcvtr WHERE type_id = soiterm_id and object_id = soiterm_id
- AND subject_id = parent.subject_id;
- END LOOP;
- EXECUTE ''select * from tmpcvtr where type_id = '' || soiterm_id || '';'';
- get diagnostics pcount = row_count;
- raise notice ''all types in feature after delete child %'',pcount;
- --- create feature type relationship (store in tmpcvtr)
- CREATE TEMP TABLE tmproot (cv_id INTEGER not null, cvterm_id INTEGER not null, status INTEGER DEFAULT 0);
- cquery := ''SELECT * FROM tmproot tmp WHERE tmp.status = 0;'';
- ---temp use tmpcvtr to hold instantiated SO relationship for speed
- ---use soterm_id as type_id, will delete from tmpcvtr
- ---us tmproot for this as well
- INSERT INTO tmproot (cv_id, cvterm_id, status) SELECT DISTINCT soi_cvid, c.subject_id, 0 FROM tmpcvtr c
- WHERE c.object_id = soiterm_id;
- EXECUTE cquery;
- GET DIAGNOSTICS pcount = ROW_COUNT;
- WHILE (pcount > 0) LOOP
- RAISE NOTICE ''num child temp (to be inserted) in tmpcvtr: %'',pcount;
- INSERT INTO tmpcvtr (tmp_type, type_id, subject_id, object_id)
- SELECT DISTINCT fr.type_id, soiterm_id, c.type_id, p.cvterm_id FROM feature c, feature_relationship fr,
- tmproot p, feature pf, cvterm t WHERE c.feature_id = fr.subject_id AND fr.object_id = pf.feature_id
- AND p.cvterm_id = pf.type_id AND t.cvterm_id = c.type_id AND p.status = 0;
- UPDATE tmproot SET status = 1 WHERE status = 0;
- INSERT INTO tmproot (cv_id, cvterm_id, status)
- SELECT DISTINCT soi_cvid, c.type_id, 0 FROM feature c, feature_relationship fr,
- tmproot tmp, feature p, cvterm t WHERE c.feature_id = fr.subject_id AND fr.object_id = p.feature_id
- AND tmp.cvterm_id = p.type_id AND t.cvterm_id = c.type_id AND tmp.status = 1;
- UPDATE tmproot SET status = 2 WHERE status = 1;
- EXECUTE cquery;
- GET DIAGNOSTICS pcount = ROW_COUNT;
- END LOOP;
- DELETE FROM tmproot;
- ---get transitive closure for soi
- PERFORM _fill_cvtermpath4soi(soiterm_id, soi_cvid);
- DROP TABLE tmpcvtr;
- DROP TABLE tmproot;
- RETURN 1;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE TYPE feature_by_fx_type AS (
- feature_id INTEGER,
- depth INT
- );
- CREATE OR REPLACE FUNCTION get_sub_feature_ids(text) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- sql alias for $1;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- FOR myrc IN EXECUTE sql LOOP
- FOR myrc2 IN SELECT * FROM get_sub_feature_ids(myrc.feature_id) LOOP
- RETURN NEXT myrc2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_up_feature_ids(text) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- sql alias for $1;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- FOR myrc IN EXECUTE sql LOOP
- FOR myrc2 IN SELECT * FROM get_up_feature_ids(myrc.feature_id) LOOP
- RETURN NEXT myrc2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_feature_ids(text) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- sql alias for $1;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- myrc3 feature_by_fx_type%ROWTYPE;
- BEGIN
- FOR myrc IN EXECUTE sql LOOP
- RETURN NEXT myrc;
- FOR myrc2 IN SELECT * FROM get_up_feature_ids(myrc.feature_id) LOOP
- RETURN NEXT myrc2;
- END LOOP;
- FOR myrc3 IN SELECT * FROM get_sub_feature_ids(myrc.feature_id) LOOP
- RETURN NEXT myrc3;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_sub_feature_ids(integer) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- root alias for $1;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- FOR myrc IN SELECT DISTINCT subject_id AS feature_id FROM feature_relationship WHERE object_id = root LOOP
- RETURN NEXT myrc;
- FOR myrc2 IN SELECT * FROM get_sub_feature_ids(myrc.feature_id) LOOP
- RETURN NEXT myrc2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_up_feature_ids(integer) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- leaf alias for $1;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- FOR myrc IN SELECT DISTINCT object_id AS feature_id FROM feature_relationship WHERE subject_id = leaf LOOP
- RETURN NEXT myrc;
- FOR myrc2 IN SELECT * FROM get_up_feature_ids(myrc.feature_id) LOOP
- RETURN NEXT myrc2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_sub_feature_ids(integer, integer) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- root alias for $1;
- depth alias for $2;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- FOR myrc IN SELECT DISTINCT subject_id AS feature_id, depth FROM feature_relationship WHERE object_id = root LOOP
- RETURN NEXT myrc;
- FOR myrc2 IN SELECT * FROM get_sub_feature_ids(myrc.feature_id,depth+1) LOOP
- RETURN NEXT myrc2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_up_feature_ids(integer, integer) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- leaf alias for $1;
- depth alias for $2;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- FOR myrc IN SELECT DISTINCT object_id AS feature_id, depth FROM feature_relationship WHERE subject_id = leaf LOOP
- RETURN NEXT myrc;
- FOR myrc2 IN SELECT * FROM get_up_feature_ids(myrc.feature_id,depth+1) LOOP
- RETURN NEXT myrc2;
- END LOOP;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_sub_feature_ids_by_type_src(cvterm.name%TYPE,feature.uniquename%TYPE,char(1)) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- gtype alias for $1;
- src alias for $2;
- is_an alias for $3;
- query text;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- query := ''SELECT DISTINCT f.feature_id FROM feature f INNER join cvterm t ON (f.type_id = t.cvterm_id)
- INNER join featureloc fl
- ON (f.feature_id = fl.feature_id) INNER join feature src ON (src.feature_id = fl.srcfeature_id)
- WHERE t.name = '' || quote_literal(gtype) || '' AND src.uniquename = '' || quote_literal(src)
- || '' AND f.is_analysis = '' || quote_literal(is_an) || '';'';
-
- IF (STRPOS(gtype, ''%'') > 0) THEN
- query := ''SELECT DISTINCT f.feature_id FROM feature f INNER join cvterm t ON (f.type_id = t.cvterm_id)
- INNER join featureloc fl
- ON (f.feature_id = fl.feature_id) INNER join feature src ON (src.feature_id = fl.srcfeature_id)
- WHERE t.name like '' || quote_literal(gtype) || '' AND src.uniquename = '' || quote_literal(src)
- || '' AND f.is_analysis = '' || quote_literal(is_an) || '';'';
- END IF;
- FOR myrc IN SELECT * FROM get_sub_feature_ids(query) LOOP
- RETURN NEXT myrc;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_feature_ids_by_type(cvterm.name%TYPE, char(1)) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- gtype alias for $1;
- is_an alias for $2;
- query TEXT;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- query := ''SELECT DISTINCT f.feature_id
- FROM feature f, cvterm t WHERE t.cvterm_id = f.type_id AND t.name = '' || quote_literal(gtype) ||
- '' AND f.is_analysis = '' || quote_literal(is_an) || '';'';
- IF (STRPOS(gtype, ''%'') > 0) THEN
- query := ''SELECT DISTINCT f.feature_id
- FROM feature f, cvterm t WHERE t.cvterm_id = f.type_id AND t.name like ''
- || quote_literal(gtype) || '' AND f.is_analysis = '' || quote_literal(is_an) || '';'';
- END IF;
- FOR myrc IN SELECT * FROM get_feature_ids(query) LOOP
- RETURN NEXT myrc;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_feature_ids_by_type_src(cvterm.name%TYPE, feature.uniquename%TYPE, char(1)) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- gtype alias for $1;
- src alias for $2;
- is_an alias for $3;
- query TEXT;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- query := ''SELECT DISTINCT f.feature_id
- FROM feature f INNER join cvterm t ON (f.type_id = t.cvterm_id) INNER join featureloc fl
- ON (f.feature_id = fl.feature_id) INNER join feature src ON (src.feature_id = fl.srcfeature_id)
- WHERE t.name = '' || quote_literal(gtype) || '' AND src.uniquename = '' || quote_literal(src)
- || '' AND f.is_analysis = '' || quote_literal(is_an) || '';'';
-
- IF (STRPOS(gtype, ''%'') > 0) THEN
- query := ''SELECT DISTINCT f.feature_id
- FROM feature f INNER join cvterm t ON (f.type_id = t.cvterm_id) INNER join featureloc fl
- ON (f.feature_id = fl.feature_id) INNER join feature src ON (src.feature_id = fl.srcfeature_id)
- WHERE t.name like '' || quote_literal(gtype) || '' AND src.uniquename = '' || quote_literal(src)
- || '' AND f.is_analysis = '' || quote_literal(is_an) || '';'';
- END IF;
- FOR myrc IN SELECT * FROM get_feature_ids(query) LOOP
- RETURN NEXT myrc;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_feature_ids_by_type_name(cvterm.name%TYPE, feature.uniquename%TYPE, char(1)) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- gtype alias for $1;
- name alias for $2;
- is_an alias for $3;
- query TEXT;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- query := ''SELECT DISTINCT f.feature_id
- FROM feature f INNER join cvterm t ON (f.type_id = t.cvterm_id)
- WHERE t.name = '' || quote_literal(gtype) || '' AND (f.uniquename = '' || quote_literal(name)
- || '' OR f.name = '' || quote_literal(name) || '') AND f.is_analysis = '' || quote_literal(is_an) || '';'';
-
- IF (STRPOS(name, ''%'') > 0) THEN
- query := ''SELECT DISTINCT f.feature_id
- FROM feature f INNER join cvterm t ON (f.type_id = t.cvterm_id)
- WHERE t.name = '' || quote_literal(gtype) || '' AND (f.uniquename like '' || quote_literal(name)
- || '' OR f.name like '' || quote_literal(name) || '') AND f.is_analysis = '' || quote_literal(is_an) || '';'';
- END IF;
- FOR myrc IN SELECT * FROM get_feature_ids(query) LOOP
- RETURN NEXT myrc;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_feature_ids_by_ont(cv.name%TYPE,cvterm.name%TYPE) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- aspect alias for $1;
- term alias for $2;
- query TEXT;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- query := ''SELECT DISTINCT fcvt.feature_id
- FROM feature_cvterm fcvt, cv, cvterm t WHERE cv.cv_id = t.cv_id AND
- t.cvterm_id = fcvt.cvterm_id AND cv.name = '' || quote_literal(aspect) ||
- '' AND t.name = '' || quote_literal(term) || '';'';
- IF (STRPOS(term, ''%'') > 0) THEN
- query := ''SELECT DISTINCT fcvt.feature_id
- FROM feature_cvterm fcvt, cv, cvterm t WHERE cv.cv_id = t.cv_id AND
- t.cvterm_id = fcvt.cvterm_id AND cv.name = '' || quote_literal(aspect) ||
- '' AND t.name like '' || quote_literal(term) || '';'';
- END IF;
- FOR myrc IN SELECT * FROM get_feature_ids(query) LOOP
- RETURN NEXT myrc;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_feature_ids_by_ont_root(cv.name%TYPE,cvterm.name%TYPE) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- aspect alias for $1;
- term alias for $2;
- query TEXT;
- subquery TEXT;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- subquery := ''SELECT t.cvterm_id FROM cv, cvterm t WHERE cv.cv_id = t.cv_id
- AND cv.name = '' || quote_literal(aspect) || '' AND t.name = '' || quote_literal(term) || '';'';
- IF (STRPOS(term, ''%'') > 0) THEN
- subquery := ''SELECT t.cvterm_id FROM cv, cvterm t WHERE cv.cv_id = t.cv_id
- AND cv.name = '' || quote_literal(aspect) || '' AND t.name like '' || quote_literal(term) || '';'';
- END IF;
- query := ''SELECT DISTINCT fcvt.feature_id
- FROM feature_cvterm fcvt INNER JOIN (SELECT cvterm_id FROM get_it_sub_cvterm_ids('' || quote_literal(subquery) || '')) AS ont ON (fcvt.cvterm_id = ont.cvterm_id);'';
- FOR myrc IN SELECT * FROM get_feature_ids(query) LOOP
- RETURN NEXT myrc;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_feature_ids_by_property(cvterm.name%TYPE,varchar) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- p_type alias for $1;
- p_val alias for $2;
- query TEXT;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- query := ''SELECT DISTINCT fprop.feature_id
- FROM featureprop fprop, cvterm t WHERE t.cvterm_id = fprop.type_id AND t.name = '' ||
- quote_literal(p_type) || '' AND fprop.value = '' || quote_literal(p_val) || '';'';
- IF (STRPOS(p_val, ''%'') > 0) THEN
- query := ''SELECT DISTINCT fprop.feature_id
- FROM featureprop fprop, cvterm t WHERE t.cvterm_id = fprop.type_id AND t.name = '' ||
- quote_literal(p_type) || '' AND fprop.value like '' || quote_literal(p_val) || '';'';
- END IF;
- FOR myrc IN SELECT * FROM get_feature_ids(query) LOOP
- RETURN NEXT myrc;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_feature_ids_by_propval(varchar) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- p_val alias for $1;
- query TEXT;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type%ROWTYPE;
- BEGIN
- query := ''SELECT DISTINCT fprop.feature_id
- FROM featureprop fprop WHERE fprop.value = '' || quote_literal(p_val) || '';'';
- IF (STRPOS(p_val, ''%'') > 0) THEN
- query := ''SELECT DISTINCT fprop.feature_id
- FROM featureprop fprop WHERE fprop.value like '' || quote_literal(p_val) || '';'';
- END IF;
- FOR myrc IN SELECT * FROM get_feature_ids(query) LOOP
- RETURN NEXT myrc;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION get_feature_ids_by_child_count(cvterm.name%TYPE, cvterm.name%TYPE, INTEGER, varchar, char(1)) RETURNS SETOF feature_by_fx_type AS
- '
- DECLARE
- ptype alias for $1;
- ctype alias for $2;
- ccount alias for $3;
- operator alias for $4;
- is_an alias for $5;
- query TEXT;
- myrc feature_by_fx_type%ROWTYPE;
- myrc2 feature_by_fx_type %ROWTYPE;
- BEGIN
- query := ''SELECT DISTINCT f.feature_id
- FROM feature f INNER join (select count(*) as c, p.feature_id FROM feature p
- INNER join cvterm pt ON (p.type_id = pt.cvterm_id) INNER join feature_relationship fr
- ON (p.feature_id = fr.object_id) INNER join feature c ON (c.feature_id = fr.subject_id)
- INNER join cvterm ct ON (c.type_id = ct.cvterm_id)
- WHERE pt.name = '' || quote_literal(ptype) || '' AND ct.name = '' || quote_literal(ctype)
- || '' AND p.is_analysis = '' || quote_literal(is_an) || '' group by p.feature_id) as cq
- ON (cq.feature_id = f.feature_id) WHERE cq.c '' || operator || ccount || '';'';
- ---RAISE NOTICE ''%'', query;
- FOR myrc IN SELECT * FROM get_feature_ids(query) LOOP
- RETURN NEXT myrc;
- END LOOP;
- RETURN;
- END;
- '
- LANGUAGE 'plpgsql';
- create table analysis (
- analysis_id serial not null,
- primary key (analysis_id),
- name varchar(255),
- description text,
- program varchar(255) not null,
- programversion varchar(255) not null,
- algorithm varchar(255),
- sourcename varchar(255),
- sourceversion varchar(255),
- sourceuri text,
- timeexecuted timestamp not null default current_timestamp,
- constraint analysis_c1 unique (program,programversion,sourcename)
- );
- COMMENT ON TABLE analysis IS 'An analysis is a particular type of a
- computational analysis; it may be a blast of one sequence against
- another, or an all by all blast, or a different kind of analysis
- altogether. It is a single unit of computation.';
- COMMENT ON COLUMN analysis.name IS 'A way of grouping analyses. This
- should be a handy short identifier that can help people find an
- analysis they want. For instance "tRNAscan", "cDNA", "FlyPep",
- "SwissProt", and it should not be assumed to be unique. For instance, there may be lots of separate analyses done against a cDNA database.';
- COMMENT ON COLUMN analysis.program IS 'Program name, e.g. blastx, blastp, sim4, genscan.';
- COMMENT ON COLUMN analysis.programversion IS 'Version description, e.g. TBLASTX 2.0MP-WashU [09-Nov-2000].';
- COMMENT ON COLUMN analysis.algorithm IS 'Algorithm name, e.g. blast.';
- COMMENT ON COLUMN analysis.sourcename IS 'Source name, e.g. cDNA, SwissProt.';
- COMMENT ON COLUMN analysis.sourceuri IS 'This is an optional, permanent URL or URI for the source of the analysis. The idea is that someone could recreate the analysis directly by going to this URI and fetching the source data (e.g. the blast database, or the training model).';
- create table analysisprop (
- analysisprop_id serial not null,
- primary key (analysisprop_id),
- analysis_id int not null,
- foreign key (analysis_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text,
- rank int not null default 0,
- constraint analysisprop_c1 unique (analysis_id,type_id,rank)
- );
- create index analysisprop_idx1 on analysisprop (analysis_id);
- create index analysisprop_idx2 on analysisprop (type_id);
- create table analysisfeature (
- analysisfeature_id serial not null,
- primary key (analysisfeature_id),
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- analysis_id int not null,
- foreign key (analysis_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- rawscore double precision,
- normscore double precision,
- significance double precision,
- identity double precision,
- constraint analysisfeature_c1 unique (feature_id,analysis_id)
- );
- create index analysisfeature_idx1 on analysisfeature (feature_id);
- create index analysisfeature_idx2 on analysisfeature (analysis_id);
- COMMENT ON TABLE analysisfeature IS 'Computational analyses generate features (e.g. Genscan generates transcripts and exons; sim4 alignments generate similarity/match features). analysisfeatures are stored using the feature table from the sequence module. The analysisfeature table is used to decorate these features, with analysis specific attributes. A feature is an analysisfeature if and only if there is a corresponding entry in the analysisfeature table. analysisfeatures will have two or more featureloc entries,
- with rank indicating query/subject';
- COMMENT ON COLUMN analysisfeature.identity IS 'Percent identity between the locations compared. Note that these 4 metrics do not cover the full range of scores possible; it would be undesirable to list every score possible, as this should be kept extensible. instead, for non-standard scores, use the analysisprop table.';
- COMMENT ON COLUMN analysisfeature.significance IS 'This is some kind of expectation or probability metric, representing the probability that the analysis would appear randomly given the model. As such, any program or person querying this table can assume the following semantics:
- * 0 <= significance <= n, where n is a positive number, theoretically unbounded but unlikely to be more than 10
- * low numbers are better than high numbers.';
- COMMENT ON COLUMN analysisfeature.normscore IS 'This is the rawscore but
- semi-normalized. Complete normalization to allow comparison of
- features generated by different programs would be nice but too
- difficult. Instead the normalization should strive to enforce the
- following semantics: * normscores are floating point numbers >= 0,
- * high normscores are better than low one. For most programs, it would be sufficient to make the normscore the same as this rawscore, providing these semantics are satisfied.';
- COMMENT ON COLUMN analysisfeature.rawscore IS 'This is the native score generated by the program; for example, the bitscore generated by blast, sim4 or genscan scores. One should not assume that high is necessarily better than low.';
- CREATE TABLE analysisfeatureprop (
- analysisfeatureprop_id SERIAL PRIMARY KEY,
- analysisfeature_id INTEGER NOT NULL REFERENCES analysisfeature(analysisfeature_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
- type_id INTEGER NOT NULL REFERENCES cvterm(cvterm_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
- value TEXT,
- rank INTEGER NOT NULL,
- CONSTRAINT analysisfeature_id_type_id_rank UNIQUE(analysisfeature_id, type_id, rank)
- );
- CREATE OR REPLACE FUNCTION store_analysis (VARCHAR,VARCHAR,VARCHAR)
- RETURNS INT AS
- 'DECLARE
- v_program ALIAS FOR $1;
- v_programversion ALIAS FOR $2;
- v_sourcename ALIAS FOR $3;
- pkval INTEGER;
- BEGIN
- SELECT INTO pkval analysis_id
- FROM analysis
- WHERE program=v_program AND
- programversion=v_programversion AND
- sourcename=v_sourcename;
- IF NOT FOUND THEN
- INSERT INTO analysis
- (program,programversion,sourcename)
- VALUES
- (v_program,v_programversion,v_sourcename);
- RETURN currval(''analysis_analysis_id_seq'');
- END IF;
- RETURN pkval;
- END;
- ' LANGUAGE 'plpgsql';
-
- CREATE TABLE phenotype (
- phenotype_id SERIAL NOT NULL,
- primary key (phenotype_id),
- uniquename TEXT NOT NULL,
- observable_id INT,
- FOREIGN KEY (observable_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- attr_id INT,
- FOREIGN KEY (attr_id) REFERENCES cvterm (cvterm_id) ON DELETE SET NULL,
- value TEXT,
- cvalue_id INT,
- FOREIGN KEY (cvalue_id) REFERENCES cvterm (cvterm_id) ON DELETE SET NULL,
- assay_id INT,
- FOREIGN KEY (assay_id) REFERENCES cvterm (cvterm_id) ON DELETE SET NULL,
- CONSTRAINT phenotype_c1 UNIQUE (uniquename)
- );
- CREATE INDEX phenotype_idx1 ON phenotype (cvalue_id);
- CREATE INDEX phenotype_idx2 ON phenotype (observable_id);
- CREATE INDEX phenotype_idx3 ON phenotype (attr_id);
- COMMENT ON TABLE phenotype IS 'A phenotypic statement, or a single
- atomic phenotypic observation, is a controlled sentence describing
- observable effects of non-wild type function. E.g. Obs=eye, attribute=color, cvalue=red.';
- COMMENT ON COLUMN phenotype.observable_id IS 'The entity: e.g. anatomy_part, biological_process.';
- COMMENT ON COLUMN phenotype.attr_id IS 'Phenotypic attribute (quality, property, attribute, character) - drawn from PATO.';
- COMMENT ON COLUMN phenotype.value IS 'Value of attribute - unconstrained free text. Used only if cvalue_id is not appropriate.';
- COMMENT ON COLUMN phenotype.cvalue_id IS 'Phenotype attribute value (state).';
- COMMENT ON COLUMN phenotype.assay_id IS 'Evidence type.';
- CREATE TABLE phenotype_cvterm (
- phenotype_cvterm_id SERIAL NOT NULL,
- primary key (phenotype_cvterm_id),
- phenotype_id INT NOT NULL,
- FOREIGN KEY (phenotype_id) REFERENCES phenotype (phenotype_id) ON DELETE CASCADE,
- cvterm_id INT NOT NULL,
- FOREIGN KEY (cvterm_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- rank int not null default 0,
- CONSTRAINT phenotype_cvterm_c1 UNIQUE (phenotype_id, cvterm_id, rank)
- );
- CREATE INDEX phenotype_cvterm_idx1 ON phenotype_cvterm (phenotype_id);
- CREATE INDEX phenotype_cvterm_idx2 ON phenotype_cvterm (cvterm_id);
- COMMENT ON TABLE phenotype_cvterm IS NULL;
- CREATE TABLE feature_phenotype (
- feature_phenotype_id SERIAL NOT NULL,
- primary key (feature_phenotype_id),
- feature_id INT NOT NULL,
- FOREIGN KEY (feature_id) REFERENCES feature (feature_id) ON DELETE CASCADE,
- phenotype_id INT NOT NULL,
- FOREIGN KEY (phenotype_id) REFERENCES phenotype (phenotype_id) ON DELETE CASCADE,
- CONSTRAINT feature_phenotype_c1 UNIQUE (feature_id,phenotype_id)
- );
- CREATE INDEX feature_phenotype_idx1 ON feature_phenotype (feature_id);
- CREATE INDEX feature_phenotype_idx2 ON feature_phenotype (phenotype_id);
- COMMENT ON TABLE feature_phenotype IS NULL;
- create table genotype (
- genotype_id serial not null,
- primary key (genotype_id),
- name text,
- uniquename text not null,
- description varchar(255),
- constraint genotype_c1 unique (uniquename)
- );
- create index genotype_idx1 on genotype(uniquename);
- create index genotype_idx2 on genotype(name);
- COMMENT ON TABLE genotype IS 'Genetic context. A genotype is defined by a collection of features, mutations, balancers, deficiencies, haplotype blocks, or engineered constructs.';
- COMMENT ON COLUMN genotype.uniquename IS 'The unique name for a genotype;
- typically derived from the features making up the genotype.';
- COMMENT ON COLUMN genotype.name IS 'Optional alternative name for a genotype,
- for display purposes.';
- create table feature_genotype (
- feature_genotype_id serial not null,
- primary key (feature_genotype_id),
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade,
- genotype_id int not null,
- foreign key (genotype_id) references genotype (genotype_id) on delete cascade,
- chromosome_id int,
- foreign key (chromosome_id) references feature (feature_id) on delete set null,
- rank int not null,
- cgroup int not null,
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade,
- constraint feature_genotype_c1 unique (feature_id, genotype_id, cvterm_id, chromosome_id, rank, cgroup)
- );
- create index feature_genotype_idx1 on feature_genotype (feature_id);
- create index feature_genotype_idx2 on feature_genotype (genotype_id);
- COMMENT ON TABLE feature_genotype IS NULL;
- COMMENT ON COLUMN feature_genotype.rank IS 'rank can be used for
- n-ploid organisms or to preserve order.';
- COMMENT ON COLUMN feature_genotype.cgroup IS 'Spatially distinguishable
- group. group can be used for distinguishing the chromosomal groups,
- for example (RNAi products and so on can be treated as different
- groups, as they do not fall on a particular chromosome).';
- COMMENT ON COLUMN feature_genotype.chromosome_id IS 'A feature of SO type "chromosome".';
- create table environment (
- environment_id serial not NULL,
- primary key (environment_id),
- uniquename text not null,
- description text,
- constraint environment_c1 unique (uniquename)
- );
- create index environment_idx1 on environment(uniquename);
- COMMENT ON TABLE environment IS 'The environmental component of a phenotype description.';
- create table environment_cvterm (
- environment_cvterm_id serial not null,
- primary key (environment_cvterm_id),
- environment_id int not null,
- foreign key (environment_id) references environment (environment_id) on delete cascade,
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade,
- constraint environment_cvterm_c1 unique (environment_id, cvterm_id)
- );
- create index environment_cvterm_idx1 on environment_cvterm (environment_id);
- create index environment_cvterm_idx2 on environment_cvterm (cvterm_id);
- COMMENT ON TABLE environment_cvterm IS NULL;
- CREATE TABLE phenstatement (
- phenstatement_id SERIAL NOT NULL,
- primary key (phenstatement_id),
- genotype_id INT NOT NULL,
- FOREIGN KEY (genotype_id) REFERENCES genotype (genotype_id) ON DELETE CASCADE,
- environment_id INT NOT NULL,
- FOREIGN KEY (environment_id) REFERENCES environment (environment_id) ON DELETE CASCADE,
- phenotype_id INT NOT NULL,
- FOREIGN KEY (phenotype_id) REFERENCES phenotype (phenotype_id) ON DELETE CASCADE,
- type_id INT NOT NULL,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- pub_id INT NOT NULL,
- FOREIGN KEY (pub_id) REFERENCES pub (pub_id) ON DELETE CASCADE,
- CONSTRAINT phenstatement_c1 UNIQUE (genotype_id,phenotype_id,environment_id,type_id,pub_id)
- );
- CREATE INDEX phenstatement_idx1 ON phenstatement (genotype_id);
- CREATE INDEX phenstatement_idx2 ON phenstatement (phenotype_id);
- COMMENT ON TABLE phenstatement IS 'Phenotypes are things like "larval lethal". Phenstatements are things like "dpp-1 is recessive larval lethal". So essentially phenstatement is a linking table expressing the relationship between genotype, environment, and phenotype.';
- CREATE TABLE phendesc (
- phendesc_id SERIAL NOT NULL,
- primary key (phendesc_id),
- genotype_id INT NOT NULL,
- FOREIGN KEY (genotype_id) REFERENCES genotype (genotype_id) ON DELETE CASCADE,
- environment_id INT NOT NULL,
- FOREIGN KEY (environment_id) REFERENCES environment ( environment_id) ON DELETE CASCADE,
- description TEXT NOT NULL,
- type_id INT NOT NULL,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- pub_id INT NOT NULL,
- FOREIGN KEY (pub_id) REFERENCES pub (pub_id) ON DELETE CASCADE,
- CONSTRAINT phendesc_c1 UNIQUE (genotype_id,environment_id,type_id,pub_id)
- );
- CREATE INDEX phendesc_idx1 ON phendesc (genotype_id);
- CREATE INDEX phendesc_idx2 ON phendesc (environment_id);
- CREATE INDEX phendesc_idx3 ON phendesc (pub_id);
- COMMENT ON TABLE phendesc IS 'A summary of a _set_ of phenotypic statements for any one gcontext made in any one publication.';
- CREATE TABLE phenotype_comparison (
- phenotype_comparison_id SERIAL NOT NULL,
- primary key (phenotype_comparison_id),
- genotype1_id INT NOT NULL,
- FOREIGN KEY (genotype1_id) REFERENCES genotype (genotype_id) ON DELETE CASCADE,
- environment1_id INT NOT NULL,
- FOREIGN KEY (environment1_id) REFERENCES environment (environment_id) ON DELETE CASCADE,
- genotype2_id INT NOT NULL,
- FOREIGN KEY (genotype2_id) REFERENCES genotype (genotype_id) ON DELETE CASCADE,
- environment2_id INT NOT NULL,
- FOREIGN KEY (environment2_id) REFERENCES environment (environment_id) ON DELETE CASCADE,
- phenotype1_id INT NOT NULL,
- FOREIGN KEY (phenotype1_id) REFERENCES phenotype (phenotype_id) ON DELETE CASCADE,
- phenotype2_id INT,
- FOREIGN KEY (phenotype2_id) REFERENCES phenotype (phenotype_id) ON DELETE CASCADE,
- pub_id INT NOT NULL,
- FOREIGN KEY (pub_id) REFERENCES pub (pub_id) ON DELETE CASCADE,
- organism_id INT NOT NULL,
- FOREIGN KEY (organism_id) REFERENCES organism (organism_id) ON DELETE CASCADE,
- CONSTRAINT phenotype_comparison_c1 UNIQUE (genotype1_id,environment1_id,genotype2_id,environment2_id,phenotype1_id,pub_id)
- );
- CREATE INDEX phenotype_comparison_idx1 on phenotype_comparison (genotype1_id);
- CREATE INDEX phenotype_comparison_idx2 on phenotype_comparison (genotype2_id);
- CREATE INDEX phenotype_comparison_idx4 on phenotype_comparison (pub_id);
- COMMENT ON TABLE phenotype_comparison IS 'Comparison of phenotypes e.g., genotype1/environment1/phenotype1 "non-suppressible" with respect to genotype2/environment2/phenotype2.';
- CREATE TABLE phenotype_comparison_cvterm (
- phenotype_comparison_cvterm_id serial not null,
- primary key (phenotype_comparison_cvterm_id),
- phenotype_comparison_id int not null,
- FOREIGN KEY (phenotype_comparison_id) references phenotype_comparison (phenotype_comparison_id) on delete cascade,
- cvterm_id int not null,
- FOREIGN KEY (cvterm_id) references cvterm (cvterm_id) on delete cascade,
- pub_id INT not null,
- FOREIGN KEY (pub_id) references pub (pub_id) on delete cascade,
- rank int not null default 0,
- CONSTRAINT phenotype_comparison_cvterm_c1 unique (phenotype_comparison_id, cvterm_id)
- );
- CREATE INDEX phenotype_comparison_cvterm_idx1 on phenotype_comparison_cvterm (phenotype_comparison_id);
- CREATE INDEX phenotype_comparison_cvterm_idx2 on phenotype_comparison_cvterm (cvterm_id);
- create table featuremap (
- featuremap_id serial not null,
- primary key (featuremap_id),
- name varchar(255),
- description text,
- unittype_id int null,
- foreign key (unittype_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- constraint featuremap_c1 unique (name)
- );
- create table featurerange (
- featurerange_id serial not null,
- primary key (featurerange_id),
- featuremap_id int not null,
- foreign key (featuremap_id) references featuremap (featuremap_id) on delete cascade INITIALLY DEFERRED,
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- leftstartf_id int not null,
- foreign key (leftstartf_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- leftendf_id int,
- foreign key (leftendf_id) references feature (feature_id) on delete set null INITIALLY DEFERRED,
- rightstartf_id int,
- foreign key (rightstartf_id) references feature (feature_id) on delete set null INITIALLY DEFERRED,
- rightendf_id int not null,
- foreign key (rightendf_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- rangestr varchar(255)
- );
- create index featurerange_idx1 on featurerange (featuremap_id);
- create index featurerange_idx2 on featurerange (feature_id);
- create index featurerange_idx3 on featurerange (leftstartf_id);
- create index featurerange_idx4 on featurerange (leftendf_id);
- create index featurerange_idx5 on featurerange (rightstartf_id);
- create index featurerange_idx6 on featurerange (rightendf_id);
- COMMENT ON TABLE featurerange IS 'In cases where the start and end of a mapped feature is a range, leftendf and rightstartf are populated. leftstartf_id, leftendf_id, rightstartf_id, rightendf_id are the ids of features with respect to which the feature is being mapped. These may be cytological bands.';
- COMMENT ON COLUMN featurerange.featuremap_id IS 'featuremap_id is the id of the feature being mapped.';
- create table featurepos (
- featurepos_id serial not null,
- primary key (featurepos_id),
- featuremap_id serial not null,
- foreign key (featuremap_id) references featuremap (featuremap_id) on delete cascade INITIALLY DEFERRED,
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- map_feature_id int not null,
- foreign key (map_feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- mappos float not null
- );
- create index featurepos_idx1 on featurepos (featuremap_id);
- create index featurepos_idx2 on featurepos (feature_id);
- create index featurepos_idx3 on featurepos (map_feature_id);
- COMMENT ON COLUMN featurepos.map_feature_id IS 'map_feature_id
- links to the feature (map) upon which the feature is being localized.';
- create table featuremap_pub (
- featuremap_pub_id serial not null,
- primary key (featuremap_pub_id),
- featuremap_id int not null,
- foreign key (featuremap_id) references featuremap (featuremap_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED
- );
- create index featuremap_pub_idx1 on featuremap_pub (featuremap_id);
- create index featuremap_pub_idx2 on featuremap_pub (pub_id);
- create table phylotree (
- phylotree_id serial not null,
- primary key (phylotree_id),
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade,
- name varchar(255) null,
- type_id int,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- analysis_id int null,
- foreign key (analysis_id) references analysis (analysis_id) on delete cascade,
- comment text null,
- unique(phylotree_id)
- );
- create index phylotree_idx1 on phylotree (phylotree_id);
- COMMENT ON TABLE phylotree IS 'Global anchor for phylogenetic tree.';
- COMMENT ON COLUMN phylotree.type_id IS 'Type: protein, nucleotide, taxonomy, for example. The type should be any SO type, or "taxonomy".';
- create table phylotree_pub (
- phylotree_pub_id serial not null,
- primary key (phylotree_pub_id),
- phylotree_id int not null,
- foreign key (phylotree_id) references phylotree (phylotree_id) on delete cascade,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade,
- unique(phylotree_id, pub_id)
- );
- create index phylotree_pub_idx1 on phylotree_pub (phylotree_id);
- create index phylotree_pub_idx2 on phylotree_pub (pub_id);
- COMMENT ON TABLE phylotree_pub IS 'Tracks citations global to the tree e.g. multiple sequence alignment supporting tree construction.';
- create table phylonode (
- phylonode_id serial not null,
- primary key (phylonode_id),
- phylotree_id int not null,
- foreign key (phylotree_id) references phylotree (phylotree_id) on delete cascade,
- parent_phylonode_id int null,
- foreign key (parent_phylonode_id) references phylonode (phylonode_id) on delete cascade,
- left_idx int not null,
- right_idx int not null,
- type_id int,
- foreign key(type_id) references cvterm (cvterm_id) on delete cascade,
- feature_id int,
- foreign key (feature_id) references feature (feature_id) on delete cascade,
- label varchar(255) null,
- distance float null,
- unique(phylotree_id, left_idx),
- unique(phylotree_id, right_idx)
- );
- COMMENT ON TABLE phylonode IS 'This is the most pervasive
- element in the phylogeny module, cataloging the "phylonodes" of
- tree graphs. Edges are implied by the parent_phylonode_id
- reflexive closure. For all nodes in a nested set implementation the left and right index will be *between* the parents left and right indexes.';
- COMMENT ON COLUMN phylonode.feature_id IS 'Phylonodes can have optional features attached to them e.g. a protein or nucleotide sequence usually attached to a leaf of the phylotree for non-leaf nodes, the feature may be a feature that is an instance of SO:match; this feature is the alignment of all leaf features beneath it.';
- COMMENT ON COLUMN phylonode.type_id IS 'Type: e.g. root, interior, leaf.';
- COMMENT ON COLUMN phylonode.parent_phylonode_id IS 'Root phylonode can have null parent_phylonode_id value.';
- create table phylonode_dbxref (
- phylonode_dbxref_id serial not null,
- primary key (phylonode_dbxref_id),
- phylonode_id int not null,
- foreign key (phylonode_id) references phylonode (phylonode_id) on delete cascade,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade,
- unique(phylonode_id,dbxref_id)
- );
- create index phylonode_dbxref_idx1 on phylonode_dbxref (phylonode_id);
- create index phylonode_dbxref_idx2 on phylonode_dbxref (dbxref_id);
- COMMENT ON TABLE phylonode_dbxref IS 'For example, for orthology, paralogy group identifiers; could also be used for NCBI taxonomy; for sequences, refer to phylonode_feature, feature associated dbxrefs.';
- create table phylonode_pub (
- phylonode_pub_id serial not null,
- primary key (phylonode_pub_id),
- phylonode_id int not null,
- foreign key (phylonode_id) references phylonode (phylonode_id) on delete cascade,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade,
- unique(phylonode_id, pub_id)
- );
- create index phylonode_pub_idx1 on phylonode_pub (phylonode_id);
- create index phylonode_pub_idx2 on phylonode_pub (pub_id);
- create table phylonode_organism (
- phylonode_organism_id serial not null,
- primary key (phylonode_organism_id),
- phylonode_id int not null,
- foreign key (phylonode_id) references phylonode (phylonode_id) on delete cascade,
- organism_id int not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade,
- unique(phylonode_id)
- );
- create index phylonode_organism_idx1 on phylonode_organism (phylonode_id);
- create index phylonode_organism_idx2 on phylonode_organism (organism_id);
- COMMENT ON TABLE phylonode_organism IS 'This linking table should only be used for nodes in taxonomy trees; it provides a mapping between the node and an organism. One node can have zero or one organisms, one organism can have zero or more nodes (although typically it should only have one in the standard NCBI taxonomy tree).';
- COMMENT ON COLUMN phylonode_organism.phylonode_id IS 'One phylonode cannot refer to >1 organism.';
- create table phylonodeprop (
- phylonodeprop_id serial not null,
- primary key (phylonodeprop_id),
- phylonode_id int not null,
- foreign key (phylonode_id) references phylonode (phylonode_id) on delete cascade,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- value text not null default '',
- rank int not null default 0,
- unique(phylonode_id, type_id, value, rank)
- );
- create index phylonodeprop_idx1 on phylonodeprop (phylonode_id);
- create index phylonodeprop_idx2 on phylonodeprop (type_id);
- COMMENT ON COLUMN phylonodeprop.type_id IS 'type_id could designate phylonode hierarchy relationships, for example: species taxonomy (kingdom, order, family, genus, species), "ortholog/paralog", "fold/superfold", etc.';
- create table phylonode_relationship (
- phylonode_relationship_id serial not null,
- primary key (phylonode_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references phylonode (phylonode_id) on delete cascade,
- object_id int not null,
- foreign key (object_id) references phylonode (phylonode_id) on delete cascade,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- rank int,
- phylotree_id int not null,
- foreign key (phylotree_id) references phylotree (phylotree_id) on delete cascade,
- unique(subject_id, object_id, type_id)
- );
- create index phylonode_relationship_idx1 on phylonode_relationship (subject_id);
- create index phylonode_relationship_idx2 on phylonode_relationship (object_id);
- create index phylonode_relationship_idx3 on phylonode_relationship (type_id);
- COMMENT ON TABLE phylonode_relationship IS 'This is for
- relationships that are not strictly hierarchical; for example,
- horizontal gene transfer. Most phylogenetic trees are strictly
- hierarchical, nevertheless it is here for completeness.';
- CREATE OR REPLACE FUNCTION phylonode_depth(INT)
- RETURNS FLOAT AS
- 'DECLARE id ALIAS FOR $1;
- DECLARE depth FLOAT := 0;
- DECLARE curr_node phylonode%ROWTYPE;
- BEGIN
- SELECT INTO curr_node *
- FROM phylonode
- WHERE phylonode_id=id;
- depth = depth + curr_node.distance;
- IF curr_node.parent_phylonode_id IS NULL
- THEN RETURN depth;
- ELSE RETURN depth + phylonode_depth(curr_node.parent_phylonode_id);
- END IF;
- END
- '
- LANGUAGE 'plpgsql';
- CREATE OR REPLACE FUNCTION phylonode_height(INT)
- RETURNS FLOAT AS
- '
- SELECT coalesce(max(phylonode_height(phylonode_id) + distance), 0.0)
- FROM phylonode
- WHERE parent_phylonode_id = $1
- '
- LANGUAGE 'sql';
- create table contact (
- contact_id serial not null,
- primary key (contact_id),
- type_id int null,
- foreign key (type_id) references cvterm (cvterm_id),
- name varchar(255) not null,
- description varchar(255) null,
- constraint contact_c1 unique (name)
- );
- COMMENT ON TABLE contact IS 'Model persons, institutes, groups, organizations, etc.';
- COMMENT ON COLUMN contact.type_id IS 'What type of contact is this? E.g. "person", "lab".';
- create table contact_relationship (
- contact_relationship_id serial not null,
- primary key (contact_relationship_id),
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- subject_id int not null,
- foreign key (subject_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- constraint contact_relationship_c1 unique (subject_id,object_id,type_id)
- );
- create index contact_relationship_idx1 on contact_relationship (type_id);
- create index contact_relationship_idx2 on contact_relationship (subject_id);
- create index contact_relationship_idx3 on contact_relationship (object_id);
- COMMENT ON TABLE contact_relationship IS 'Model relationships between contacts';
- COMMENT ON COLUMN contact_relationship.subject_id IS 'The subject of the subj-predicate-obj sentence. In a DAG, this corresponds to the child node.';
- COMMENT ON COLUMN contact_relationship.object_id IS 'The object of the subj-predicate-obj sentence. In a DAG, this corresponds to the parent node.';
- COMMENT ON COLUMN contact_relationship.type_id IS 'Relationship type between subject and object. This is a cvterm, typically from the OBO relationship ontology, although other relationship types are allowed.';
- create table expression (
- expression_id serial not null,
- primary key (expression_id),
- uniquename text not null,
- md5checksum character(32),
- description text,
- constraint expression_c1 unique(uniquename)
- );
- COMMENT ON TABLE expression IS 'The expression table is essentially a bridge table.';
- create table expression_cvterm (
- expression_cvterm_id serial not null,
- primary key (expression_cvterm_id),
- expression_id int not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- rank int not null default 0,
- cvterm_type_id int not null,
- foreign key (cvterm_type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- constraint expression_cvterm_c1 unique(expression_id,cvterm_id,cvterm_type_id)
- );
- create index expression_cvterm_idx1 on expression_cvterm (expression_id);
- create index expression_cvterm_idx2 on expression_cvterm (cvterm_id);
- create index expression_cvterm_idx3 on expression_cvterm (cvterm_type_id);
- create table expression_cvtermprop (
- expression_cvtermprop_id serial not null,
- primary key (expression_cvtermprop_id),
- expression_cvterm_id int not null,
- foreign key (expression_cvterm_id) references expression_cvterm (expression_cvterm_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint expression_cvtermprop_c1 unique (expression_cvterm_id,type_id,rank)
- );
- create index expression_cvtermprop_idx1 on expression_cvtermprop (expression_cvterm_id);
- create index expression_cvtermprop_idx2 on expression_cvtermprop (type_id);
- COMMENT ON TABLE expression_cvtermprop IS 'Extensible properties for
- expression to cvterm associations. Examples: qualifiers.';
- COMMENT ON COLUMN expression_cvtermprop.type_id IS 'The name of the
- property/slot is a cvterm. The meaning of the property is defined in
- that cvterm. For example, cvterms may come from the FlyBase miscellaneous cv.';
- COMMENT ON COLUMN expression_cvtermprop.value IS 'The value of the
- property, represented as text. Numeric values are converted to their
- text representation. This is less efficient than using native database
- types, but is easier to query.';
- COMMENT ON COLUMN expression_cvtermprop.rank IS 'Property-Value
- ordering. Any expression_cvterm can have multiple values for any particular
- property type - these are ordered in a list using rank, counting from
- zero. For properties that are single-valued rather than multi-valued,
- the default 0 value should be used.';
- create table expressionprop (
- expressionprop_id serial not null,
- primary key (expressionprop_id),
- expression_id int not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint expressionprop_c1 unique (expression_id,type_id,rank)
- );
- create index expressionprop_idx1 on expressionprop (expression_id);
- create index expressionprop_idx2 on expressionprop (type_id);
- create table expression_pub (
- expression_pub_id serial not null,
- primary key (expression_pub_id),
- expression_id int not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint expression_pub_c1 unique(expression_id,pub_id)
- );
- create index expression_pub_idx1 on expression_pub (expression_id);
- create index expression_pub_idx2 on expression_pub (pub_id);
- create table feature_expression (
- feature_expression_id serial not null,
- primary key (feature_expression_id),
- expression_id int not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint feature_expression_c1 unique(expression_id,feature_id,pub_id)
- );
- create index feature_expression_idx1 on feature_expression (expression_id);
- create index feature_expression_idx2 on feature_expression (feature_id);
- create index feature_expression_idx3 on feature_expression (pub_id);
- create table feature_expressionprop (
- feature_expressionprop_id serial not null,
- primary key (feature_expressionprop_id),
- feature_expression_id int not null,
- foreign key (feature_expression_id) references feature_expression (feature_expression_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint feature_expressionprop_c1 unique (feature_expression_id,type_id,rank)
- );
- create index feature_expressionprop_idx1 on feature_expressionprop (feature_expression_id);
- create index feature_expressionprop_idx2 on feature_expressionprop (type_id);
- COMMENT ON TABLE feature_expressionprop IS 'Extensible properties for
- feature_expression (comments, for example). Modeled on feature_cvtermprop.';
- create table eimage (
- eimage_id serial not null,
- primary key (eimage_id),
- eimage_data text,
- eimage_type varchar(255) not null,
- image_uri varchar(255)
- );
- COMMENT ON COLUMN eimage.eimage_data IS 'We expect images in eimage_data (e.g. JPEGs) to be uuencoded.';
- COMMENT ON COLUMN eimage.eimage_type IS 'Describes the type of data in eimage_data.';
- create table expression_image (
- expression_image_id serial not null,
- primary key (expression_image_id),
- expression_id int not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- eimage_id int not null,
- foreign key (eimage_id) references eimage (eimage_id) on delete cascade INITIALLY DEFERRED,
- constraint expression_image_c1 unique(expression_id,eimage_id)
- );
- create index expression_image_idx1 on expression_image (expression_id);
- create index expression_image_idx2 on expression_image (eimage_id);
- create table mageml (
- mageml_id serial not null,
- primary key (mageml_id),
- mage_package text not null,
- mage_ml text not null
- );
- COMMENT ON TABLE mageml IS 'This table is for storing extra bits of MAGEml in a denormalized form. More normalization would require many more tables.';
- create table magedocumentation (
- magedocumentation_id serial not null,
- primary key (magedocumentation_id),
- mageml_id int not null,
- foreign key (mageml_id) references mageml (mageml_id) on delete cascade INITIALLY DEFERRED,
- tableinfo_id int not null,
- foreign key (tableinfo_id) references tableinfo (tableinfo_id) on delete cascade INITIALLY DEFERRED,
- row_id int not null,
- mageidentifier text not null
- );
- create index magedocumentation_idx1 on magedocumentation (mageml_id);
- create index magedocumentation_idx2 on magedocumentation (tableinfo_id);
- create index magedocumentation_idx3 on magedocumentation (row_id);
- COMMENT ON TABLE magedocumentation IS NULL;
- create table protocol (
- protocol_id serial not null,
- primary key (protocol_id),
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- pub_id int null,
- foreign key (pub_id) references pub (pub_id) on delete set null INITIALLY DEFERRED,
- dbxref_id int null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- name text not null,
- uri text null,
- protocoldescription text null,
- hardwaredescription text null,
- softwaredescription text null,
- constraint protocol_c1 unique (name)
- );
- create index protocol_idx1 on protocol (type_id);
- create index protocol_idx2 on protocol (pub_id);
- create index protocol_idx3 on protocol (dbxref_id);
- COMMENT ON TABLE protocol IS 'Procedural notes on how data was prepared and processed.';
- create table protocolparam (
- protocolparam_id serial not null,
- primary key (protocolparam_id),
- protocol_id int not null,
- foreign key (protocol_id) references protocol (protocol_id) on delete cascade INITIALLY DEFERRED,
- name text not null,
- datatype_id int null,
- foreign key (datatype_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- unittype_id int null,
- foreign key (unittype_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- value text null,
- rank int not null default 0
- );
- create index protocolparam_idx1 on protocolparam (protocol_id);
- create index protocolparam_idx2 on protocolparam (datatype_id);
- create index protocolparam_idx3 on protocolparam (unittype_id);
- COMMENT ON TABLE protocolparam IS 'Parameters related to a
- protocol. For example, if the protocol is a soak, this might include attributes of bath temperature and duration.';
- create table channel (
- channel_id serial not null,
- primary key (channel_id),
- name text not null,
- definition text not null,
- constraint channel_c1 unique (name)
- );
- COMMENT ON TABLE channel IS 'Different array platforms can record signals from one or more channels (cDNA arrays typically use two CCD, but Affymetrix uses only one).';
- create table arraydesign (
- arraydesign_id serial not null,
- primary key (arraydesign_id),
- manufacturer_id int not null,
- foreign key (manufacturer_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- platformtype_id int not null,
- foreign key (platformtype_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- substratetype_id int null,
- foreign key (substratetype_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- protocol_id int null,
- foreign key (protocol_id) references protocol (protocol_id) on delete set null INITIALLY DEFERRED,
- dbxref_id int null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- name text not null,
- version text null,
- description text null,
- array_dimensions text null,
- element_dimensions text null,
- num_of_elements int null,
- num_array_columns int null,
- num_array_rows int null,
- num_grid_columns int null,
- num_grid_rows int null,
- num_sub_columns int null,
- num_sub_rows int null,
- constraint arraydesign_c1 unique (name)
- );
- create index arraydesign_idx1 on arraydesign (manufacturer_id);
- create index arraydesign_idx2 on arraydesign (platformtype_id);
- create index arraydesign_idx3 on arraydesign (substratetype_id);
- create index arraydesign_idx4 on arraydesign (protocol_id);
- create index arraydesign_idx5 on arraydesign (dbxref_id);
- COMMENT ON TABLE arraydesign IS 'General properties about an array.
- An array is a template used to generate physical slides, etc. It
- contains layout information, as well as global array properties, such
- as material (glass, nylon) and spot dimensions (in rows/columns).';
- create table arraydesignprop (
- arraydesignprop_id serial not null,
- primary key (arraydesignprop_id),
- arraydesign_id int not null,
- foreign key (arraydesign_id) references arraydesign (arraydesign_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint arraydesignprop_c1 unique (arraydesign_id,type_id,rank)
- );
- create index arraydesignprop_idx1 on arraydesignprop (arraydesign_id);
- create index arraydesignprop_idx2 on arraydesignprop (type_id);
- COMMENT ON TABLE arraydesignprop IS 'Extra array design properties that are not accounted for in arraydesign.';
- create table assay (
- assay_id serial not null,
- primary key (assay_id),
- arraydesign_id int not null,
- foreign key (arraydesign_id) references arraydesign (arraydesign_id) on delete cascade INITIALLY DEFERRED,
- protocol_id int null,
- foreign key (protocol_id) references protocol (protocol_id) on delete set null INITIALLY DEFERRED,
- assaydate timestamp null default current_timestamp,
- arrayidentifier text null,
- arraybatchidentifier text null,
- operator_id int not null,
- foreign key (operator_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id int null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- name text null,
- description text null,
- constraint assay_c1 unique (name)
- );
- create index assay_idx1 on assay (arraydesign_id);
- create index assay_idx2 on assay (protocol_id);
- create index assay_idx3 on assay (operator_id);
- create index assay_idx4 on assay (dbxref_id);
- COMMENT ON TABLE assay IS 'An assay consists of a physical instance of
- an array, combined with the conditions used to create the array
- (protocols, technician information). The assay can be thought of as a hybridization.';
- create table assayprop (
- assayprop_id serial not null,
- primary key (assayprop_id),
- assay_id int not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint assayprop_c1 unique (assay_id,type_id,rank)
- );
- create index assayprop_idx1 on assayprop (assay_id);
- create index assayprop_idx2 on assayprop (type_id);
- COMMENT ON TABLE assayprop IS 'Extra assay properties that are not accounted for in assay.';
- create table assay_project (
- assay_project_id serial not null,
- primary key (assay_project_id),
- assay_id int not null,
- foreign key (assay_id) references assay (assay_id) INITIALLY DEFERRED,
- project_id int not null,
- foreign key (project_id) references project (project_id) INITIALLY DEFERRED,
- constraint assay_project_c1 unique (assay_id,project_id)
- );
- create index assay_project_idx1 on assay_project (assay_id);
- create index assay_project_idx2 on assay_project (project_id);
- COMMENT ON TABLE assay_project IS 'Link assays to projects.';
- create table biomaterial (
- biomaterial_id serial not null,
- primary key (biomaterial_id),
- taxon_id int null,
- foreign key (taxon_id) references organism (organism_id) on delete set null INITIALLY DEFERRED,
- biosourceprovider_id int null,
- foreign key (biosourceprovider_id) references contact (contact_id) on delete set null INITIALLY DEFERRED,
- dbxref_id int null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- name text null,
- description text null,
- constraint biomaterial_c1 unique (name)
- );
- create index biomaterial_idx1 on biomaterial (taxon_id);
- create index biomaterial_idx2 on biomaterial (biosourceprovider_id);
- create index biomaterial_idx3 on biomaterial (dbxref_id);
- COMMENT ON TABLE biomaterial IS 'A biomaterial represents the MAGE concept of BioSource, BioSample, and LabeledExtract. It is essentially some biological material (tissue, cells, serum) that may have been processed. Processed biomaterials should be traceable back to raw biomaterials via the biomaterialrelationship table.';
- create table biomaterial_relationship (
- biomaterial_relationship_id serial not null,
- primary key (biomaterial_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references biomaterial (biomaterial_id) INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references biomaterial (biomaterial_id) INITIALLY DEFERRED,
- constraint biomaterial_relationship_c1 unique (subject_id,object_id,type_id)
- );
- create index biomaterial_relationship_idx1 on biomaterial_relationship (subject_id);
- create index biomaterial_relationship_idx2 on biomaterial_relationship (object_id);
- create index biomaterial_relationship_idx3 on biomaterial_relationship (type_id);
- COMMENT ON TABLE biomaterial_relationship IS 'Relate biomaterials to one another. This is a way to track a series of treatments or material splits/merges, for instance.';
- create table biomaterialprop (
- biomaterialprop_id serial not null,
- primary key (biomaterialprop_id),
- biomaterial_id int not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint biomaterialprop_c1 unique (biomaterial_id,type_id,rank)
- );
- create index biomaterialprop_idx1 on biomaterialprop (biomaterial_id);
- create index biomaterialprop_idx2 on biomaterialprop (type_id);
- COMMENT ON TABLE biomaterialprop IS 'Extra biomaterial properties that are not accounted for in biomaterial.';
- create table biomaterial_dbxref (
- biomaterial_dbxref_id serial not null,
- primary key (biomaterial_dbxref_id),
- biomaterial_id int not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- constraint biomaterial_dbxref_c1 unique (biomaterial_id,dbxref_id)
- );
- create index biomaterial_dbxref_idx1 on biomaterial_dbxref (biomaterial_id);
- create index biomaterial_dbxref_idx2 on biomaterial_dbxref (dbxref_id);
- create table treatment (
- treatment_id serial not null,
- primary key (treatment_id),
- rank int not null default 0,
- biomaterial_id int not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- protocol_id int null,
- foreign key (protocol_id) references protocol (protocol_id) on delete set null INITIALLY DEFERRED,
- name text null
- );
- create index treatment_idx1 on treatment (biomaterial_id);
- create index treatment_idx2 on treatment (type_id);
- create index treatment_idx3 on treatment (protocol_id);
- COMMENT ON TABLE treatment IS 'A biomaterial may undergo multiple
- treatments. Examples of treatments: apoxia, fluorophore and biotin labeling.';
- create table biomaterial_treatment (
- biomaterial_treatment_id serial not null,
- primary key (biomaterial_treatment_id),
- biomaterial_id int not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- treatment_id int not null,
- foreign key (treatment_id) references treatment (treatment_id) on delete cascade INITIALLY DEFERRED,
- unittype_id int null,
- foreign key (unittype_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- value float(15) null,
- rank int not null default 0,
- constraint biomaterial_treatment_c1 unique (biomaterial_id,treatment_id)
- );
- create index biomaterial_treatment_idx1 on biomaterial_treatment (biomaterial_id);
- create index biomaterial_treatment_idx2 on biomaterial_treatment (treatment_id);
- create index biomaterial_treatment_idx3 on biomaterial_treatment (unittype_id);
- COMMENT ON TABLE biomaterial_treatment IS 'Link biomaterials to treatments. Treatments have an order of operations (rank), and associated measurements (unittype_id, value).';
- create table assay_biomaterial (
- assay_biomaterial_id serial not null,
- primary key (assay_biomaterial_id),
- assay_id int not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- biomaterial_id int not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- channel_id int null,
- foreign key (channel_id) references channel (channel_id) on delete set null INITIALLY DEFERRED,
- rank int not null default 0,
- constraint assay_biomaterial_c1 unique (assay_id,biomaterial_id,channel_id,rank)
- );
- create index assay_biomaterial_idx1 on assay_biomaterial (assay_id);
- create index assay_biomaterial_idx2 on assay_biomaterial (biomaterial_id);
- create index assay_biomaterial_idx3 on assay_biomaterial (channel_id);
- COMMENT ON TABLE assay_biomaterial IS 'A biomaterial can be hybridized many times (technical replicates), or combined with other biomaterials in a single hybridization (for two-channel arrays).';
- create table acquisition (
- acquisition_id serial not null,
- primary key (acquisition_id),
- assay_id int not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- protocol_id int null,
- foreign key (protocol_id) references protocol (protocol_id) on delete set null INITIALLY DEFERRED,
- channel_id int null,
- foreign key (channel_id) references channel (channel_id) on delete set null INITIALLY DEFERRED,
- acquisitiondate timestamp null default current_timestamp,
- name text null,
- uri text null,
- constraint acquisition_c1 unique (name)
- );
- create index acquisition_idx1 on acquisition (assay_id);
- create index acquisition_idx2 on acquisition (protocol_id);
- create index acquisition_idx3 on acquisition (channel_id);
- COMMENT ON TABLE acquisition IS 'This represents the scanning of hybridized material. The output of this process is typically a digital image of an array.';
- create table acquisitionprop (
- acquisitionprop_id serial not null,
- primary key (acquisitionprop_id),
- acquisition_id int not null,
- foreign key (acquisition_id) references acquisition (acquisition_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint acquisitionprop_c1 unique (acquisition_id,type_id,rank)
- );
- create index acquisitionprop_idx1 on acquisitionprop (acquisition_id);
- create index acquisitionprop_idx2 on acquisitionprop (type_id);
- COMMENT ON TABLE acquisitionprop IS 'Parameters associated with image acquisition.';
- create table acquisition_relationship (
- acquisition_relationship_id serial not null,
- primary key (acquisition_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references acquisition (acquisition_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references acquisition (acquisition_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint acquisition_relationship_c1 unique (subject_id,object_id,type_id,rank)
- );
- create index acquisition_relationship_idx1 on acquisition_relationship (subject_id);
- create index acquisition_relationship_idx2 on acquisition_relationship (type_id);
- create index acquisition_relationship_idx3 on acquisition_relationship (object_id);
- COMMENT ON TABLE acquisition_relationship IS 'Multiple monochrome images may be merged to form a multi-color image. Red-green images of 2-channel hybridizations are an example of this.';
- create table quantification (
- quantification_id serial not null,
- primary key (quantification_id),
- acquisition_id int not null,
- foreign key (acquisition_id) references acquisition (acquisition_id) on delete cascade INITIALLY DEFERRED,
- operator_id int null,
- foreign key (operator_id) references contact (contact_id) on delete set null INITIALLY DEFERRED,
- protocol_id int null,
- foreign key (protocol_id) references protocol (protocol_id) on delete set null INITIALLY DEFERRED,
- analysis_id int not null,
- foreign key (analysis_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- quantificationdate timestamp null default current_timestamp,
- name text null,
- uri text null,
- constraint quantification_c1 unique (name,analysis_id)
- );
- create index quantification_idx1 on quantification (acquisition_id);
- create index quantification_idx2 on quantification (operator_id);
- create index quantification_idx3 on quantification (protocol_id);
- create index quantification_idx4 on quantification (analysis_id);
- COMMENT ON TABLE quantification IS 'Quantification is the transformation of an image acquisition to numeric data. This typically involves statistical procedures.';
- create table quantificationprop (
- quantificationprop_id serial not null,
- primary key (quantificationprop_id),
- quantification_id int not null,
- foreign key (quantification_id) references quantification (quantification_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint quantificationprop_c1 unique (quantification_id,type_id,rank)
- );
- create index quantificationprop_idx1 on quantificationprop (quantification_id);
- create index quantificationprop_idx2 on quantificationprop (type_id);
- COMMENT ON TABLE quantificationprop IS 'Extra quantification properties that are not accounted for in quantification.';
- create table quantification_relationship (
- quantification_relationship_id serial not null,
- primary key (quantification_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references quantification (quantification_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references quantification (quantification_id) on delete cascade INITIALLY DEFERRED,
- constraint quantification_relationship_c1 unique (subject_id,object_id,type_id)
- );
- create index quantification_relationship_idx1 on quantification_relationship (subject_id);
- create index quantification_relationship_idx2 on quantification_relationship (type_id);
- create index quantification_relationship_idx3 on quantification_relationship (object_id);
- COMMENT ON TABLE quantification_relationship IS 'There may be multiple rounds of quantification, this allows us to keep an audit trail of what values went where.';
- create table control (
- control_id serial not null,
- primary key (control_id),
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- assay_id int not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- tableinfo_id int not null,
- foreign key (tableinfo_id) references tableinfo (tableinfo_id) on delete cascade INITIALLY DEFERRED,
- row_id int not null,
- name text null,
- value text null,
- rank int not null default 0
- );
- create index control_idx1 on control (type_id);
- create index control_idx2 on control (assay_id);
- create index control_idx3 on control (tableinfo_id);
- create index control_idx4 on control (row_id);
- COMMENT ON TABLE control IS NULL;
- create table element (
- element_id serial not null,
- primary key (element_id),
- feature_id int null,
- foreign key (feature_id) references feature (feature_id) on delete set null INITIALLY DEFERRED,
- arraydesign_id int not null,
- foreign key (arraydesign_id) references arraydesign (arraydesign_id) on delete cascade INITIALLY DEFERRED,
- type_id int null,
- foreign key (type_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- dbxref_id int null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- constraint element_c1 unique (feature_id,arraydesign_id)
- );
- create index element_idx1 on element (feature_id);
- create index element_idx2 on element (arraydesign_id);
- create index element_idx3 on element (type_id);
- create index element_idx4 on element (dbxref_id);
- COMMENT ON TABLE element IS 'Represents a feature of the array. This is typically a region of the array coated or bound to DNA.';
- create table elementresult (
- elementresult_id serial not null,
- primary key (elementresult_id),
- element_id int not null,
- foreign key (element_id) references element (element_id) on delete cascade INITIALLY DEFERRED,
- quantification_id int not null,
- foreign key (quantification_id) references quantification (quantification_id) on delete cascade INITIALLY DEFERRED,
- signal float not null,
- constraint elementresult_c1 unique (element_id,quantification_id)
- );
- create index elementresult_idx1 on elementresult (element_id);
- create index elementresult_idx2 on elementresult (quantification_id);
- create index elementresult_idx3 on elementresult (signal);
- COMMENT ON TABLE elementresult IS 'An element on an array produces a measurement when hybridized to a biomaterial (traceable through quantification_id). This is the base data from which tables that actually contain data inherit.';
- create table element_relationship (
- element_relationship_id serial not null,
- primary key (element_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references element (element_id) INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references element (element_id) INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint element_relationship_c1 unique (subject_id,object_id,type_id,rank)
- );
- create index element_relationship_idx1 on element_relationship (subject_id);
- create index element_relationship_idx2 on element_relationship (type_id);
- create index element_relationship_idx3 on element_relationship (object_id);
- create index element_relationship_idx4 on element_relationship (value);
- COMMENT ON TABLE element_relationship IS 'Sometimes we want to combine measurements from multiple elements to get a composite value. Affymetrix combines many probes to form a probeset measurement, for instance.';
- create table elementresult_relationship (
- elementresult_relationship_id serial not null,
- primary key (elementresult_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references elementresult (elementresult_id) INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references elementresult (elementresult_id) INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint elementresult_relationship_c1 unique (subject_id,object_id,type_id,rank)
- );
- create index elementresult_relationship_idx1 on elementresult_relationship (subject_id);
- create index elementresult_relationship_idx2 on elementresult_relationship (type_id);
- create index elementresult_relationship_idx3 on elementresult_relationship (object_id);
- create index elementresult_relationship_idx4 on elementresult_relationship (value);
- COMMENT ON TABLE elementresult_relationship IS 'Sometimes we want to combine measurements from multiple elements to get a composite value. Affymetrix combines many probes to form a probeset measurement, for instance.';
- create table study (
- study_id serial not null,
- primary key (study_id),
- contact_id int not null,
- foreign key (contact_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- pub_id int null,
- foreign key (pub_id) references pub (pub_id) on delete set null INITIALLY DEFERRED,
- dbxref_id int null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- name text not null,
- description text null,
- constraint study_c1 unique (name)
- );
- create index study_idx1 on study (contact_id);
- create index study_idx2 on study (pub_id);
- create index study_idx3 on study (dbxref_id);
- COMMENT ON TABLE study IS NULL;
- create table study_assay (
- study_assay_id serial not null,
- primary key (study_assay_id),
- study_id int not null,
- foreign key (study_id) references study (study_id) on delete cascade INITIALLY DEFERRED,
- assay_id int not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- constraint study_assay_c1 unique (study_id,assay_id)
- );
- create index study_assay_idx1 on study_assay (study_id);
- create index study_assay_idx2 on study_assay (assay_id);
- COMMENT ON TABLE study_assay IS NULL;
- create table studydesign (
- studydesign_id serial not null,
- primary key (studydesign_id),
- study_id int not null,
- foreign key (study_id) references study (study_id) on delete cascade INITIALLY DEFERRED,
- description text null
- );
- create index studydesign_idx1 on studydesign (study_id);
- COMMENT ON TABLE studydesign IS NULL;
- create table studydesignprop (
- studydesignprop_id serial not null,
- primary key (studydesignprop_id),
- studydesign_id int not null,
- foreign key (studydesign_id) references studydesign (studydesign_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint studydesignprop_c1 unique (studydesign_id,type_id,rank)
- );
- create index studydesignprop_idx1 on studydesignprop (studydesign_id);
- create index studydesignprop_idx2 on studydesignprop (type_id);
- COMMENT ON TABLE studydesignprop IS NULL;
- create table studyfactor (
- studyfactor_id serial not null,
- primary key (studyfactor_id),
- studydesign_id int not null,
- foreign key (studydesign_id) references studydesign (studydesign_id) on delete cascade INITIALLY DEFERRED,
- type_id int null,
- foreign key (type_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- name text not null,
- description text null
- );
- create index studyfactor_idx1 on studyfactor (studydesign_id);
- create index studyfactor_idx2 on studyfactor (type_id);
- COMMENT ON TABLE studyfactor IS NULL;
- create table studyfactorvalue (
- studyfactorvalue_id serial not null,
- primary key (studyfactorvalue_id),
- studyfactor_id int not null,
- foreign key (studyfactor_id) references studyfactor (studyfactor_id) on delete cascade INITIALLY DEFERRED,
- assay_id int not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- factorvalue text null,
- name text null,
- rank int not null default 0
- );
- create index studyfactorvalue_idx1 on studyfactorvalue (studyfactor_id);
- create index studyfactorvalue_idx2 on studyfactorvalue (assay_id);
- COMMENT ON TABLE studyfactorvalue IS NULL;
- create table studyprop (
- studyprop_id serial not null,
- primary key (studyprop_id),
- study_id int not null,
- foreign key (study_id) references study (study_id) on delete cascade,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- value text null,
- rank int not null default 0,
- unique (study_id,type_id,rank)
- );
- create index studyprop_idx1 on studyprop (study_id);
- create index studyprop_idx2 on studyprop (type_id);
- CREATE TABLE studyprop_feature (
- studyprop_feature_id serial NOT NULL,
- primary key (studyprop_feature_id),
- studyprop_id integer NOT NULL,
- foreign key (studyprop_id) references studyprop(studyprop_id) on delete cascade,
- feature_id integer NOT NULL,
- foreign key (feature_id) references feature (feature_id) on delete cascade,
- type_id integer,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- unique (studyprop_id, feature_id)
- );
-
- create index studyprop_feature_idx1 on studyprop_feature (studyprop_id);
- create index studyprop_feature_idx2 on studyprop_feature (feature_id);
- create table stock (
- stock_id serial not null,
- primary key (stock_id),
- dbxref_id int,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- organism_id int not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY DEFERRED,
- name varchar(255),
- uniquename text not null,
- description text,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- is_obsolete boolean not null default 'false',
- constraint stock_c1 unique (organism_id,uniquename,type_id)
- );
- create index stock_name_ind1 on stock (name);
- create index stock_idx1 on stock (dbxref_id);
- create index stock_idx2 on stock (organism_id);
- create index stock_idx3 on stock (type_id);
- create index stock_idx4 on stock (uniquename);
- COMMENT ON TABLE stock IS 'Any stock can be globally identified by the
- combination of organism, uniquename and stock type. A stock is the physical entities, either living or preserved, held by collections. Stocks belong to a collection; they have IDs, type, organism, description and may have a genotype.';
- COMMENT ON COLUMN stock.dbxref_id IS 'The dbxref_id is an optional primary stable identifier for this stock. Secondary indentifiers and external dbxrefs go in table: stock_dbxref.';
- COMMENT ON COLUMN stock.organism_id IS 'The organism_id is the organism to which the stock belongs. This column is mandatory.';
- COMMENT ON COLUMN stock.type_id IS 'The type_id foreign key links to a controlled vocabulary of stock types. The would include living stock, genomic DNA, preserved specimen. Secondary cvterms for stocks would go in stock_cvterm.';
- COMMENT ON COLUMN stock.description IS 'The description is the genetic description provided in the stock list.';
- COMMENT ON COLUMN stock.name IS 'The name is a human-readable local name for a stock.';
- create table stock_pub (
- stock_pub_id serial not null,
- primary key (stock_pub_id),
- stock_id int not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint stock_pub_c1 unique (stock_id,pub_id)
- );
- create index stock_pub_idx1 on stock_pub (stock_id);
- create index stock_pub_idx2 on stock_pub (pub_id);
- COMMENT ON TABLE stock_pub IS 'Provenance. Linking table between stocks and, for example, a stocklist computer file.';
- create table stockprop (
- stockprop_id serial not null,
- primary key (stockprop_id),
- stock_id int not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint stockprop_c1 unique (stock_id,type_id,rank)
- );
- create index stockprop_idx1 on stockprop (stock_id);
- create index stockprop_idx2 on stockprop (type_id);
- COMMENT ON TABLE stockprop IS 'A stock can have any number of
- slot-value property tags attached to it. This is an alternative to
- hardcoding a list of columns in the relational schema, and is
- completely extensible. There is a unique constraint, stockprop_c1, for
- the combination of stock_id, rank, and type_id. Multivalued property-value pairs must be differentiated by rank.';
- create table stockprop_pub (
- stockprop_pub_id serial not null,
- primary key (stockprop_pub_id),
- stockprop_id int not null,
- foreign key (stockprop_id) references stockprop (stockprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint stockprop_pub_c1 unique (stockprop_id,pub_id)
- );
- create index stockprop_pub_idx1 on stockprop_pub (stockprop_id);
- create index stockprop_pub_idx2 on stockprop_pub (pub_id);
- COMMENT ON TABLE stockprop_pub IS 'Provenance. Any stockprop assignment can optionally be supported by a publication.';
- create table stock_relationship (
- stock_relationship_id serial not null,
- primary key (stock_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint stock_relationship_c1 unique (subject_id,object_id,type_id,rank)
- );
- create index stock_relationship_idx1 on stock_relationship (subject_id);
- create index stock_relationship_idx2 on stock_relationship (object_id);
- create index stock_relationship_idx3 on stock_relationship (type_id);
- COMMENT ON COLUMN stock_relationship.subject_id IS 'stock_relationship.subject_id is the subject of the subj-predicate-obj sentence. This is typically the substock.';
- COMMENT ON COLUMN stock_relationship.object_id IS 'stock_relationship.object_id is the object of the subj-predicate-obj sentence. This is typically the container stock.';
- COMMENT ON COLUMN stock_relationship.type_id IS 'stock_relationship.type_id is relationship type between subject and object. This is a cvterm, typically from the OBO relationship ontology, although other relationship types are allowed.';
- COMMENT ON COLUMN stock_relationship.rank IS 'stock_relationship.rank is the ordering of subject stocks with respect to the object stock may be important where rank is used to order these; starts from zero.';
- COMMENT ON COLUMN stock_relationship.value IS 'stock_relationship.value is for additional notes or comments.';
- create table stock_relationship_pub (
- stock_relationship_pub_id serial not null,
- primary key (stock_relationship_pub_id),
- stock_relationship_id int not null,
- foreign key (stock_relationship_id) references stock_relationship (stock_relationship_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint stock_relationship_pub_c1 unique (stock_relationship_id,pub_id)
- );
- create index stock_relationship_pub_idx1 on stock_relationship_pub (stock_relationship_id);
- create index stock_relationship_pub_idx2 on stock_relationship_pub (pub_id);
- COMMENT ON TABLE stock_relationship_pub IS 'Provenance. Attach optional evidence to a stock_relationship in the form of a publication.';
- create table stock_dbxref (
- stock_dbxref_id serial not null,
- primary key (stock_dbxref_id),
- stock_id int not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- is_current boolean not null default 'true',
- constraint stock_dbxref_c1 unique (stock_id,dbxref_id)
- );
- create index stock_dbxref_idx1 on stock_dbxref (stock_id);
- create index stock_dbxref_idx2 on stock_dbxref (dbxref_id);
- COMMENT ON TABLE stock_dbxref IS 'stock_dbxref links a stock to dbxrefs. This is for secondary identifiers; primary identifiers should use stock.dbxref_id.';
- COMMENT ON COLUMN stock_dbxref.is_current IS 'The is_current boolean indicates whether the linked dbxref is the current -official- dbxref for the linked stock.';
- create table stock_cvterm (
- stock_cvterm_id serial not null,
- primary key (stock_cvterm_id),
- stock_id int not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint stock_cvterm_c1 unique (stock_id,cvterm_id,pub_id)
- );
- create index stock_cvterm_idx1 on stock_cvterm (stock_id);
- create index stock_cvterm_idx2 on stock_cvterm (cvterm_id);
- create index stock_cvterm_idx3 on stock_cvterm (pub_id);
- COMMENT ON TABLE stock_cvterm IS 'stock_cvterm links a stock to cvterms. This is for secondary cvterms; primary cvterms should use stock.type_id.';
- create table stock_genotype (
- stock_genotype_id serial not null,
- primary key (stock_genotype_id),
- stock_id int not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade,
- genotype_id int not null,
- foreign key (genotype_id) references genotype (genotype_id) on delete cascade,
- constraint stock_genotype_c1 unique (stock_id, genotype_id)
- );
- create index stock_genotype_idx1 on stock_genotype (stock_id);
- create index stock_genotype_idx2 on stock_genotype (genotype_id);
- COMMENT ON TABLE stock_genotype IS 'Simple table linking a stock to
- a genotype. Features with genotypes can be linked to stocks thru feature_genotype -> genotype -> stock_genotype -> stock.';
- create table stockcollection (
- stockcollection_id serial not null,
- primary key (stockcollection_id),
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- contact_id int null,
- foreign key (contact_id) references contact (contact_id) on delete set null INITIALLY DEFERRED,
- name varchar(255),
- uniquename text not null,
- constraint stockcollection_c1 unique (uniquename,type_id)
- );
- create index stockcollection_name_ind1 on stockcollection (name);
- create index stockcollection_idx1 on stockcollection (contact_id);
- create index stockcollection_idx2 on stockcollection (type_id);
- create index stockcollection_idx3 on stockcollection (uniquename);
- COMMENT ON TABLE stockcollection IS 'The lab or stock center distributing the stocks in their collection.';
- COMMENT ON COLUMN stockcollection.uniquename IS 'uniqename is the value of the collection cv.';
- COMMENT ON COLUMN stockcollection.type_id IS 'type_id is the collection type cv.';
- COMMENT ON COLUMN stockcollection.name IS 'name is the collection.';
- COMMENT ON COLUMN stockcollection.contact_id IS 'contact_id links to the contact information for the collection.';
- create table stockcollectionprop (
- stockcollectionprop_id serial not null,
- primary key (stockcollectionprop_id),
- stockcollection_id int not null,
- foreign key (stockcollection_id) references stockcollection (stockcollection_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id),
- value text null,
- rank int not null default 0,
- constraint stockcollectionprop_c1 unique (stockcollection_id,type_id,rank)
- );
- create index stockcollectionprop_idx1 on stockcollectionprop (stockcollection_id);
- create index stockcollectionprop_idx2 on stockcollectionprop (type_id);
- COMMENT ON TABLE stockcollectionprop IS 'The table stockcollectionprop
- contains the value of the stock collection such as website/email URLs;
- the value of the stock collection order URLs.';
- COMMENT ON COLUMN stockcollectionprop.type_id IS 'The cv for the type_id is "stockcollection property type".';
- create table stockcollection_stock (
- stockcollection_stock_id serial not null,
- primary key (stockcollection_stock_id),
- stockcollection_id int not null,
- foreign key (stockcollection_id) references stockcollection (stockcollection_id) on delete cascade INITIALLY DEFERRED,
- stock_id int not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- constraint stockcollection_stock_c1 unique (stockcollection_id,stock_id)
- );
- create index stockcollection_stock_idx1 on stockcollection_stock (stockcollection_id);
- create index stockcollection_stock_idx2 on stockcollection_stock (stock_id);
- COMMENT ON TABLE stockcollection_stock IS 'stockcollection_stock links
- a stock collection to the stocks which are contained in the collection.';
- create table library (
- library_id serial not null,
- primary key (library_id),
- organism_id int not null,
- foreign key (organism_id) references organism (organism_id),
- name varchar(255),
- uniquename text not null,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id),
- is_obsolete int not null default 0,
- timeaccessioned timestamp not null default current_timestamp,
- timelastmodified timestamp not null default current_timestamp,
- constraint library_c1 unique (organism_id,uniquename,type_id)
- );
- create index library_name_ind1 on library(name);
- create index library_idx1 on library (organism_id);
- create index library_idx2 on library (type_id);
- create index library_idx3 on library (uniquename);
- COMMENT ON COLUMN library.type_id IS 'The type_id foreign key links
- to a controlled vocabulary of library types. Examples of this would be: "cDNA_library" or "genomic_library"';
- create table library_synonym (
- library_synonym_id serial not null,
- primary key (library_synonym_id),
- synonym_id int not null,
- foreign key (synonym_id) references synonym (synonym_id) on delete cascade INITIALLY DEFERRED,
- library_id int not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- is_current boolean not null default 'true',
- is_internal boolean not null default 'false',
- constraint library_synonym_c1 unique (synonym_id,library_id,pub_id)
- );
- create index library_synonym_idx1 on library_synonym (synonym_id);
- create index library_synonym_idx2 on library_synonym (library_id);
- create index library_synonym_idx3 on library_synonym (pub_id);
- COMMENT ON COLUMN library_synonym.is_current IS 'The is_current bit indicates whether the linked synonym is the current -official- symbol for the linked library.';
- COMMENT ON COLUMN library_synonym.pub_id IS 'The pub_id link is for
- relating the usage of a given synonym to the publication in which it was used.';
- COMMENT ON COLUMN library_synonym.is_internal IS 'Typically a synonym
- exists so that somebody querying the database with an obsolete name
- can find the object they are looking for under its current name. If
- the synonym has been used publicly and deliberately (e.g. in a paper), it my also be listed in reports as a synonym. If the synonym was not used deliberately (e.g., there was a typo which went public), then the is_internal bit may be set to "true" so that it is known that the synonym is "internal" and should be queryable but should not be listed in reports as a valid synonym.';
- create table library_pub (
- library_pub_id serial not null,
- primary key (library_pub_id),
- library_id int not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint library_pub_c1 unique (library_id,pub_id)
- );
- create index library_pub_idx1 on library_pub (library_id);
- create index library_pub_idx2 on library_pub (pub_id);
- create table libraryprop (
- libraryprop_id serial not null,
- primary key (libraryprop_id),
- library_id int not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id),
- value text null,
- rank int not null default 0,
- constraint libraryprop_c1 unique (library_id,type_id,rank)
- );
- create index libraryprop_idx1 on libraryprop (library_id);
- create index libraryprop_idx2 on libraryprop (type_id);
- create table libraryprop_pub (
- libraryprop_pub_id serial not null,
- primary key (libraryprop_pub_id),
- libraryprop_id int not null,
- foreign key (libraryprop_id) references libraryprop (libraryprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint libraryprop_pub_c1 unique (libraryprop_id,pub_id)
- );
- create index libraryprop_pub_idx1 on libraryprop_pub (libraryprop_id);
- create index libraryprop_pub_idx2 on libraryprop_pub (pub_id);
- create table library_cvterm (
- library_cvterm_id serial not null,
- primary key (library_cvterm_id),
- library_id int not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id),
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id),
- constraint library_cvterm_c1 unique (library_id,cvterm_id,pub_id)
- );
- create index library_cvterm_idx1 on library_cvterm (library_id);
- create index library_cvterm_idx2 on library_cvterm (cvterm_id);
- create index library_cvterm_idx3 on library_cvterm (pub_id);
- COMMENT ON TABLE library_cvterm IS 'The table library_cvterm links a library to controlled vocabularies which describe the library. For instance, there might be a link to the anatomy cv for "head" or "testes" for a head or testes library.';
- create table library_feature (
- library_feature_id serial not null,
- primary key (library_feature_id),
- library_id int not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- constraint library_feature_c1 unique (library_id,feature_id)
- );
- create index library_feature_idx1 on library_feature (library_id);
- create index library_feature_idx2 on library_feature (feature_id);
- COMMENT ON TABLE library_feature IS 'library_feature links a library to the clones which are contained in the library. Examples of such linked features might be "cDNA_clone" or "genomic_clone".';
- create table library_dbxref (
- library_dbxref_id serial not null,
- primary key (library_dbxref_id),
- library_id int not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- is_current boolean not null default 'true',
- constraint library_dbxref_c1 unique (library_id,dbxref_id)
- );
- create index library_dbxref_idx1 on library_dbxref (library_id);
- create index library_dbxref_idx2 on library_dbxref (dbxref_id);
- create table cell_line (
- cell_line_id serial not null,
- primary key (cell_line_id),
- name varchar(255) null,
- uniquename varchar(255) not null,
- organism_id int not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY DEFERRED,
- timeaccessioned timestamp not null default current_timestamp,
- timelastmodified timestamp not null default current_timestamp,
- constraint cell_line_c1 unique (uniquename, organism_id)
- );
- grant all on cell_line to PUBLIC;
- create table cell_line_relationship (
- cell_line_relationship_id serial not null,
- primary key (cell_line_relationship_id),
- subject_id int not null,
- foreign key (subject_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- object_id int not null,
- foreign key (object_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- constraint cell_line_relationship_c1 unique (subject_id, object_id, type_id)
- );
- grant all on cell_line_relationship to PUBLIC;
- create table cell_line_synonym (
- cell_line_synonym_id serial not null,
- primary key (cell_line_synonym_id),
- cell_line_id int not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- synonym_id int not null,
- foreign key (synonym_id) references synonym (synonym_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- is_current boolean not null default 'false',
- is_internal boolean not null default 'false',
- constraint cell_line_synonym_c1 unique (synonym_id,cell_line_id,pub_id)
- );
- grant all on cell_line_synonym to PUBLIC;
- create table cell_line_cvterm (
- cell_line_cvterm_id serial not null,
- primary key (cell_line_cvterm_id),
- cell_line_id int not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id int not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- rank int not null default 0,
- constraint cell_line_cvterm_c1 unique (cell_line_id,cvterm_id,pub_id,rank)
- );
- grant all on cell_line_cvterm to PUBLIC;
- create table cell_line_dbxref (
- cell_line_dbxref_id serial not null,
- primary key (cell_line_dbxref_id),
- cell_line_id int not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id int not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- is_current boolean not null default 'true',
- constraint cell_line_dbxref_c1 unique (cell_line_id,dbxref_id)
- );
- grant all on cell_line_dbxref to PUBLIC;
- create table cell_lineprop (
- cell_lineprop_id serial not null,
- primary key (cell_lineprop_id),
- cell_line_id int not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint cell_lineprop_c1 unique (cell_line_id,type_id,rank)
- );
- grant all on cell_lineprop to PUBLIC;
- create table cell_lineprop_pub (
- cell_lineprop_pub_id serial not null,
- primary key (cell_lineprop_pub_id),
- cell_lineprop_id int not null,
- foreign key (cell_lineprop_id) references cell_lineprop (cell_lineprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint cell_lineprop_pub_c1 unique (cell_lineprop_id,pub_id)
- );
- grant all on cell_lineprop_pub to PUBLIC;
- create table cell_line_feature (
- cell_line_feature_id serial not null,
- primary key (cell_line_feature_id),
- cell_line_id int not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- feature_id int not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint cell_line_feature_c1 unique (cell_line_id, feature_id, pub_id)
- );
- grant all on cell_line_feature to PUBLIC;
- create table cell_line_cvtermprop (
- cell_line_cvtermprop_id serial not null,
- primary key (cell_line_cvtermprop_id),
- cell_line_cvterm_id int not null,
- foreign key (cell_line_cvterm_id) references cell_line_cvterm (cell_line_cvterm_id) on delete cascade INITIALLY DEFERRED,
- type_id int not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint cell_line_cvtermprop_c1 unique (cell_line_cvterm_id, type_id, rank)
- );
- grant all on cell_line_cvtermprop to PUBLIC;
- create table cell_line_pub (
- cell_line_pub_id serial not null,
- primary key (cell_line_pub_id),
- cell_line_id int not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint cell_line_pub_c1 unique (cell_line_id, pub_id)
- );
- grant all on cell_line_pub to PUBLIC;
- create table cell_line_library (
- cell_line_library_id serial not null,
- primary key (cell_line_library_id),
- cell_line_id int not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- library_id int not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- pub_id int not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint cell_line_library_c1 unique (cell_line_id, library_id, pub_id)
- );
- grant all on cell_line_library to PUBLIC;
- CREATE OR REPLACE VIEW gffatts (
- feature_id,
- type,
- attribute
- ) AS
- SELECT feature_id, 'cvterm' AS type, s.name AS attribute
- FROM cvterm s, feature_cvterm fs
- WHERE fs.cvterm_id = s.cvterm_id
- UNION ALL
- SELECT feature_id, 'dbxref' AS type, d.name || ':' || s.accession AS attribute
- FROM dbxref s, feature_dbxref fs, db d
- WHERE fs.dbxref_id = s.dbxref_id and s.db_id = d.db_id
- UNION ALL
- SELECT feature_id, 'synonym' AS type, s.name AS attribute
- FROM synonym s, feature_synonym fs
- WHERE fs.synonym_id = s.synonym_id
- UNION ALL
- SELECT fp.feature_id,cv.name,fp.value
- FROM featureprop fp, cvterm cv
- WHERE fp.type_id = cv.cvterm_id
- UNION ALL
- SELECT feature_id, 'pub' AS type, s.series_name || ':' || s.title AS attribute
- FROM pub s, feature_pub fs
- WHERE fs.pub_id = s.pub_id;
- CREATE OR REPLACE VIEW gff3atts (
- feature_id,
- type,
- attribute
- ) AS
- SELECT feature_id,
- 'Ontology_term' AS type,
- CASE WHEN db.name like '%Gene Ontology%' THEN 'GO:'|| dbx.accession
- WHEN db.name like 'Sequence Ontology%' THEN 'SO:'|| dbx.accession
- ELSE CAST(db.name||':'|| dbx.accession AS varchar)
- END
- FROM cvterm s, dbxref dbx, feature_cvterm fs, db
- WHERE fs.cvterm_id = s.cvterm_id and s.dbxref_id=dbx.dbxref_id and
- db.db_id = dbx.db_id
- UNION ALL
- SELECT feature_id, 'Dbxref' AS type, d.name || ':' || s.accession AS
- attribute
- FROM dbxref s, feature_dbxref fs, db d
- WHERE fs.dbxref_id = s.dbxref_id and s.db_id = d.db_id and
- d.name != 'GFF_source'
- UNION ALL
- SELECT f.feature_id, 'Alias' AS type, s.name AS attribute
- FROM synonym s, feature_synonym fs, feature f
- WHERE fs.synonym_id = s.synonym_id and f.feature_id = fs.feature_id and
- f.name != s.name and f.uniquename != s.name
- UNION ALL
- SELECT fp.feature_id,cv.name,fp.value
- FROM featureprop fp, cvterm cv
- WHERE fp.type_id = cv.cvterm_id
- UNION ALL
- SELECT feature_id, 'pub' AS type, s.series_name || ':' || s.title AS
- attribute
- FROM pub s, feature_pub fs
- WHERE fs.pub_id = s.pub_id
- UNION ALL
- SELECT fr.subject_id as feature_id, 'Parent' as type, parent.uniquename
- as attribute
- FROM feature_relationship fr, feature parent
- WHERE fr.object_id=parent.feature_id AND fr.type_id = (SELECT cvterm_id
- FROM cvterm WHERE name='part_of')
- UNION ALL
- SELECT fr.subject_id as feature_id, 'Derived_from' as type,
- parent.uniquename as attribute
- FROM feature_relationship fr, feature parent
- WHERE fr.object_id=parent.feature_id AND fr.type_id = (SELECT cvterm_id
- FROM cvterm WHERE name='derives_from')
- UNION ALL
- SELECT fl.feature_id, 'Target' as type, target.name || ' ' || fl.fmin+1
- || ' ' || fl.fmax || ' ' || fl.strand as attribute
- FROM featureloc fl, feature target
- WHERE fl.srcfeature_id=target.feature_id
- AND fl.rank != 0
- UNION ALL
- SELECT feature_id, 'ID' as type, uniquename as attribute
- FROM feature
- WHERE type_id NOT IN (SELECT cvterm_id FROM cvterm WHERE name='CDS')
- UNION ALL
- SELECT feature_id, 'chado_feature_id' as type, CAST(feature_id AS
- varchar) as attribute
- FROM feature
- UNION ALL
- SELECT feature_id, 'Name' as type, name as attribute
- FROM feature;
- CREATE OR REPLACE VIEW gff3view (
- feature_id, ref, source, type, fstart, fend,
- score, strand, phase, seqlen, name, organism_id
- ) AS
- SELECT
- f.feature_id, sf.name, gffdbx.accession, cv.name,
- fl.fmin+1, fl.fmax, af.significance, fl.strand,
- fl.phase, f.seqlen, f.name, f.organism_id
- FROM feature f
- LEFT JOIN featureloc fl ON (f.feature_id = fl.feature_id)
- LEFT JOIN feature sf ON (fl.srcfeature_id = sf.feature_id)
- LEFT JOIN ( SELECT fd.feature_id, d.accession
- FROM feature_dbxref fd
- JOIN dbxref d using(dbxref_id)
- JOIN db using(db_id)
- WHERE db.name = 'GFF_source'
- ) as gffdbx
- ON (f.feature_id=gffdbx.feature_id)
- LEFT JOIN cvterm cv ON (f.type_id = cv.cvterm_id)
- LEFT JOIN analysisfeature af ON (f.feature_id = af.feature_id);
- CREATE FUNCTION gfffeatureatts (integer)
- RETURNS SETOF gffatts
- AS
- '
- SELECT feature_id, ''cvterm'' AS type, s.name AS attribute
- FROM cvterm s, feature_cvterm fs
- WHERE fs.feature_id= $1 AND fs.cvterm_id = s.cvterm_id
- UNION
- SELECT feature_id, ''dbxref'' AS type, d.name || '':'' || s.accession AS attribute
- FROM dbxref s, feature_dbxref fs, db d
- WHERE fs.feature_id= $1 AND fs.dbxref_id = s.dbxref_id AND s.db_id = d.db_id
- --UNION
- --SELECT feature_id, ''expression'' AS type, s.description AS attribute
- --FROM expression s, feature_expression fs
- --WHERE fs.feature_id= $1 AND fs.expression_id = s.expression_id
- --UNION
- --SELECT fg.feature_id, ''genotype'' AS type, g.uniquename||'': ''||g.description AS attribute
- --FROM gcontext g, feature_gcontext fg
- --WHERE fg.feature_id= $1 AND g.gcontext_id = fg.gcontext_id
- --UNION
- --SELECT feature_id, ''genotype'' AS type, s.description AS attribute
- --FROM genotype s, feature_genotype fs
- --WHERE fs.feature_id= $1 AND fs.genotype_id = s.genotype_id
- --UNION
- --SELECT feature_id, ''phenotype'' AS type, s.description AS attribute
- --FROM phenotype s, feature_phenotype fs
- --WHERE fs.feature_id= $1 AND fs.phenotype_id = s.phenotype_id
- UNION
- SELECT feature_id, ''synonym'' AS type, s.name AS attribute
- FROM synonym s, feature_synonym fs
- WHERE fs.feature_id= $1 AND fs.synonym_id = s.synonym_id
- UNION
- SELECT fp.feature_id,cv.name,fp.value
- FROM featureprop fp, cvterm cv
- WHERE fp.feature_id= $1 AND fp.type_id = cv.cvterm_id
- UNION
- SELECT feature_id, ''pub'' AS type, s.series_name || '':'' || s.title AS attribute
- FROM pub s, feature_pub fs
- WHERE fs.feature_id= $1 AND fs.pub_id = s.pub_id
- '
- LANGUAGE SQL;
- CREATE OR REPLACE FUNCTION featureslice(int, int) RETURNS setof featureloc AS
- 'SELECT * from featureloc where boxquery($1, $2) @ boxrange(fmin,fmax)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION gffattstring (integer) RETURNS varchar AS
- 'DECLARE
- return_string varchar;
- f_id ALIAS FOR $1;
- atts_view gffatts%ROWTYPE;
- feature_row feature%ROWTYPE;
- name varchar;
- uniquename varchar;
- parent varchar;
- escape_loc int;
- BEGIN
- --Get name from feature.name
- --Get ID from feature.uniquename
-
- SELECT INTO feature_row * FROM feature WHERE feature_id = f_id;
- name = feature_row.name;
- return_string = ''ID='' || feature_row.uniquename;
- IF name IS NOT NULL AND name != ''''
- THEN
- return_string = return_string ||'';'' || ''Name='' || name;
- END IF;
-
- --Get Parent from feature_relationship
- SELECT INTO feature_row * FROM feature f, feature_relationship fr
- WHERE fr.subject_id = f_id AND fr.object_id = f.feature_id;
- IF FOUND
- THEN
- return_string = return_string||'';''||''Parent=''||feature_row.uniquename;
- END IF;
-
- FOR atts_view IN SELECT * FROM gff3atts WHERE feature_id = f_id LOOP
- escape_loc = position('';'' in atts_view.attribute);
- IF escape_loc > 0 THEN
- atts_view.attribute = replace(atts_view.attribute, '';'', ''%3B'');
- END IF;
- return_string = return_string || '';''
- || atts_view.type || ''=''
- || atts_view.attribute;
- END LOOP;
-
- RETURN return_string;
- END;
- '
- LANGUAGE plpgsql;
- CREATE OR REPLACE VIEW all_feature_names (
- feature_id,
- name,
- organism_id
- ) AS
- SELECT feature_id,CAST(substring(uniquename from 0 for 255) as varchar(255)) as name,organism_id FROM feature
- UNION
- SELECT feature_id, name, organism_id FROM feature where name is not null
- UNION
- SELECT fs.feature_id,s.name,f.organism_id FROM feature_synonym fs, synonym s, feature f
- WHERE fs.synonym_id = s.synonym_id AND fs.feature_id = f.feature_id
- UNION
- SELECT fp.feature_id, CAST(substring(fp.value from 0 for 255) as varchar(255)) as name,f.organism_id FROM featureprop fp, feature f
- WHERE f.feature_id = fp.feature_id
- UNION
- SELECT fd.feature_id, d.accession, f.organism_id FROM feature_dbxref fd, dbxref d,feature f
- WHERE fd.dbxref_id = d.dbxref_id AND fd.feature_id = f.feature_id;
- CREATE OR REPLACE VIEW dfeatureloc (
- featureloc_id,
- feature_id,
- srcfeature_id,
- nbeg,
- is_nbeg_partial,
- nend,
- is_nend_partial,
- strand,
- phase,
- residue_info,
- locgroup,
- rank
- ) AS
- SELECT featureloc_id, feature_id, srcfeature_id, fmin, is_fmin_partial,
- fmax, is_fmax_partial, strand, phase, residue_info, locgroup, rank
- FROM featureloc
- WHERE (strand < 0 or phase < 0)
- UNION
- SELECT featureloc_id, feature_id, srcfeature_id, fmax, is_fmax_partial,
- fmin, is_fmin_partial, strand, phase, residue_info, locgroup, rank
- FROM featureloc
- WHERE (strand is NULL or strand >= 0 or phase >= 0) ;
- CREATE OR REPLACE VIEW f_type
- AS
- SELECT f.feature_id,
- f.name,
- f.dbxref_id,
- c.name AS type,
- f.residues,
- f.seqlen,
- f.md5checksum,
- f.type_id,
- f.timeaccessioned,
- f.timelastmodified
- FROM feature f, cvterm c
- WHERE f.type_id = c.cvterm_id;
- CREATE OR REPLACE VIEW fnr_type
- AS
- SELECT f.feature_id,
- f.name,
- f.dbxref_id,
- c.name AS type,
- f.residues,
- f.seqlen,
- f.md5checksum,
- f.type_id,
- f.timeaccessioned,
- f.timelastmodified
- FROM feature f left outer join analysisfeature af
- on (f.feature_id = af.feature_id), cvterm c
- WHERE f.type_id = c.cvterm_id
- and af.feature_id is null;
- CREATE OR REPLACE VIEW f_loc
- AS
- SELECT f.feature_id,
- f.name,
- f.dbxref_id,
- fl.nbeg,
- fl.nend,
- fl.strand
- FROM dfeatureloc fl, f_type f
- WHERE f.feature_id = fl.feature_id;
- CREATE OR REPLACE VIEW fp_key
- AS
- SELECT fp.feature_id,
- c.name AS pkey,
- fp.value
- FROM featureprop fp, cvterm c
- WHERE fp.featureprop_id = c.cvterm_id;
- CREATE OR REPLACE VIEW feature_meets (
- subject_id,
- object_id
- ) AS
- SELECT
- x.feature_id,
- y.feature_id
- FROM
- featureloc AS x,
- featureloc AS y
- WHERE
- x.srcfeature_id=y.srcfeature_id
- AND
- ( x.fmax >= y.fmin AND x.fmin <= y.fmax );
- COMMENT ON VIEW feature_meets IS 'intervals have at least one
- interbase point in common (ie overlap OR abut). symmetric,reflexive';
- CREATE OR REPLACE VIEW feature_meets_on_same_strand (
- subject_id,
- object_id
- ) AS
- SELECT
- x.feature_id,
- y.feature_id
- FROM
- featureloc AS x,
- featureloc AS y
- WHERE
- x.srcfeature_id=y.srcfeature_id
- AND
- x.strand = y.strand
- AND
- ( x.fmax >= y.fmin AND x.fmin <= y.fmax );
- COMMENT ON VIEW feature_meets_on_same_strand IS 'as feature_meets, but
- featurelocs must be on the same strand. symmetric,reflexive';
- CREATE OR REPLACE VIEW feature_disjoint (
- subject_id,
- object_id
- ) AS
- SELECT
- x.feature_id,
- y.feature_id
- FROM
- featureloc AS x,
- featureloc AS y
- WHERE
- x.srcfeature_id=y.srcfeature_id
- AND
- ( x.fmax < y.fmin AND x.fmin > y.fmax );
- COMMENT ON VIEW feature_disjoint IS 'featurelocs do not meet. symmetric';
- CREATE OR REPLACE VIEW feature_union AS
- SELECT
- x.feature_id AS subject_id,
- y.feature_id AS object_id,
- x.srcfeature_id,
- x.strand AS subject_strand,
- y.strand AS object_strand,
- CASE WHEN x.fmin<y.fmin THEN x.fmin ELSE y.fmin END AS fmin,
- CASE WHEN x.fmax>y.fmax THEN x.fmax ELSE y.fmax END AS fmax
- FROM
- featureloc AS x,
- featureloc AS y
- WHERE
- x.srcfeature_id=y.srcfeature_id
- AND
- ( x.fmax >= y.fmin AND x.fmin <= y.fmax );
- COMMENT ON VIEW feature_union IS 'set-union on interval defined by featureloc. featurelocs must meet';
- CREATE OR REPLACE VIEW feature_intersection AS
- SELECT
- x.feature_id AS subject_id,
- y.feature_id AS object_id,
- x.srcfeature_id,
- x.strand AS subject_strand,
- y.strand AS object_strand,
- CASE WHEN x.fmin<y.fmin THEN y.fmin ELSE x.fmin END AS fmin,
- CASE WHEN x.fmax>y.fmax THEN y.fmax ELSE x.fmax END AS fmax
- FROM
- featureloc AS x,
- featureloc AS y
- WHERE
- x.srcfeature_id=y.srcfeature_id
- AND
- ( x.fmax >= y.fmin AND x.fmin <= y.fmax );
- COMMENT ON VIEW feature_intersection IS 'set-intersection on interval defined by featureloc. featurelocs must meet';
- CREATE OR REPLACE VIEW feature_difference (
- subject_id,
- object_id,
- srcfeature_id,
- fmin,
- fmax,
- strand
- ) AS
- SELECT
- x.feature_id,
- y.feature_id,
- x.strand,
- x.srcfeature_id,
- x.fmin,
- y.fmin
- FROM
- featureloc AS x,
- featureloc AS y
- WHERE
- x.srcfeature_id=y.srcfeature_id
- AND
- (x.fmin < y.fmin AND x.fmax >= y.fmax )
- UNION
- SELECT
- x.feature_id,
- y.feature_id,
- x.strand,
- x.srcfeature_id,
- y.fmax,
- x.fmax
- FROM
- featureloc AS x,
- featureloc AS y
- WHERE
- x.srcfeature_id=y.srcfeature_id
- AND
- (x.fmax > y.fmax AND x.fmin <= y.fmin );
- COMMENT ON VIEW feature_difference IS 'set-distance on interval defined by featureloc. featurelocs must meet';
- CREATE OR REPLACE VIEW feature_distance AS
- SELECT
- x.feature_id AS subject_id,
- y.feature_id AS object_id,
- x.srcfeature_id,
- x.strand AS subject_strand,
- y.strand AS object_strand,
- CASE WHEN x.fmax <= y.fmin THEN (x.fmax-y.fmin) ELSE (y.fmax-x.fmin) END AS distance
- FROM
- featureloc AS x,
- featureloc AS y
- WHERE
- x.srcfeature_id=y.srcfeature_id
- AND
- ( x.fmax <= y.fmin OR x.fmin >= y.fmax );
- COMMENT ON VIEW feature_difference IS 'size of gap between two features. must be abutting or disjoint';
- CREATE OR REPLACE VIEW feature_contains (
- subject_id,
- object_id
- ) AS
- SELECT
- x.feature_id,
- y.feature_id
- FROM
- featureloc AS x,
- featureloc AS y
- WHERE
- x.srcfeature_id=y.srcfeature_id
- AND
- ( y.fmin >= x.fmin AND y.fmin <= x.fmax );
- COMMENT ON VIEW feature_contains IS 'subject intervals contains (or is
- same as) object interval. transitive,reflexive';
- CREATE OR REPLACE VIEW featureset_meets (
- subject_id,
- object_id
- ) AS
- SELECT
- x.object_id,
- y.object_id
- FROM
- feature_meets AS r
- INNER JOIN feature_relationship AS x ON (r.subject_id = x.subject_id)
- INNER JOIN feature_relationship AS y ON (r.object_id = y.subject_id);
|