1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872 |
- -- $Id: general.sql,v 1.31 2007-03-01 02:45:54 briano Exp $
- -- ==========================================
- -- Chado general module
- --
- -- ================================================
- -- TABLE: tableinfo
- -- ================================================
- create table tableinfo (
- tableinfo_id bigserial 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 bigint null,
- superclass_table_id bigint 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;
- -- ================================================
- -- TABLE: db
- -- ================================================
- create table db (
- db_id bigserial not null,
- primary key (db_id),
- name varchar(255) not null,
- -- contact_id bigint,
- -- foreign key (contact_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- 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.';
- -- ================================================
- -- TABLE: dbxref
- -- ================================================
- create table dbxref (
- dbxref_id bigserial not null,
- primary key (dbxref_id),
- db_id bigint not null,
- foreign key (db_id) references db (db_id) on delete cascade INITIALLY DEFERRED,
- accession varchar(1024) 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 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 BIGINT AS
- 'DECLARE
- v_name ALIAS FOR $1;
- v_db_id BIGINT;
- 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 BIGINT AS
- 'DECLARE
- v_dbname ALIAS FOR $1;
- v_accession ALIAS FOR $2;
- v_db_id BIGINT;
- v_dbxref_id BIGINT;
- 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';
-
- -- $Id: cv.sql,v 1.37 2007-02-28 15:08:48 briano Exp $
- -- ==========================================
- -- Chado cv module
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import dbxref from db
- -- =================================================================
- -- ================================================
- -- TABLE: cv
- -- ================================================
- create table cv (
- cv_id bigserial 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.';
- -- ================================================
- -- TABLE: cvterm
- -- ================================================
- create table cvterm (
- cvterm_id bigserial not null,
- primary key (cvterm_id),
- cv_id bigint not null,
- foreign key (cv_id) references cv (cv_id) on delete cascade INITIALLY DEFERRED,
- name varchar(1024) not null,
- definition text,
- dbxref_id bigint 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.';
- -- ================================================
- -- TABLE: cvterm_relationship
- -- ================================================
- create table cvterm_relationship (
- cvterm_relationship_id bigserial not null,
- primary key (cvterm_relationship_id),
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- subject_id bigint not null,
- foreign key (subject_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint 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.';
- -- ================================================
- -- TABLE: cvtermpath
- -- ================================================
- create table cvtermpath (
- cvtermpath_id bigserial not null,
- primary key (cvtermpath_id),
- type_id bigint,
- foreign key (type_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- subject_id bigint not null,
- foreign key (subject_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint not null,
- foreign key (object_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- cv_id bigint 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).';
- -- ================================================
- -- TABLE: cvtermsynonym
- -- ================================================
- create table cvtermsynonym (
- cvtermsynonym_id bigserial not null,
- primary key (cvtermsynonym_id),
- cvterm_id bigint not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- synonym varchar(1024) not null,
- type_id bigint,
- 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.';
- -- ================================================
- -- TABLE: cvterm_dbxref
- -- ================================================
- create table cvterm_dbxref (
- cvterm_dbxref_id bigserial not null,
- primary key (cvterm_dbxref_id),
- cvterm_id bigint not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint 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.';
- -- ================================================
- -- TABLE: cvtermprop
- -- ================================================
- create table cvtermprop (
- cvtermprop_id bigserial not null,
- primary key (cvtermprop_id),
- cvterm_id bigint not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: dbxrefprop
- -- ================================================
- create table dbxrefprop (
- dbxrefprop_id bigserial not null,
- primary key (dbxrefprop_id),
- dbxref_id bigint not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: cvprop
- -- ================================================
- create table cvprop (
- cvprop_id bigserial not null,
- primary key (cvprop_id),
- cv_id bigint not null,
- foreign key (cv_id) references cv (cv_id) INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) INITIALLY DEFERRED,
- value text,
- rank int not null default 0,
- constraint cvprop_c1 unique (cv_id,type_id,rank)
- );
- COMMENT ON TABLE cvprop IS 'Additional extensible properties can be attached to a cv using this table. A notable example would be the cv version';
- COMMENT ON COLUMN cvprop.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 cvprop.value IS 'The value of the property, represented as text. Numeric values are converted to their text representation.';
- COMMENT ON COLUMN cvprop.rank IS 'Property-Value ordering. Any
- cv 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.';
- -- ================================================
- -- TABLE: chadoprop
- -- ================================================
- create table chadoprop (
- chadoprop_id bigserial not null,
- primary key (chadoprop_id),
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) INITIALLY DEFERRED,
- value text,
- rank int not null default 0,
- constraint chadoprop_c1 unique (type_id,rank)
- );
- COMMENT ON TABLE chadoprop IS 'This table is different from other prop tables in the database, as it is for storing information about the database itself, like schema version';
- COMMENT ON COLUMN chadoprop.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 chadoprop.value IS 'The value of the property, represented as text. Numeric values are converted to their text representation.';
- COMMENT ON COLUMN chadoprop.rank IS 'Property-Value ordering. Any
- cv 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.';
- -- ================================================
- -- TABLE: dbprop
- -- ================================================
- create table dbprop (
- dbprop_id bigserial not null,
- primary key (dbprop_id),
- db_id bigint not null,
- type_id bigint not null,
- value text null,
- rank int not null default 0,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- foreign key (db_id) references db (db_id) on delete cascade INITIALLY DEFERRED,
- constraint dbprop_c1 unique (db_id,type_id,rank)
- );
- create index dbprop_idx1 on dbprop (db_id);
- create index dbprop_idx2 on dbprop (type_id);
- COMMENT ON TABLE dbprop IS 'An external database 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, dbprop_c1, for
- the combination of db_id, rank, and type_id. Multivalued property-value pairs must be differentiated by rank.';
- 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(bigint) 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';
- ---arg: parent term id
- ---return: all children term id and their parent term id with relationship type id
- CREATE OR REPLACE FUNCTION get_all_subject_ids(bigint) 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(bigint) 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(bigint) 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(bigint) 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';
- ---arg: child term id
- ---return: all parent term id and their childrent term id with relationship type id
- CREATE OR REPLACE FUNCTION get_all_object_ids(bigint) 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';
- ---arg: sql statement which must be in the form of select cvterm_id from ...
- ---return: a set of cvterm ids that includes what is in sql statement and their children (subject ids)
- 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';
- --- example: select * from fill_cvtermpath(7); where 7 is cv_id for an ontology
- --- fill path from the node to its children and their children
- CREATE OR REPLACE FUNCTION _fill_cvtermpath4node(BIGINT, BIGINT, BIGINT, BIGINT, 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(BIGINT, BIGINT) RETURNS INTEGER AS
- '
- DECLARE
- rootid alias for $1;
- cvid alias for $2;
- ttype bigint;
- 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(BIGINT) 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 bigint;
- 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(BIGINT, BIGINT, BIGINT, BIGINT, INTEGER) RETURNS BIGINT 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 bigint;
- 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(BIGINT, BIGINT) RETURNS BIGINT AS
- '
- DECLARE
- rootid alias for $1;
- cvid alias for $2;
- ttype bigint;
- ccount int;
- cterm cvterm_relationship%ROWTYPE;
- child cvterm_relationship%ROWTYPE;
- rtn bigint;
- 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(BIGINT, BIGINT) RETURNS BIGINT AS
- '
- DECLARE
- cvid alias for $1;
- rootid alias for $2;
- rtn bigint;
- BEGIN
- CREATE TEMP TABLE tmpcvtermpath(object_id bigint, subject_id bigint, cv_id bigint, type_id bigint, 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(BIGINT) RETURNS SETOF BIGINT AS
- '
- DECLARE
- cvid alias for $1;
- root cvterm%ROWTYPE;
- rtn bigint;
- 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(BIGINT) RETURNS BIGINT AS
- '
- DECLARE
- cvid alias for $1;
- root cvterm%ROWTYPE;
- rtn bigint;
- BEGIN
- CREATE TEMP TABLE tmpcvtermpath(object_id bigint, subject_id bigint, cv_id bigint, type_id bigint, 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 BIGINT AS
- '
- DECLARE
- cvname alias for $1;
- cv_id bigint;
- rtn bigint;
- 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';
- -- $Id: contact.sql,v 1.5 2007-02-25 17:00:17 briano Exp $
- -- ==========================================
- -- Chado contact module
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import cvterm from cv
- -- =================================================================
- -- ================================================
- -- TABLE: contact
- -- ================================================
- CREATE TABLE contact (
- contact_id bigserial not null,
- primary key (contact_id),
- type_id bigint 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".';
- -- ================================================
- -- TABLE: contactprop
- -- ================================================
- CREATE TABLE contactprop (
- contactprop_id bigserial primary key not null,
- contact_id bigint NOT NULL,
- type_id bigint NOT NULL,
- value text,
- rank integer DEFAULT 0 NOT NULL,
- CONSTRAINT contactprop_c1 UNIQUE (contact_id, type_id, rank),
- FOREIGN KEY (contact_id) REFERENCES contact(contact_id) ON DELETE CASCADE,
- FOREIGN KEY (type_id) REFERENCES cvterm(cvterm_id) ON DELETE CASCADE
- );
- CREATE INDEX contactprop_idx1 ON contactprop USING btree (contact_id);
- CREATE INDEX contactprop_idx2 ON contactprop USING btree (type_id);
- COMMENT ON TABLE contactprop IS 'A contact 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.';
- -- ================================================
- -- TABLE: contact_relationship
- -- ================================================
- create table contact_relationship (
- contact_relationship_id bigserial not null,
- primary key (contact_relationship_id),
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- subject_id bigint not null,
- foreign key (subject_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint 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.';
- -- $Id: pub.sql,v 1.27 2007-02-19 20:50:44 briano Exp $
- -- ==========================================
- -- Chado pub module
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import cvterm from cv
- -- :import dbxref from db
- -- :import analysis from companalysis
- -- :import contact from contact
- -- =================================================================
- -- ================================================
- -- TABLE: pub
- -- ================================================
- create table pub (
- pub_id bigserial 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 bigint 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.';
- -- ================================================
- -- TABLE: pub_relationship
- -- ================================================
- create table pub_relationship (
- pub_relationship_id bigserial not null,
- primary key (pub_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint not null,
- foreign key (object_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: pub_dbxref
- -- ================================================
- create table pub_dbxref (
- pub_dbxref_id bigserial not null,
- primary key (pub_dbxref_id),
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint 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...';
- -- ================================================
- -- TABLE: pubauthor
- -- ================================================
- create table pubauthor (
- pubauthor_id bigserial not null,
- primary key (pubauthor_id),
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: pubprop
- -- ================================================
- create table pubprop (
- pubprop_id bigserial not null,
- primary key (pubprop_id),
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: pubauthor_contact
- -- ================================================
- CREATE TABLE pubauthor_contact (
- pubauthor_contact_id bigserial primary key NOT NULL,
- contact_id bigint NOT NULL,
- pubauthor_id bigint NOT NULL,
- CONSTRAINT pubauthor_contact_c1 UNIQUE (contact_id, pubauthor_id),
- FOREIGN KEY (pubauthor_id) REFERENCES pubauthor(pubauthor_id) ON DELETE CASCADE,
- FOREIGN KEY (contact_id) REFERENCES contact(contact_id) ON DELETE CASCADE
- );
- CREATE INDEX pubauthor_contact_idx1 ON pubauthor USING btree (pubauthor_id);
- CREATE INDEX pubauthor_contact_idx2 ON contact USING btree (contact_id);
- COMMENT ON TABLE pubauthor_contact IS 'An author on a publication may have a corresponding entry in the contact table and this table can link the two.';
- -- $Id: organism.sql,v 1.19 2007/04/01 18:45:41 briano Exp $
- -- ==========================================
- -- Chado organism module
- --
- -- ============
- -- DEPENDENCIES
- -- ============
- -- :import cvterm from cv
- -- :import dbxref from db
- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- -- ================================================
- -- TABLE: organism
- -- ================================================
- create table organism (
- organism_id bigserial 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,
- infraspecific_name varchar(1024) null,
- type_id bigint default null,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- comment text null,
- constraint organism_c1 unique (genus,species,type_id,infraspecific_name)
- );
- 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.';
- COMMENT ON COLUMN organism.type_id IS 'A controlled vocabulary term that
- specifies the organism rank below species. It is used when an infraspecific
- name is provided. Ideally, the rank should be a valid ICN name such as
- subspecies, varietas, subvarietas, forma and subforma';
- COMMENT ON COLUMN organism.infraspecific_name IS 'The scientific name for any taxon
- below the rank of species. The rank should be specified using the type_id field
- and the name is provided here.';
- -- ================================================
- -- TABLE: organism_dbxref
- -- ================================================
- create table organism_dbxref (
- organism_dbxref_id bigserial not null,
- primary key (organism_dbxref_id),
- organism_id bigint not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint 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);
- COMMENT ON TABLE organism_dbxref IS 'Links an organism to a dbxref.';
- -- ================================================
- -- TABLE: organismprop
- -- ================================================
- create table organismprop (
- organismprop_id bigserial not null,
- primary key (organismprop_id),
- organism_id bigint not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: organismprop_pub
- -- ================================================
- create table organismprop_pub (
- organismprop_pub_id bigserial not null,
- primary key (organismprop_pub_id),
- organismprop_id bigint not null,
- foreign key (organismprop_id) references organismprop (organismprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int not null default 0,
- constraint organismprop_pub_c1 unique (organismprop_id,pub_id)
- );
- create index organismprop_pub_idx1 on organismprop_pub (organismprop_id);
- create index organismprop_pub_idx2 on organismprop_pub (pub_id);
- COMMENT ON TABLE organismprop_pub IS 'Attribution for organismprop.';
- -- ================================================
- -- TABLE: organism_pub
- -- ================================================
- create table organism_pub (
- organism_pub_id bigserial not null,
- primary key (organism_pub_id),
- organism_id bigint not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint organism_pub_c1 unique (organism_id,pub_id)
- );
- create index organism_pub_idx1 on organism_pub (organism_id);
- create index organism_pub_idx2 on organism_pub (pub_id);
- COMMENT ON TABLE organism_pub IS 'Attribution for organism.';
- -- ================================================
- -- TABLE: organism_cvterm
- -- ================================================
- create table organism_cvterm (
- organism_cvterm_id bigserial not null,
- primary key (organism_cvterm_id),
- organism_id bigint not null,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY
- DEFERRED,
- cvterm_id bigint not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- rank int not null default 0,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint organism_cvterm_c1 unique(organism_id,cvterm_id,pub_id)
- );
- create index organism_cvterm_idx1 on organism_cvterm (organism_id);
- create index organism_cvterm_idx2 on organism_cvterm (cvterm_id);
- COMMENT ON TABLE organism_cvterm IS 'organism to cvterm associations. Examples: taxonomic name';
- COMMENT ON COLUMN organism_cvterm.rank IS 'Property-Value
- ordering. Any organism_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';
- -- ================================================
- -- TABLE: organism_cvtermprop
- -- ================================================
- create table organism_cvtermprop (
- organism_cvtermprop_id bigserial not null,
- primary key (organism_cvtermprop_id),
- organism_cvterm_id bigint not null,
- foreign key (organism_cvterm_id) references organism_cvterm (organism_cvterm_id) on delete cascade,
- type_id bigint 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 organism_cvtermprop_c1 unique (organism_cvterm_id,type_id,rank)
- );
- create index organism_cvtermprop_idx1 on organism_cvtermprop (organism_cvterm_id);
- create index organism_cvtermprop_idx2 on organism_cvtermprop (type_id);
- COMMENT ON TABLE organism_cvtermprop IS 'Extensible properties for
- organism to cvterm associations. Examples: qualifiers';
- COMMENT ON COLUMN organism_cvtermprop.type_id IS 'The name of the
- property/slot is a cvterm. The meaning of the property is defined in
- that cvterm. ';
- COMMENT ON COLUMN organism_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 organism_cvtermprop.rank IS 'Property-Value
- ordering. Any organism_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';
- -- ================================================
- -- TABLE: organism_relationship
- -- ================================================
- CREATE TABLE organism_relationship (
- organism_relationship_id bigserial primary key NOT NULL,
- subject_id bigint NOT NULL,
- object_id bigint NOT NULL,
- type_id bigint NOT NULL,
- rank integer DEFAULT 0 NOT NULL,
- CONSTRAINT organism_relationship_c1 UNIQUE (subject_id, object_id, type_id, rank),
- FOREIGN KEY (object_id) REFERENCES organism(organism_id) ON DELETE CASCADE,
- FOREIGN KEY (subject_id) REFERENCES organism(organism_id) ON DELETE CASCADE,
- FOREIGN KEY (type_id) REFERENCES cvterm(cvterm_id) ON DELETE CASCADE
- );
- CREATE INDEX organism_relationship_idx1 ON organism_relationship USING btree (subject_id);
- CREATE INDEX organism_relationship_idx2 ON organism_relationship USING btree (object_id);
- CREATE INDEX organism_relationship_idx3 ON organism_relationship USING btree (type_id);
- COMMENT ON TABLE organism_relationship IS 'Specifies relationships between organisms
- that are not taxonomic. For example, in breeding, relationships such as
- "sterile_with", "incompatible_with", or "fertile_with" would be appropriate. Taxonomic
- relatinoships should be housed in the phylogeny tables.';
- CREATE OR REPLACE FUNCTION get_organism_id(VARCHAR,VARCHAR) RETURNS BIGINT
- AS '
- SELECT organism_id
- FROM organism
- WHERE genus=$1
- AND species=$2
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_organism_id(VARCHAR) RETURNS BIGINT
- 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 BIGINT
- 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 BIGINT AS
- 'DECLARE
- v_genus ALIAS FOR $1;
- v_species ALIAS FOR $2;
- v_common_name ALIAS FOR $3;
- v_organism_id BIGINT;
- 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';
-
- -- $Id: sequence.sql,v 1.69 2009-05-14 02:44:23 scottcain Exp $
- -- ==========================================
- -- Chado sequence module
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import cvterm from cv
- -- :import pub from pub
- -- :import organism from organism
- -- :import dbxref from db
- -- :import contact from contact
- -- =================================================================
- -- ================================================
- -- TABLE: feature
- -- ================================================
- create table feature (
- feature_id bigserial not null,
- primary key (feature_id),
- dbxref_id bigint,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- organism_id bigint 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 bigint,
- md5checksum char(32),
- type_id bigint 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));
- create index feature_idx1b on feature (feature_id, dbxref_id) where dbxref_id is not null;
- 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.';
- --- COMMENT ON INDEX feature_c1 IS 'Any feature can be globally identified
- --- by the combination of organism, uniquename and feature type';
- -- ================================================
- -- TABLE: featureloc
- -- ================================================
- create table featureloc (
- featureloc_id bigserial not null,
- primary key (featureloc_id),
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- srcfeature_id bigint,
- foreign key (srcfeature_id) references feature (feature_id) on delete set null INITIALLY DEFERRED,
- fmin bigint,
- is_fmin_partial boolean not null default 'false',
- fmax bigint,
- 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);
- create index featureloc_idx1b on featureloc (feature_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.';
- --- COMMENT ON INDEX featureloc_c1 IS 'locgroup and rank serve to uniquely
- --- partition locations for any one feature';
- -- ================================================
- -- TABLE: featureloc_pub
- -- ================================================
- create table featureloc_pub (
- featureloc_pub_id bigserial not null,
- primary key (featureloc_pub_id),
- featureloc_id bigint not null,
- foreign key (featureloc_id) references featureloc (featureloc_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: feature_pub
- -- ================================================
- create table feature_pub (
- feature_pub_id bigserial not null,
- primary key (feature_pub_id),
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: feature_pubprop
- -- ================================================
- create table feature_pubprop (
- feature_pubprop_id bigserial not null,
- primary key (feature_pubprop_id),
- feature_pub_id bigint not null,
- foreign key (feature_pub_id) references feature_pub (feature_pub_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: featureprop
- -- ================================================
- create table featureprop (
- featureprop_id bigserial not null,
- primary key (featureprop_id),
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: featureprop_pub
- -- ================================================
- create table featureprop_pub (
- featureprop_pub_id bigserial not null,
- primary key (featureprop_pub_id),
- featureprop_id bigint not null,
- foreign key (featureprop_id) references featureprop (featureprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: feature_dbxref
- -- ================================================
- create table feature_dbxref (
- feature_dbxref_id bigserial not null,
- primary key (feature_dbxref_id),
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint 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';
- -- ================================================
- -- TABLE: feature_relationship
- -- ================================================
- create table feature_relationship (
- feature_relationship_id bigserial not null,
- primary key (feature_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint not null,
- foreign key (object_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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);
- create index feature_relationship_idx1b on feature_relationship (object_id, subject_id, 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.';
- -- ================================================
- -- TABLE: feature_relationship_pub
- -- ================================================
-
- create table feature_relationship_pub (
- feature_relationship_pub_id bigserial not null,
- primary key (feature_relationship_pub_id),
- feature_relationship_id bigint not null,
- foreign key (feature_relationship_id) references feature_relationship (feature_relationship_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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.';
-
- -- ================================================
- -- TABLE: feature_relationshipprop
- -- ================================================
- create table feature_relationshipprop (
- feature_relationshipprop_id bigserial not null,
- primary key (feature_relationshipprop_id),
- feature_relationship_id bigint not null,
- foreign key (feature_relationship_id) references feature_relationship (feature_relationship_id) on delete cascade,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: feature_relationshipprop_pub
- -- ================================================
- create table feature_relationshipprop_pub (
- feature_relationshipprop_pub_id bigserial not null,
- primary key (feature_relationshipprop_pub_id),
- feature_relationshipprop_id bigint not null,
- foreign key (feature_relationshipprop_id) references feature_relationshipprop (feature_relationshipprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: feature_cvterm
- -- ================================================
- create table feature_cvterm (
- feature_cvterm_id bigserial not null,
- primary key (feature_cvterm_id),
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id bigint not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- is_not boolean not null default false,
- rank int 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.';
- -- ================================================
- -- TABLE: feature_cvtermprop
- -- ================================================
- create table feature_cvtermprop (
- feature_cvtermprop_id bigserial not null,
- primary key (feature_cvtermprop_id),
- feature_cvterm_id bigint not null,
- foreign key (feature_cvterm_id) references feature_cvterm (feature_cvterm_id) on delete cascade,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: feature_cvterm_dbxref
- -- ================================================
- create table feature_cvterm_dbxref (
- feature_cvterm_dbxref_id bigserial not null,
- primary key (feature_cvterm_dbxref_id),
- feature_cvterm_id bigint not null,
- foreign key (feature_cvterm_id) references feature_cvterm (feature_cvterm_id) on delete cascade,
- dbxref_id bigint 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.';
- -- ================================================
- -- TABLE: feature_cvterm_pub
- -- ================================================
- create table feature_cvterm_pub (
- feature_cvterm_pub_id bigserial not null,
- primary key (feature_cvterm_pub_id),
- feature_cvterm_id bigint not null,
- foreign key (feature_cvterm_id) references feature_cvterm (feature_cvterm_id) on delete cascade,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: synonym
- -- ================================================
- create table synonym (
- synonym_id bigserial not null,
- primary key (synonym_id),
- name varchar(255) not null,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: feature_synonym
- -- ================================================
- create table feature_synonym (
- feature_synonym_id bigserial not null,
- primary key (feature_synonym_id),
- synonym_id bigint not null,
- foreign key (synonym_id) references synonym (synonym_id) on delete cascade INITIALLY DEFERRED,
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: feature_contact
- -- ================================================
- CREATE TABLE feature_contact (
- feature_contact_id bigserial primary key NOT NULL,
- feature_id bigint NOT NULL,
- contact_id bigint NOT NULL,
- CONSTRAINT feature_contact_c1 UNIQUE (feature_id, contact_id),
- FOREIGN KEY (contact_id) REFERENCES contact(contact_id) ON DELETE CASCADE,
- FOREIGN KEY (feature_id) REFERENCES feature(feature_id) ON DELETE CASCADE
- );
- CREATE INDEX feature_contact_idx1 ON feature_contact USING btree (feature_id);
- CREATE INDEX feature_contact_idx2 ON feature_contact USING btree (contact_id);
- COMMENT ON TABLE feature_contact IS 'Links contact(s) with a feature. Used to indicate a particular
- person or organization responsible for discovery or that can provide more information on a particular feature.';
- 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 BIGINT PRIMARY KEY NOT NULL,
- organismstr VARCHAR(512) NOT NULL
- );
- CREATE TABLE gencode_codon_aa (
- gencode_id BIGINT NOT NULL REFERENCES gencode(gencode_id),
- codon CHAR(3) NOT NULL,
- aa CHAR(1) NOT NULL,
- CONSTRAINT gencode_codon_unique UNIQUE( gencode_id, codon )
- );
- CREATE INDEX gencode_codon_aa_i1 ON gencode_codon_aa(gencode_id,codon,aa);
- CREATE TABLE gencode_startcodon (
- gencode_id BIGINT NOT NULL REFERENCES gencode(gencode_id),
- codon CHAR(3),
- CONSTRAINT gencode_startcodon_unique UNIQUE( gencode_id, codon )
- );
- SET search_path = public,pg_catalog;
- --
- -- functions operating on featureloc ranges
- --
- -- create a point
- CREATE OR REPLACE FUNCTION create_point (bigint, bigint) RETURNS point AS
- 'SELECT point ($1, $2)'
- LANGUAGE 'sql';
- -- create a range box
- -- (make this immutable so we can index it)
- CREATE OR REPLACE FUNCTION boxrange (bigint, bigint) RETURNS box AS
- 'SELECT box (create_point(0, $1), create_point($2,500000000))'
- LANGUAGE 'sql' IMMUTABLE;
- -- create a query box
- CREATE OR REPLACE FUNCTION boxquery (bigint, bigint) RETURNS box AS
- 'SELECT box (create_point($1, $2), create_point($1, $2))'
- LANGUAGE 'sql' IMMUTABLE;
- --functional index that depends on the above functions
- CREATE INDEX binloc_boxrange ON featureloc USING GIST (boxrange(fmin, fmax));
- CREATE OR REPLACE FUNCTION featureloc_slice(bigint, bigint) RETURNS setof featureloc AS
- 'SELECT * from featureloc where boxquery($1, $2) @ boxrange(fmin,fmax)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION featureloc_slice(varchar, bigint, bigint)
- 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(bigint, bigint, bigint)
- RETURNS setof featureloc AS
- 'SELECT *
- FROM featureloc
- WHERE boxquery($2, $3) @ boxrange(fmin,fmax)
- AND srcfeature_id = $1 '
- LANGUAGE 'sql';
- -- can we not just do these as views?
- CREATE OR REPLACE FUNCTION feature_overlaps(bigint)
- 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(bigint)
- 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';
- --Evolution of the methods found in range.plpgsql (C. Pommier)
- --Goal : increase performances of segment fetching
- -- Implies to optimise featureloc_slice
- --Background : The existing featureloc_slice uses uses a spatial rtree index. The spatial objects used are a boxrange ((0,fmin), (fmax,500000000)) and a boxquery ((fmin,fmax),(fmin,fmax)) . The boxranges are indexed.
- -- To speed up things (for gbrowse) featureloc_slice has been overiden to filter simultaneously on the boxrange and the srcfeature_id. This gives good results.
- -- The goal here is to push this logic further and to include the srcfeature_id filter directly into the boxrange object. We propose to consider the following boxs :
- -- boxrange : ((srcfeature_id,fmin),(srcfeature_id,fmax))
- -- boxquery : ((srcfeature_id,fmin),(srcfeature_id,fmax))
- CREATE OR REPLACE FUNCTION boxrange (bigint, bigint, bigint) RETURNS box AS
- 'SELECT box (create_point($1, $2), create_point($1,$3))'
- LANGUAGE 'sql' IMMUTABLE;
- -- create a query box
- CREATE OR REPLACE FUNCTION boxquery (bigint, bigint, bigint) RETURNS box AS
- 'SELECT box (create_point($1, $2), create_point($1, $3))'
- LANGUAGE 'sql' IMMUTABLE;
- CREATE INDEX binloc_boxrange_src ON featureloc USING GIST (boxrange(srcfeature_id,fmin, fmax));
- CREATE OR REPLACE FUNCTION featureloc_slice(bigint, bigint, bigint)
- RETURNS setof featureloc AS
- 'SELECT *
- FROM featureloc
- WHERE boxquery($1, $2, $3) && boxrange(srcfeature_id,fmin,fmax)'
- LANGUAGE 'sql';
- -- reverse_string
- 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;
- -- complements DNA
- CREATE OR REPLACE FUNCTION complement_residues(text) RETURNS text AS
- 'SELECT (translate($1,
- ''acgtrymkswhbvdnxACGTRYMKSWHBVDNX'',
- ''tgcayrkmswdvbhnxTGCAYRKMSWDVBHNX''))'
- LANGUAGE 'sql';
- -- revcomp
- CREATE OR REPLACE FUNCTION reverse_complement(TEXT) RETURNS TEXT AS
- 'SELECT reverse_string(complement_residues($1))'
- LANGUAGE 'sql';
- -- DNA to AA
- CREATE OR REPLACE FUNCTION translate_dna(TEXT,BIGINT) RETURNS TEXT AS
- '
- DECLARE
- dnaseq ALIAS FOR $1;
- gcode ALIAS FOR $2;
- translation TEXT;
- dnaseqlen BIGINT;
- 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;
- -- DNA to AA, default genetic code
- CREATE OR REPLACE FUNCTION translate_dna(TEXT) RETURNS TEXT AS
- 'SELECT translate_dna($1,1)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION translate_codon(TEXT,BIGINT) 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 = ''
- );
- --function to 'unshare' exons. It looks for exons that have the same fmin
- --and fmax and belong to the same gene and only keeps one. The other,
- --redundant exons are marked obsolete in the feature table. Nothing
- --is done with those features' entries in the featureprop, feature_dbxref,
- --feature_pub, or feature_cvterm tables. For the moment, I'm assuming
- --that any annotations that they have when this script is run are
- --identical to their non-obsoleted doppelgangers. If that's not the case,
- --they could be merged via query.
- --
- --The bulk of this code was contributed by Robin Houston at
- --GeneDB/Sanger Centre.
- 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';
- --This is a function to seek out exons of transcripts and orders them,
- --using feature_relationship.rank, in "transcript order" numbering
- --from 0, taking strand into account. It will not touch transcripts that
- --already have their exons ordered (in case they have a non-obvious
- --ordering due to trans splicing). It takes as an argument the
- --feature.type_id of the parent transcript type (typically, mRNA, although
- --non coding transcript types should work too).
- CREATE OR REPLACE FUNCTION order_exons (bigint) RETURNS void AS '
- DECLARE
- parent_type ALIAS FOR $1;
- exon_id bigint;
- part_of bigint;
- exon_type bigint;
- strand int;
- arow RECORD;
- order_by varchar;
- rowcount int;
- exon_count int;
- ordered_exons int;
- transcript_id bigint;
- 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';
- -- down the graph: eg from chromosome to contig
- CREATE OR REPLACE FUNCTION project_point_up(bigint,bigint,bigint,bigint)
- RETURNS bigint AS
- 'SELECT
- CASE WHEN $4<0
- THEN $3-$1 -- rev strand
- ELSE $1-$2 -- fwd strand
- END AS p'
- LANGUAGE 'sql';
- -- down the graph: eg from contig to chromosome
- CREATE OR REPLACE FUNCTION project_point_down(bigint,bigint,bigint,bigint)
- RETURNS bigint AS
- 'SELECT
- CASE WHEN $4<0
- THEN $3-$1
- ELSE $1+$2
- END AS p'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION project_featureloc_up(bigint,bigint)
- 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 BIGINT;
- nu_fmax BIGINT;
- 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(bigint,bigint,bigint)
- RETURNS BIGINT AS '
- DECLARE
- in_p alias for $1;
- srcf_id alias for $2;
- t_id alias for $3;
- e_floc featureloc%ROWTYPE;
- out_p BIGINT;
- exon_cvterm_id BIGINT;
- 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 BIGINT
- AS 'SELECT cv_id FROM cv WHERE name=''sequence''' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_cv_id_for_featureprop() RETURNS BIGINT
- AS 'SELECT cv_id FROM cv WHERE name=''feature_property''' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_cv_id_for_feature_relationsgip() RETURNS BIGINT
- AS 'SELECT cv_id FROM cv WHERE name=''relationship''' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION get_feature_type_id(VARCHAR) RETURNS BIGINT
- 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 BIGINT
- 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 BIGINT
- AS '
- SELECT cvterm_id
- FROM cv INNER JOIN cvterm USING (cv_id)
- WHERE cvterm.name=$1 AND cv.name=''relationship''
- ' LANGUAGE 'sql';
- -- depends on sequence-cv-helper
- CREATE OR REPLACE FUNCTION get_feature_id(VARCHAR,VARCHAR,VARCHAR) RETURNS BIGINT
- 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';
- --This is an automatically generated file; do not edit it as changes will not
- --be saved. Instead, modify bin/create-so-bridge.pl, which creates this file.
- CREATE SCHEMA so;
- SET search_path=so,public,pg_catalog;
- --- ************************************************
- --- *** relation: region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence_feature with an extent greate ***
- --- *** r than zero. A nucleotide region is comp ***
- --- *** osed of bases and a polypeptide region i ***
- --- *** s composed of amino acids. ***
- --- ************************************************
- ---
- 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 = 'ASPE_primer' OR cvterm.name = 'dCAPS_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 = 'targeting_vector' 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 = '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 = 'high_identity_region' OR cvterm.name = 'mathematically_defined_repeat' OR cvterm.name = 'experimentally_defined_binding_region' 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 = 'paired_end_fragment' OR cvterm.name = 'read_pair' 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 = 'YAC_end' OR cvterm.name = 'clone_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 = 'RR_tract' OR cvterm.name = 'homologous_region' OR cvterm.name = 'centromere_DNA_Element_I' OR cvterm.name = 'centromere_DNA_Element_II' OR cvterm.name = 'centromere_DNA_Element_III' OR cvterm.name = 'X_element' OR cvterm.name = 'U_box' OR cvterm.name = 'regional_centromere_central_core' 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 = 'assembly_error_correction' OR cvterm.name = 'base_call_error_correction' 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 = 'contig_collection' 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 = 'CHiP_seq_region' 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 = 'pseudogene' 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 = 'repeat_region' OR cvterm.name = 'insertion' OR cvterm.name = 'gene' OR cvterm.name = 'repeat_unit' OR cvterm.name = 'QTL' 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 = 'genetic_marker' OR cvterm.name = 'sequence_motif' OR cvterm.name = 'restriction_enzyme_recognition_site' OR cvterm.name = 'restriction_enzyme_single_strand_overhang' OR cvterm.name = 'epigenetically_modified_region' OR cvterm.name = 'open_chromatin_region' 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 = 'recombination_signal_sequence' 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 = 'processed_pseudogene' OR cvterm.name = 'non_processed_pseudogene' OR cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'duplicated_pseudogene' OR cvterm.name = 'unitary_pseudogene' OR cvterm.name = 'protein_binding_site' OR cvterm.name = 'epitope' OR cvterm.name = 'nucleotide_binding_site' OR cvterm.name = 'metal_binding_site' OR cvterm.name = 'ligand_binding_site' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'nucleotide_to_protein_binding_site' 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 = 'miRNA_target_site' OR cvterm.name = 'DNA_binding_site' OR cvterm.name = 'primer_binding_site' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_metal_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_ligand_contact' 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 = '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 = 'X_element_combinatorial_repeat' OR cvterm.name = 'Y_prime_element' OR cvterm.name = 'telomeric_repeat' OR cvterm.name = 'nested_repeat' OR cvterm.name = 'centromeric_repeat' 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 = 'nested_tandem_repeat' OR cvterm.name = 'regional_centromere_inner_repeat_region' OR cvterm.name = 'regional_centromere_outer_repeat_region' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'duplication' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' 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_with_non_canonical_start_codon' 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 = 'rRNA_gene' OR cvterm.name = 'piRNA_gene' OR cvterm.name = 'RNase_P_RNA_gene' OR cvterm.name = 'RNase_MRP_RNA_gene' OR cvterm.name = 'lincRNA_gene' OR cvterm.name = 'telomerase_RNA_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'gene_with_start_codon_CUG' 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 = 'point_centromere' OR cvterm.name = 'regional_centromere' 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 = 'processed_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 = 'tasiRNA_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 = 'edited_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 = 'tasiRNA' 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 = 'transcription_regulatory_region' OR cvterm.name = 'translation_regulatory_region' OR cvterm.name = 'recombination_regulatory_region' OR cvterm.name = 'replication_regulatory_region' 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 = 'intronic_regulatory_region' 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 = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'ISRE' 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_II_core_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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'attenuator' 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 = 'ribosome_entry_site' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' 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 = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'kozak_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' 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 = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'codon' 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 = '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 = 'cryptic_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 = 'SL3_acceptor_site' OR cvterm.name = 'SL4_acceptor_site' OR cvterm.name = 'SL5_acceptor_site' OR cvterm.name = 'SL6_acceptor_site' OR cvterm.name = 'SL7_acceptor_site' OR cvterm.name = 'SL8_acceptor_site' OR cvterm.name = 'SL9_acceptor_site' OR cvterm.name = 'SL10_accceptor_site' OR cvterm.name = 'SL11_acceptor_site' OR cvterm.name = 'SL12_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 = 'peptide_localization_signal' 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 = 'transit_peptide' OR cvterm.name = 'nuclear_localization_signal' OR cvterm.name = 'endosomal_localization_signal' OR cvterm.name = 'lysosomal_localization_signal' OR cvterm.name = 'nuclear_export_signal' OR cvterm.name = 'nuclear_rim_localization_signal' OR cvterm.name = 'cleaved_initiator_methionine' 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 = 'histone_modification' OR cvterm.name = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' 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 = 'pseudogenic_gene_segment' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'extrachromosomal_mobile_genetic_element' OR cvterm.name = 'integrated_mobile_genetic_element' OR cvterm.name = 'natural_transposable_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 = '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 = 'nested_transposon' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' 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 = 'p_element' 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 = '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 = 'targeting_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 = '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 = '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 = 'arginine' 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 = 'heritable_phenotypic_marker' OR cvterm.name = 'DArT_marker' OR cvterm.name = 'nucleotide_motif' OR cvterm.name = 'DNA_motif' OR cvterm.name = 'RNA_motif' OR cvterm.name = 'PSE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'retinoic_acid_responsive_element' OR cvterm.name = 'promoter_element' OR cvterm.name = 'DCE_SI' OR cvterm.name = 'DCE_SII' OR cvterm.name = 'DCE_SIII' OR cvterm.name = 'minus_12_signal' OR cvterm.name = 'minus_24_signal' OR cvterm.name = 'GC_rich_promoter_region' 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 = 'core_promoter_element' OR cvterm.name = 'regulatory_promoter_element' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BREu_motif' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'MTE' OR cvterm.name = 'BREd_motif' OR cvterm.name = 'DCE' OR cvterm.name = 'intermediate_element' OR cvterm.name = 'RNA_polymerase_II_TATA_box' OR cvterm.name = 'RNA_polymerase_III_TATA_box' OR cvterm.name = 'A_box_type_1' OR cvterm.name = 'A_box_type_2' OR cvterm.name = 'proximal_promoter_element' OR cvterm.name = 'distal_promoter_element' 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 = 'blunt_end_restriction_enzyme_cleavage_site' OR cvterm.name = 'sticky_end_restriction_enzyme_cleavage_site' OR cvterm.name = 'modified_base' OR cvterm.name = 'epigenetically_modified_gene' OR cvterm.name = 'histone_modification' OR cvterm.name = 'methylated_base_feature' OR cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' 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 = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' OR cvterm.name = 'operon' OR cvterm.name = 'mating_type_region' 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 = 'MNP' OR cvterm.name = 'SNV' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'point_mutation' 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_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 = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'LTR_component' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'transposon_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';
- --- ************************************************
- --- *** relation: sequence_secondary_structure ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A folded sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: g_quartet ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** G-quartets are unusual nucleic acid stru ***
- --- *** ctures consisting of a planar arrangemen ***
- --- *** t where each guanine is hydrogen bonded ***
- --- *** by hoogsteen pairing to another guanine ***
- --- *** in the quartet. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: interior_coding_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: satellite_dna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The many tandem repeats (identical or re ***
- --- *** lated) of a short basic repeating unit; ***
- --- *** many have a base composition or other pr ***
- --- *** operty different from the genome average ***
- --- *** that allows them to be separated from t ***
- --- *** he bulk (main band) genomic DNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pcr_product ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region amplified by a PCR reaction. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: read_pair ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** One of a pair of sequencing reads in whi ***
- --- *** ch the two members of the pair are relat ***
- --- *** ed by originating at either end of a clo ***
- --- *** ne insert. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: protein_coding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: non_protein_coding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: scrna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The primary transcript of any one of sev ***
- --- *** eral small cytoplasmic RNA molecules pre ***
- --- *** sent in the cytoplasm and sometimes nucl ***
- --- *** eus of a eukaryote. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: scrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A small non coding RNA sequence, present ***
- --- *** in the cytoplasm. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inr_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters required f ***
- --- *** or the correct positioning of the polyme ***
- --- *** rase for the start of transcription. Ove ***
- --- *** rlaps the TSS. The mammalian consensus s ***
- --- *** equence is YYAN(T|A)YY; the Drosophila c ***
- --- *** onsensus sequence is TCA(G|T)t(T|C). In ***
- --- *** each the A is at position +1 with respec ***
- --- *** t to the TSS. Functionally similar to th ***
- --- *** e TATA box element. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dpe_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters; Positione ***
- --- *** d from +28 to +32 with respect to the TS ***
- --- *** S (+1). Experimental results suggest tha ***
- --- *** t the DPE acts in conjunction with the I ***
- --- *** NR_motif to provide a binding site for T ***
- --- *** FIID in the absence of a TATA box to med ***
- --- *** iate transcription of TATA-less promoter ***
- --- *** s. Consensus sequence (A|G)G(A|T)(C|T)(G ***
- --- *** |A|C). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: breu_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters, located i ***
- --- *** mmediately upstream of some TATA box ele ***
- --- *** ments at -37 to -32 with respect to the ***
- --- *** TSS (+1). Consensus sequence is (G|C)(G| ***
- --- *** C)(G|A)CGCC. Binds TFIIB. ***
- --- ************************************************
- ---
- CREATE VIEW breu_motif AS
- SELECT
- feature_id AS breu_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'BREu_motif';
- --- ************************************************
- --- *** relation: pse_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of the ***
- --- *** promoters of snRNA genes transcribed by ***
- --- *** RNA polymerase II or by RNA polymerase ***
- --- *** III. Located between -45 and -60 relativ ***
- --- *** e to the TSS. The human PSE_motif consen ***
- --- *** sus sequence is TCACCNTNA(C|G)TNAAAAG(T| ***
- --- *** G). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: linkage_group ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A group of loci that can be grouped in a ***
- --- *** linear order representing the different ***
- --- *** degrees of linkage among the genes conc ***
- --- *** erned. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rna_internal_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of double stranded RNA where th ***
- --- *** e bases do not conform to WC base pairin ***
- --- *** g. The loop is closed on both sides by c ***
- --- *** anonical base pairing. If the interrupti ***
- --- *** on to base pairing occurs on one strand ***
- --- *** only, it is known as a bulge. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asymmetric_rna_internal_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An internal RNA loop where one of the st ***
- --- *** rands includes more bases than the corre ***
- --- *** sponding region on the other strand. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: a_minor_rna_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region forming a motif, composed of ad ***
- --- *** enines, where the minor groove edges are ***
- --- *** inserted into the minor groove of anoth ***
- --- *** er helix. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: k_turn_rna_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The kink turn (K-turn) is an RNA structu ***
- --- *** ral motif that creates a sharp (~120 deg ***
- --- *** ree) bend between two continuous helices ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sarcin_like_rna_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A loop in ribosomal RNA containing the s ***
- --- *** ites of attack for ricin and sarcin. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: symmetric_rna_internal_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An internal RNA loop where the extent of ***
- --- *** the loop on both stands is the same siz ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rna_junction_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rna_hook_turn ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: base_pair ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: wc_base_pair ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The canonical base pair, where two bases ***
- --- *** interact via WC edges, with glycosidic ***
- --- *** bonds oriented cis relative to the axis ***
- --- *** of orientation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sugar_edge_base_pair ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A type of non-canonical base-pairing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: aptamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** DNA or RNA molecules that have been sele ***
- --- *** cted from random pools based on their ab ***
- --- *** ility to bind other molecules. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dna_aptamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** DNA molecules that have been selected fr ***
- --- *** om random pools based on their ability t ***
- --- *** o bind other molecules. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rna_aptamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** RNA molecules that have been selected fr ***
- --- *** om random pools based on their ability t ***
- --- *** o bind other molecules. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: morpholino_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Morpholino oligos are synthesized from f ***
- --- *** our different Morpholino subunits, each ***
- --- *** of which contains one of the four geneti ***
- --- *** c bases (A, C, G, T) linked to a 6-membe ***
- --- *** red morpholine ring. Eighteen to 25 subu ***
- --- *** nits of these four subunit types are joi ***
- --- *** ned in a specific order by non-ionic pho ***
- --- *** sphorodiamidate intersubunit linkages to ***
- --- *** give a Morpholino. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: riboswitch ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A riboswitch is a part of an mRNA that c ***
- --- *** an act as a direct sensor of small molec ***
- --- *** ules to control their own expression. A ***
- --- *** riboswitch is a cis element in the 5' en ***
- --- *** d of an mRNA, that acts as a direct sens ***
- --- *** or of metabolites. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: matrix_attachment_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA region that is required for the bi ***
- --- *** nding of chromatin to the nuclear matrix ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: locus_control_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA region that includes DNAse hyperse ***
- --- *** nsitive sites located 5' to a gene that ***
- --- *** confers the high-level, position-indepen ***
- --- *** dent, and copy number-dependent expressi ***
- --- *** on to that gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: match_part ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A part of a match, for example an hsp fr ***
- --- *** om blast is a match_part. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: genomic_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A clone of a DNA region of a genome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: processed_pseudogene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A pseudogene where by an mRNA was retrot ***
- --- *** ransposed. The mRNA sequence is transcri ***
- --- *** bed back into the genome, lacking intron ***
- --- *** s and promoters, but often including a p ***
- --- *** olyA tail. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudogene_by_unequal_crossing_over ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A pseudogene caused by unequal crossing ***
- --- *** over at recombination. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: probe ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA sequence used experimentally to de ***
- --- *** tect the presence or absence of a comple ***
- --- *** mentary nucleic acid. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: aneuploid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of chromosome variation where the ***
- --- *** chromosome complement is not an exact m ***
- --- *** ultiple of the haploid number. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: hyperploid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of chromosome variation where the ***
- --- *** chromosome complement is not an exact m ***
- --- *** ultiple of the haploid number as extra c ***
- --- *** hromosomes are present. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: hypoploid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of chromosome variation where the ***
- --- *** chromosome complement is not an exact m ***
- --- *** ultiple of the haploid number as some ch ***
- --- *** romosomes are missing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: operator ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory element of an operon to whi ***
- --- *** ch activators or repressors bind thereby ***
- --- *** effecting translation of genes in that ***
- --- *** operon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nuclease_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, of a nucleotide mol ***
- --- *** ecule, that interacts selectively and no ***
- --- *** n-covalently with polypeptide residues o ***
- --- *** f a nuclease. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: compound_chromosome_arm ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: restriction_enzyme_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the nucleotide m ***
- --- *** olecule, interacts selectively and non-c ***
- --- *** ovalently with polypeptide residues of a ***
- --- *** restriction enzyme. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_intrachr_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intrachromosomal transposition whereb ***
- --- *** y a translocation in which one of the fo ***
- --- *** ur broken ends loses a segment before re ***
- --- *** -joining. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_interchr_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An interchromosomal transposition whereb ***
- --- *** y a translocation in which one of the fo ***
- --- *** ur broken ends loses a segment before re ***
- --- *** -joining. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: free_chromosome_arm ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome structure variation whereby ***
- --- *** an arm exists as an individual chromoso ***
- --- *** me element. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_to_gene_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: overlapping ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a gene that has ***
- --- *** a sequence that overlaps the sequence of ***
- --- *** another gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inside_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a gene when it ***
- --- *** is located within the intron of another ***
- --- *** gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inside_intron_antiparallel ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a gene when it ***
- --- *** is located within the intron of another ***
- --- *** gene and on the opposite strand. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inside_intron_parallel ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a gene when it ***
- --- *** is located within the intron of another ***
- --- *** gene and on the same strand. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_three_prime_overlap ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a gene when the ***
- --- *** five prime region overlaps with another ***
- --- *** gene's 3' region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_five_prime_overlap ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a gene when the ***
- --- *** five prime region overlaps with another ***
- --- *** gene's five prime region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_three_prime_overlap ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a gene when the ***
- --- *** 3' region overlaps with another gene's ***
- --- *** 3' region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_five_prime_overlap ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a gene when the ***
- --- *** 3' region overlaps with another gene's ***
- --- *** 5' region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: antisense ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region sequence that is complementary ***
- --- *** to a sequence of messenger RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polycistronic_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that is polycistronic. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dicistronic_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that is dicistronic. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: operon_member ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_array_member ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: macronuclear_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: micronuclear_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nuclear_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from nuclear 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';
- --- ************************************************
- --- *** relation: mt_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene located in mitochondrial sequence ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: kinetoplast_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene located in kinetoplast sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plastid_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from plastid sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: apicoplast_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from apicoplast sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ct_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from chloroplast sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromoplast_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from chromoplast_sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cyanelle_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from cyanelle sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: leucoplast_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A plastid gene from leucoplast sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: proplastid_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from proplastid sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nucleomorph_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from nucleomorph sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plasmid_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from plasmid sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: proviral_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene from proviral sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: endogenous_retroviral_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A proviral gene with origin endogenous r ***
- --- *** etrovirus. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transposable_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transposon or insertion sequence. An e ***
- --- *** lement that can insert in a variety of D ***
- --- *** NA sequences. ***
- --- ************************************************
- ---
- 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 = 'nested_transposon' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' 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 = 'p_element' 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';
- --- ************************************************
- --- *** relation: expressed_sequence_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A match to an EST or cDNA sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: clone_insert_end ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The end of the clone insert. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence of amino acids linked by pept ***
- --- *** ide bonds which may lack appreciable ter ***
- --- *** tiary structure and may not be liable to ***
- --- *** irreversible denaturation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosome_arm ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of the chromosome between the c ***
- --- *** entromere and the telomere. Human chromo ***
- --- *** somes have two arms, the p arm (short) a ***
- --- *** nd the q arm (long) which are separated ***
- --- *** from each other by the centromere. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequencing_primer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mrna_with_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA with a frameshift. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An extent of biological sequence. ***
- --- ************************************************
- ---
- 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 = 'ASPE_primer' OR cvterm.name = 'dCAPS_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 = 'targeting_vector' 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 = '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 = 'high_identity_region' OR cvterm.name = 'mathematically_defined_repeat' OR cvterm.name = 'experimentally_defined_binding_region' 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 = 'paired_end_fragment' OR cvterm.name = 'read_pair' 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 = 'YAC_end' OR cvterm.name = 'clone_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 = 'RR_tract' OR cvterm.name = 'homologous_region' OR cvterm.name = 'centromere_DNA_Element_I' OR cvterm.name = 'centromere_DNA_Element_II' OR cvterm.name = 'centromere_DNA_Element_III' OR cvterm.name = 'X_element' OR cvterm.name = 'U_box' OR cvterm.name = 'regional_centromere_central_core' 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 = 'assembly_error_correction' OR cvterm.name = 'base_call_error_correction' 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 = 'contig_collection' 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 = 'CHiP_seq_region' 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 = 'pseudogene' 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 = 'repeat_region' OR cvterm.name = 'insertion' OR cvterm.name = 'gene' OR cvterm.name = 'repeat_unit' OR cvterm.name = 'QTL' 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 = 'genetic_marker' OR cvterm.name = 'sequence_motif' OR cvterm.name = 'restriction_enzyme_recognition_site' OR cvterm.name = 'restriction_enzyme_single_strand_overhang' OR cvterm.name = 'epigenetically_modified_region' OR cvterm.name = 'open_chromatin_region' 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 = 'recombination_signal_sequence' 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 = 'processed_pseudogene' OR cvterm.name = 'non_processed_pseudogene' OR cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'duplicated_pseudogene' OR cvterm.name = 'unitary_pseudogene' OR cvterm.name = 'protein_binding_site' OR cvterm.name = 'epitope' OR cvterm.name = 'nucleotide_binding_site' OR cvterm.name = 'metal_binding_site' OR cvterm.name = 'ligand_binding_site' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'nucleotide_to_protein_binding_site' 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 = 'miRNA_target_site' OR cvterm.name = 'DNA_binding_site' OR cvterm.name = 'primer_binding_site' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_metal_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_ligand_contact' 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 = '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 = 'X_element_combinatorial_repeat' OR cvterm.name = 'Y_prime_element' OR cvterm.name = 'telomeric_repeat' OR cvterm.name = 'nested_repeat' OR cvterm.name = 'centromeric_repeat' 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 = 'nested_tandem_repeat' OR cvterm.name = 'regional_centromere_inner_repeat_region' OR cvterm.name = 'regional_centromere_outer_repeat_region' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'duplication' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' 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_with_non_canonical_start_codon' 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 = 'rRNA_gene' OR cvterm.name = 'piRNA_gene' OR cvterm.name = 'RNase_P_RNA_gene' OR cvterm.name = 'RNase_MRP_RNA_gene' OR cvterm.name = 'lincRNA_gene' OR cvterm.name = 'telomerase_RNA_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'gene_with_start_codon_CUG' 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 = 'point_centromere' OR cvterm.name = 'regional_centromere' 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 = 'processed_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 = 'tasiRNA_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 = 'edited_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 = 'tasiRNA' 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 = 'transcription_regulatory_region' OR cvterm.name = 'translation_regulatory_region' OR cvterm.name = 'recombination_regulatory_region' OR cvterm.name = 'replication_regulatory_region' 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 = 'intronic_regulatory_region' 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 = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'ISRE' 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_II_core_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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'attenuator' 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 = 'ribosome_entry_site' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' 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 = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'kozak_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' 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 = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'codon' 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 = '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 = 'cryptic_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 = 'SL3_acceptor_site' OR cvterm.name = 'SL4_acceptor_site' OR cvterm.name = 'SL5_acceptor_site' OR cvterm.name = 'SL6_acceptor_site' OR cvterm.name = 'SL7_acceptor_site' OR cvterm.name = 'SL8_acceptor_site' OR cvterm.name = 'SL9_acceptor_site' OR cvterm.name = 'SL10_accceptor_site' OR cvterm.name = 'SL11_acceptor_site' OR cvterm.name = 'SL12_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 = 'peptide_localization_signal' 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 = 'transit_peptide' OR cvterm.name = 'nuclear_localization_signal' OR cvterm.name = 'endosomal_localization_signal' OR cvterm.name = 'lysosomal_localization_signal' OR cvterm.name = 'nuclear_export_signal' OR cvterm.name = 'nuclear_rim_localization_signal' OR cvterm.name = 'cleaved_initiator_methionine' 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 = 'histone_modification' OR cvterm.name = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' 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 = 'pseudogenic_gene_segment' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'extrachromosomal_mobile_genetic_element' OR cvterm.name = 'integrated_mobile_genetic_element' OR cvterm.name = 'natural_transposable_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 = '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 = 'nested_transposon' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' 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 = 'p_element' 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 = '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 = 'targeting_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 = '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 = '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 = 'arginine' 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 = 'heritable_phenotypic_marker' OR cvterm.name = 'DArT_marker' OR cvterm.name = 'nucleotide_motif' OR cvterm.name = 'DNA_motif' OR cvterm.name = 'RNA_motif' OR cvterm.name = 'PSE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'retinoic_acid_responsive_element' OR cvterm.name = 'promoter_element' OR cvterm.name = 'DCE_SI' OR cvterm.name = 'DCE_SII' OR cvterm.name = 'DCE_SIII' OR cvterm.name = 'minus_12_signal' OR cvterm.name = 'minus_24_signal' OR cvterm.name = 'GC_rich_promoter_region' 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 = 'core_promoter_element' OR cvterm.name = 'regulatory_promoter_element' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BREu_motif' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'MTE' OR cvterm.name = 'BREd_motif' OR cvterm.name = 'DCE' OR cvterm.name = 'intermediate_element' OR cvterm.name = 'RNA_polymerase_II_TATA_box' OR cvterm.name = 'RNA_polymerase_III_TATA_box' OR cvterm.name = 'A_box_type_1' OR cvterm.name = 'A_box_type_2' OR cvterm.name = 'proximal_promoter_element' OR cvterm.name = 'distal_promoter_element' 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 = 'blunt_end_restriction_enzyme_cleavage_site' OR cvterm.name = 'sticky_end_restriction_enzyme_cleavage_site' OR cvterm.name = 'modified_base' OR cvterm.name = 'epigenetically_modified_gene' OR cvterm.name = 'histone_modification' OR cvterm.name = 'methylated_base_feature' OR cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' 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 = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' OR cvterm.name = 'operon' OR cvterm.name = 'mating_type_region' 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 = 'MNP' OR cvterm.name = 'SNV' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'point_mutation' 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_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 = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'LTR_component' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'transposon_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 = 'polyA_site' OR cvterm.name = 'deletion_junction' OR cvterm.name = 'chromosome_breakpoint' OR cvterm.name = 'splice_junction' OR cvterm.name = 'trans_splice_junction' OR cvterm.name = 'restriction_enzyme_cleavage_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 = 'blunt_end_restriction_enzyme_cleavage_junction' OR cvterm.name = 'single_strand_restriction_enzyme_cleavage_site' OR cvterm.name = 'five_prime_restriction_enzyme_junction' OR cvterm.name = 'three_prime_restriction_enzyme_junction' OR cvterm.name = 'deletion' OR cvterm.name = 'translocation' OR cvterm.name = 'insertion' OR cvterm.name = 'copy_number_variation' OR cvterm.name = 'UPD' OR cvterm.name = 'structural_alteration' OR cvterm.name = 'substitution' OR cvterm.name = 'indel' OR cvterm.name = 'inversion' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'duplication' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'copy_number_gain' OR cvterm.name = 'copy_number_loss' OR cvterm.name = 'maternal_uniparental_disomy' OR cvterm.name = 'paternal_uniparental_disomy' OR cvterm.name = 'complex_structural_alteration' OR cvterm.name = 'sequence_length_variation' OR cvterm.name = 'MNP' OR cvterm.name = 'SNV' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'point_mutation' 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 = 'sequence_feature';
- --- ************************************************
- --- *** relation: transposable_element_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene encoded within a transposable ele ***
- --- *** ment. For example gag, int, env and pol ***
- --- *** are the transposable element genes of th ***
- --- *** e TY element in yeast. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: primer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An oligo to which new deoxyribonucleotid ***
- --- *** es can be added by DNA polymerase. ***
- --- ************************************************
- ---
- 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 = 'ASPE_primer' OR cvterm.name = 'dCAPS_primer' OR cvterm.name = 'primer';
- --- ************************************************
- --- *** relation: proviral_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A viral sequence which has integrated in ***
- --- *** to a host genome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: methylated_c ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A methylated deoxy-cytosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: edited ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence that ***
- --- *** is modified by editing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcript_with_translational_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript with a translational frames ***
- --- *** hift. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: regulated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a sequence that ***
- --- *** is regulated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: protein_coding_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript that, at least in p ***
- --- *** art, encodes one or more proteins. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: forward_primer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A single stranded oligo used for polymer ***
- --- *** ase chain reaction. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rna_sequence_secondary_structure ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A folded RNA sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcriptionally_regulated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a gene that is r ***
- --- *** egulated at transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcriptionally_constitutive ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Expressed in relatively constant amounts ***
- --- *** without regard to cellular environmenta ***
- --- *** l conditions such as the concentration o ***
- --- *** f a particular substrate. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcriptionally_induced ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An inducer molecule is required for tran ***
- --- *** scription to occur. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcriptionally_repressed ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A repressor molecule is required for tra ***
- --- *** nscription to stop. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silenced_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is silenced. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_silenced_by_dna_modification ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is silenced by DNA modificat ***
- --- *** ion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_silenced_by_dna_methylation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is silenced by DNA methylati ***
- --- *** on. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: post_translationally_regulated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a gene that is r ***
- --- *** egulated after it has been translated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: translationally_regulated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a gene that is r ***
- --- *** egulated as it is translated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: reverse_primer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A single stranded oligo used for polymer ***
- --- *** ase chain reaction. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: epigenetically_modified ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** This attribute describes a gene where he ***
- --- *** ritable changes other than those in the ***
- --- *** DNA sequence occur. These changes includ ***
- --- *** e: modification to the DNA (such as DNA ***
- --- *** methylation, the covalent modification o ***
- --- *** f cytosine), and post-translational modi ***
- --- *** fication of histones. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: imprinted ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Imprinted genes are epigenetically modif ***
- --- *** ied genes that are expressed monoallelic ***
- --- *** ally according to their parent of origin ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: maternally_imprinted ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The maternal copy of the gene is modifie ***
- --- *** d, rendering it transcriptionally silent ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: paternally_imprinted ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The paternal copy of the gene is modifie ***
- --- *** d, rendering it transcriptionally silent ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: allelically_excluded ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Allelic exclusion is a process occurring ***
- --- *** in diploid organisms, where a gene is i ***
- --- *** nactivated and not expressed in that cel ***
- --- *** l. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_rearranged_at_dna_level ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An epigenetically modified gene, rearran ***
- --- *** ged at the DNA level. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ribosome_entry_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Region in mRNA where ribosome assembles. ***
- --- ************************************************
- ---
- 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 = 'kozak_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' OR cvterm.name = 'ribosome_entry_site';
- --- ************************************************
- --- *** relation: attenuator ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence segment located within the fi ***
- --- *** ve prime end of an mRNA that causes prem ***
- --- *** ature termination of translation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: terminator ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence of DNA located either at th ***
- --- *** e end of the transcript that causes RNA ***
- --- *** polymerase to terminate transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dna_sequence_secondary_structure ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A folded DNA sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: assembly_component ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of known length which may be us ***
- --- *** ed to manufacture a longer region. ***
- --- ************************************************
- ---
- 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 = '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 = 'paired_end_fragment' OR cvterm.name = 'read_pair' 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 = 'YAC_end' OR cvterm.name = 'clone_end' OR cvterm.name = 'RFLP_fragment' OR cvterm.name = 'tiling_path_clone' OR cvterm.name = 'assembly_component';
- --- ************************************************
- --- *** relation: recoded_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A codon that has been redefined at trans ***
- --- *** lation. The redefinition may be as a res ***
- --- *** ult of translational bypass, translation ***
- --- *** al frameshifting or stop codon readthrou ***
- --- *** gh. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: capped ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing when a sequence, ***
- --- *** usually an mRNA is capped by the additi ***
- --- *** on of a modified guanine nucleotide at t ***
- --- *** he 5' end. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of the transcript sequence with ***
- --- *** in a gene which is not removed from the ***
- --- *** primary RNA transcript by RNA splicing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: supercontig ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** One or more contigs that have been order ***
- --- *** ed and oriented using end-read informati ***
- --- *** on. Contains gaps that are filled with N ***
- --- *** 's. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: contig ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A contiguous sequence derived from seque ***
- --- *** nce assembly. Has no gaps, but may conta ***
- --- *** in N's from unavailable bases. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: read ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence obtained from a single sequen ***
- --- *** cing experiment. Typically a read is pro ***
- --- *** duced when a base calling program interp ***
- --- *** rets information from a chromatogram tra ***
- --- *** ce file produced from a sequencing machi ***
- --- *** ne. ***
- --- ************************************************
- ---
- 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 = 'read_pair' 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 = 'YAC_end' OR cvterm.name = 'clone_end' OR cvterm.name = 'read';
- --- ************************************************
- --- *** relation: clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A piece of DNA that has been inserted in ***
- --- *** a vector so that it can be propagated i ***
- --- *** n a host bacterium or some other organis ***
- --- *** m. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: yac ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Yeast Artificial Chromosome, a vector co ***
- --- *** nstructed from the telomeric, centromeri ***
- --- *** c, and replication origin sequences need ***
- --- *** ed for replication in yeast cells. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bac ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Bacterial Artificial Chromosome, a cloni ***
- --- *** ng vector that can be propagated as mini ***
- --- *** -chromosomes in a bacterial host. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pac ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The P1-derived artificial chromosome are ***
- --- *** DNA constructs that are derived from th ***
- --- *** e DNA of P1 bacteriophage. They can carr ***
- --- *** y large amounts (about 100-300 kilobases ***
- --- *** ) of other sequences for a variety of bi ***
- --- *** oengineering purposes. It is one type of ***
- --- *** vector used to clone DNA fragments (100 ***
- --- *** - to 300-kb insert size; average, 150 kb ***
- --- *** ) in Escherichia coli cells. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plasmid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A self replicating, using the hosts cell ***
- --- *** ular machinery, often circular nucleic a ***
- --- *** cid molecule that is distinct from a chr ***
- --- *** omosome in the organism. ***
- --- ************************************************
- ---
- 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 = 'plasmid';
- --- ************************************************
- --- *** relation: cosmid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cloning vector that is a hybrid of lam ***
- --- *** bda phages and a plasmid that can be pro ***
- --- *** pagated as a plasmid or packaged as a ph ***
- --- *** age,since they retain the lambda cos sit ***
- --- *** es. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: phagemid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A plasmid which carries within its seque ***
- --- *** nce a bacteriophage replication origin. ***
- --- *** When the host bacterium is infected with ***
- --- *** "helper" phage, a phagemid is replicate ***
- --- *** d along with the phage DNA and packaged ***
- --- *** into phage capsids. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: fosmid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cloning vector that utilizes the E. co ***
- --- *** li F factor. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: deletion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The point at which one or more contiguou ***
- --- *** s nucleotides were excised. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: methylated_a ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified RNA base in which adenine has ***
- --- *** been methylated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Consensus region of primary transcript b ***
- --- *** ordering junction of splicing. A region ***
- --- *** that overlaps exactly 2 base and adjacen ***
- --- *** t_to splice_junction. ***
- --- ************************************************
- ---
- 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 = 'cryptic_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 = 'SL3_acceptor_site' OR cvterm.name = 'SL4_acceptor_site' OR cvterm.name = 'SL5_acceptor_site' OR cvterm.name = 'SL6_acceptor_site' OR cvterm.name = 'SL7_acceptor_site' OR cvterm.name = 'SL8_acceptor_site' OR cvterm.name = 'SL9_acceptor_site' OR cvterm.name = 'SL10_accceptor_site' OR cvterm.name = 'SL11_acceptor_site' OR cvterm.name = 'SL12_acceptor_site' OR cvterm.name = 'splice_site';
- --- ************************************************
- --- *** relation: five_prime_cis_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Intronic 2 bp region bordering the exon, ***
- --- *** at the 5' edge of the intron. A splice_ ***
- --- *** site that is downstream_adjacent_to exon ***
- --- *** and starts intron. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_cis_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Intronic 2 bp region bordering the exon, ***
- --- *** at the 3' edge of the intron. A splice_ ***
- --- *** site that is upstream_adjacent_to exon a ***
- --- *** nd finishes intron. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: enhancer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cis-acting sequence that increases the ***
- --- *** utilization of (some) eukaryotic promot ***
- --- *** ers, and can function in either orientat ***
- --- *** ion and in any location (upstream or dow ***
- --- *** nstream) relative to the promoter. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: enhancer_bound_by_factor ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An enhancer bound by a factor. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory_region composed of the TSS( ***
- --- *** s) and binding sites for TF_complexes of ***
- --- *** the basal transcription machinery. ***
- --- ************************************************
- ---
- 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_II_core_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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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';
- --- ************************************************
- --- *** relation: rnapol_i_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA sequence in eukaryotic DNA to whic ***
- --- *** h RNA polymerase I binds, to begin trans ***
- --- *** cription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rnapol_ii_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA sequence in eukaryotic DNA to whic ***
- --- *** h RNA polymerase II binds, to begin tran ***
- --- *** scription. ***
- --- ************************************************
- ---
- 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_core_promoter' OR cvterm.name = 'RNApol_II_promoter';
- --- ************************************************
- --- *** relation: rnapol_iii_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA sequence in eukaryotic DNA to whic ***
- --- *** h RNA polymerase III binds, to begin tra ***
- --- *** nscription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: caat_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Part of a conserved sequence located abo ***
- --- *** ut 75-bp upstream of the start point of ***
- --- *** eukaryotic transcription units which may ***
- --- *** be involved in RNA polymerase binding; ***
- --- *** consensus=GG(C|T)CAATCT. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gc_rich_promoter_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A conserved GC-rich region located upstr ***
- --- *** eam of the start point of eukaryotic tra ***
- --- *** nscription units which may occur in mult ***
- --- *** iple copies or in either orientation; co ***
- --- *** nsensus=GGGCGG. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tata_box ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A conserved AT-rich septamer found about ***
- --- *** 25-bp before the start point of many eu ***
- --- *** karyotic RNA polymerase II transcript un ***
- --- *** its; may be involved in positioning the ***
- --- *** enzyme for correct initiation; consensus ***
- --- *** =TATA(A|T)A(A|T). ***
- --- ************************************************
- ---
- 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 = 'RNA_polymerase_II_TATA_box' OR cvterm.name = 'RNA_polymerase_III_TATA_box' OR cvterm.name = 'TATA_box';
- --- ************************************************
- --- *** relation: minus_10_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A conserved region about 10-bp upstream ***
- --- *** of the start point of bacterial transcri ***
- --- *** ption units which may be involved in bin ***
- --- *** ding RNA polymerase; consensus=TAtAaT. T ***
- --- *** his region is associated with sigma fact ***
- --- *** or 70. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: minus_35_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A conserved hexamer about 35-bp upstream ***
- --- *** of the start point of bacterial transcr ***
- --- *** iption units; consensus=TTGACa or TGTTGA ***
- --- *** CA. This region is associated with sigma ***
- --- *** factor 70. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cross_genome_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A nucleotide match against a sequence fr ***
- --- *** om another organism. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: operon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A group of contiguous genes transcribed ***
- --- *** as a single (polycistronic) mRNA from a ***
- --- *** single regulatory region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: clone_insert_start ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The start of the clone insert. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: retrotransposon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transposable element that is incorpora ***
- --- *** ted into a chromosome by a mechanism tha ***
- --- *** t requires reverse transcriptase. ***
- --- ************************************************
- ---
- 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 = 'LINE_element' OR cvterm.name = 'SINE_element' OR cvterm.name = 'retrotransposon';
- --- ************************************************
- --- *** relation: translated_nucleotide_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A match against a translated sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dna_transposon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transposon where the mechanism of tran ***
- --- *** sposition is via a DNA intermediate. ***
- --- ************************************************
- ---
- 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 = 'p_element' OR cvterm.name = 'MITE' OR cvterm.name = 'insertion_sequence' OR cvterm.name = 'polinton' OR cvterm.name = 'DNA_transposon';
- --- ************************************************
- --- *** relation: non_transcribed_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of the gene which is not transc ***
- --- *** ribed. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u2_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A major type of spliceosomal intron spli ***
- --- *** ced by the U2 spliceosome, that includes ***
- --- *** U1, U2, U4/U6 and U5 snRNAs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that in its initial state r ***
- --- *** equires modification to be functional. ***
- --- ************************************************
- ---
- 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 = 'tasiRNA_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';
- --- ************************************************
- --- *** relation: ltr_retrotransposon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A retrotransposon flanked by long termin ***
- --- *** al repeat sequences. ***
- --- ************************************************
- ---
- 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 = 'LTR_retrotransposon';
- --- ************************************************
- --- *** relation: intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a primary transcript that is ***
- --- *** transcribed, but removed from within th ***
- --- *** e transcript by splicing together the se ***
- --- *** quences (exons) on either side of it. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: non_ltr_retrotransposon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A retrotransposon without long terminal ***
- --- *** repeat sequences. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: interior_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rflp_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA fragment used as a reagent to dete ***
- --- *** ct the polymorphic genomic loci by hybri ***
- --- *** dizing against the genomic DNA digested ***
- --- *** with a given restriction enzyme. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: line_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A dispersed repeat family with many copi ***
- --- *** es, each from 1 to 6 kb long. New elemen ***
- --- *** ts are generated by retroposition of a t ***
- --- *** ranscribed copy. Typically the LINE cont ***
- --- *** ains 2 ORF's one of which is reverse tra ***
- --- *** nscriptase, and 3'and 5' direct repeats. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: coding_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An exon whereby at least one base is par ***
- --- *** t of a codon (here, 'codon' is inclusive ***
- --- *** of the stop_codon). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_coding_exon_coding_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence of the five_prime_coding_ex ***
- --- *** on that codes for protein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_coding_exon_coding_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence of the three_prime_coding_e ***
- --- *** xon that codes for protein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: noncoding_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An exon that does not contain any codons ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: translocation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of nucleotide sequence that has ***
- --- *** translocated to a new position. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_coding_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The 5' most coding exon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: interior_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An exon that is bounded by 5' and 3' spl ***
- --- *** ice sites. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_coding_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The coding exon that is most 3-prime on ***
- --- *** a given transcript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: utr ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Messenger RNA sequences that are untrans ***
- --- *** lated and lie five prime or three prime ***
- --- *** to sequences which are translated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_utr ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region at the 5' end of a mature trans ***
- --- *** cript (preceding the initiation codon) t ***
- --- *** hat is not translated into a protein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_utr ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region at the 3' end of a mature trans ***
- --- *** cript (following the stop codon) that is ***
- --- *** not translated into a protein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sine_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A repetitive element, a few hundred base ***
- --- *** pairs long, that is dispersed throughou ***
- --- *** t the genome. A common human SINE is the ***
- --- *** Alu element. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: simple_sequence_length_variation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: terminal_inverted_repeat_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA transposable element defined as ha ***
- --- *** ving termini with perfect, or nearly per ***
- --- *** fect short inverted repeats, generally 1 ***
- --- *** 0 - 40 nucleotides long. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a ribosoma ***
- --- *** l RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a transfer ***
- --- *** RNA (SO:0000253). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: alanine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding alanyl tRN ***
- --- *** A. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: arg_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding arginyl tR ***
- --- *** NA (SO:0000255). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asparagine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding asparaginy ***
- --- *** l tRNA (SO:0000256). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: aspartic_acid_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding aspartyl t ***
- --- *** RNA (SO:0000257). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cysteine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding cysteinyl ***
- --- *** tRNA (SO:0000258). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: glutamic_acid_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding glutaminyl ***
- --- *** tRNA (SO:0000260). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: glutamine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding glutamyl t ***
- --- *** RNA (SO:0000260). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: glycine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding glycyl tRN ***
- --- *** A (SO:0000263). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: histidine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding histidyl t ***
- --- *** RNA (SO:0000262). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: isoleucine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding isoleucyl ***
- --- *** tRNA (SO:0000263). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: leucine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding leucyl tRN ***
- --- *** A (SO:0000264). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: lysine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding lysyl tRNA ***
- --- *** (SO:0000265). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: methionine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding methionyl ***
- --- *** tRNA (SO:0000266). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: phe_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding phenylalan ***
- --- *** yl tRNA (SO:0000267). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: proline_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding prolyl tRN ***
- --- *** A (SO:0000268). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: serine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding seryl tRNA ***
- --- *** (SO:000269). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: thr_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding threonyl t ***
- --- *** RNA (SO:000270). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: try_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding tryptophan ***
- --- *** yl tRNA (SO:000271). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tyrosine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding tyrosyl tR ***
- --- *** NA (SO:000272). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: valine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding valyl tRNA ***
- --- *** (SO:000273). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: snrna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a small nu ***
- --- *** clear RNA (SO:0000274). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: snorna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a small nu ***
- --- *** cleolar mRNA (SO:0000275). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mature_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript which has undergone the nec ***
- --- *** essary modifications, if any, for its fu ***
- --- *** nction. In eukaryotes this includes, for ***
- --- *** example, processing of introns, cleavag ***
- --- *** e, base modification, and modifications ***
- --- *** to the 5' and/or the 3' ends, other than ***
- --- *** addition of bases. In bacteria function ***
- --- *** al mRNAs are usually not modified. ***
- --- ************************************************
- ---
- 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 = 'edited_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 = 'tasiRNA' 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';
- --- ************************************************
- --- *** relation: mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Messenger RNA is the intermediate molecu ***
- --- *** le between DNA and protein. It includes ***
- --- *** UTR and coding sequences. It does not co ***
- --- *** ntain introns. ***
- --- ************************************************
- ---
- 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 = 'edited_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';
- --- ************************************************
- --- *** relation: tf_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a nucleotide molecule that b ***
- --- *** inds a Transcription Factor or Transcrip ***
- --- *** tion Factor complex [GO:0005667]. ***
- --- ************************************************
- ---
- 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 = 'TF_binding_site';
- --- ************************************************
- --- *** relation: orf ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The in-frame interval between the stop c ***
- --- *** odons of a reading frame which when read ***
- --- *** as sequential triplets, has the potenti ***
- --- *** al of encoding a sequential string of am ***
- --- *** ino acids. TER(NNN)nTER. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcript_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: foldback_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transposable element with extensive se ***
- --- *** condary structure, characterized by larg ***
- --- *** e modular imperfect long inverted repeat ***
- --- *** s. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: flanking_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequences extending on either side o ***
- --- *** f a specific region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosome_variation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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_variation' OR cvterm.name = 'chromosome_number_variation' OR cvterm.name = 'chromosome_structure_variation' OR 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 = '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 = 'chromosomal_transposition' OR cvterm.name = 'aneuploid_chromosome' OR cvterm.name = 'intrachromosomal_mutation' OR cvterm.name = 'interchromosomal_mutation' OR cvterm.name = 'chromosomal_duplication' 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 = 'unoriented_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' OR cvterm.name = 'inversion_derived_aneuploid_chromosome' 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 = 'deficient_intrachromosomal_transposition' 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 = 'inverted_intrachromosomal_transposition' 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' 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 = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' 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 = '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';
- --- ************************************************
- --- *** relation: internal_utr ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A UTR bordered by the terminal and initi ***
- --- *** al codons of two CDSs in a polycistronic ***
- --- *** transcript. Every UTR is either 5', 3' ***
- --- *** or internal. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: untranslated_region_polycistronic_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The untranslated sequence separating the ***
- --- *** 'cistrons' of multicistronic mRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: internal_ribosome_entry_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Sequence element that recruits a ribosom ***
- --- *** al subunit to internal mRNA for translat ***
- --- *** ion initiation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polyadenylated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A attribute describing the addition of a ***
- --- *** poly A tail to the 3' end of a mRNA mol ***
- --- *** ecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_length_variation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_rna_base_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post_transcriptionally modified base. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** RNA that comprises part of a ribosome, a ***
- --- *** nd that can provide both structural scaf ***
- --- *** folding and catalytic activity. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Transfer RNA (tRNA) molecules are approx ***
- --- *** imately 80 nucleotides in length. Their ***
- --- *** secondary structure includes four short ***
- --- *** double-helical elements and three loops ***
- --- *** (D, anti-codon, and T loops). Further hy ***
- --- *** drogen bonds mediate the characteristic ***
- --- *** L-shaped molecular structure. Transfer R ***
- --- *** NAs have two regions of fundamental func ***
- --- *** tional importance: the anti-codon, which ***
- --- *** is responsible for specific mRNA codon ***
- --- *** recognition, and the 3' end, to which th ***
- --- *** e tRNA's corresponding amino acid is att ***
- --- *** ached (by aminoacyl-tRNA synthetases). T ***
- --- *** ransfer RNAs cope with the degeneracy of ***
- --- *** the genetic code in two manners: having ***
- --- *** more than one tRNA (with a specific ant ***
- --- *** i-codon) for a particular amino acid; an ***
- --- *** d 'wobble' base-pairing, i.e. permitting ***
- --- *** non-standard base-pairing at the 3rd an ***
- --- *** ti-codon position. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: alanyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has an alanine anti ***
- --- *** codon, and a 3' alanine binding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_small_subunit_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a small ri ***
- --- *** bosomal subunit RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asparaginyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has an asparagine a ***
- --- *** nticodon, and a 3' asparagine binding re ***
- --- *** gion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: aspartyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has an aspartic aci ***
- --- *** d anticodon, and a 3' aspartic acid bind ***
- --- *** ing region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cysteinyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a cysteine anti ***
- --- *** codon, and a 3' cysteine binding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: glutaminyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a glutamine ant ***
- --- *** icodon, and a 3' glutamine binding regio ***
- --- *** n. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: glutamyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a glutamic acid ***
- --- *** anticodon, and a 3' glutamic acid bindi ***
- --- *** ng region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: glycyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a glycine antic ***
- --- *** odon, and a 3' glycine binding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: histidyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a histidine ant ***
- --- *** icodon, and a 3' histidine binding regio ***
- --- *** n. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: isoleucyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has an isoleucine a ***
- --- *** nticodon, and a 3' isoleucine binding re ***
- --- *** gion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: leucyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a leucine antic ***
- --- *** odon, and a 3' leucine binding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: lysyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a lysine antico ***
- --- *** don, and a 3' lysine binding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: methionyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a methionine an ***
- --- *** ticodon, and a 3' methionine binding reg ***
- --- *** ion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: phenylalanyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a phenylalanine ***
- --- *** anticodon, and a 3' phenylalanine bindi ***
- --- *** ng region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: prolyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a proline antic ***
- --- *** odon, and a 3' proline binding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: seryl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a serine antico ***
- --- *** don, and a 3' serine binding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: threonyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a threonine ant ***
- --- *** icodon, and a 3' threonine binding regio ***
- --- *** n. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tryptophanyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a tryptophan an ***
- --- *** ticodon, and a 3' tryptophan binding reg ***
- --- *** ion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tyrosyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a tyrosine anti ***
- --- *** codon, and a 3' tyrosine binding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: valyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a valine antico ***
- --- *** don, and a 3' valine binding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A small nuclear RNA molecule involved in ***
- --- *** pre-mRNA splicing and processing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: snorna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A snoRNA (small nucleolar RNA) is any on ***
- --- *** e of a class of small RNAs that are asso ***
- --- *** ciated with the eukaryotic nucleus as co ***
- --- *** mponents of small nucleolar ribonucleopr ***
- --- *** oteins. They participate in the processi ***
- --- *** ng or modifications of many RNAs, mostly ***
- --- *** ribosomal RNAs (rRNAs) though snoRNAs a ***
- --- *** re also known to target other classes of ***
- --- *** RNA, including spliceosomal RNAs, tRNAs ***
- --- *** , and mRNAs via a stretch of sequence th ***
- --- *** at is complementary to a sequence in the ***
- --- *** targeted RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mirna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Small, ~22-nt, RNA molecule that is the ***
- --- *** endogenous transcript of a miRNA gene. M ***
- --- *** icro RNAs are produced from precursor mo ***
- --- *** lecules (SO:0000647) that can form local ***
- --- *** hairpin structures, which ordinarily ar ***
- --- *** e processed (via the Dicer pathway) such ***
- --- *** that a single miRNA molecule accumulate ***
- --- *** s from one arm of a hairpin precursor mo ***
- --- *** lecule. Micro RNAs may trigger the cleav ***
- --- *** age of their target molecules or act as ***
- --- *** translational repressors. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bound_by_factor ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence that ***
- --- *** is bound by another molecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcript_bound_by_nucleic_acid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that is bound by a nucleic ***
- --- *** acid. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcript_bound_by_protein ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that is bound by a protein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is engineered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_foreign_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is engineered and foreign. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mrna_with_minus_1_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA with a minus 1 frameshift. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_foreign_transposable_element_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transposable_element that is engineere ***
- --- *** d and foreign. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: foreign_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is foreign. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: long_terminal_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence directly repeated at both end ***
- --- *** s of a defined sequence, of the sort typ ***
- --- *** ically found in retroviruses. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: fusion_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is a fusion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_fusion_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A fusion gene that is engineered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: microsatellite ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A repeat_region containing repeat_units ***
- --- *** (2 to 4 bp) that is repeated multiple ti ***
- --- *** mes in tandem. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dinucleotide_repeat_microsatellite_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trinuc_repeat_microsat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_foreign_repetitive_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A repetitive element that is engineered ***
- --- *** and foreign. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inverted_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence is complementarily repeated ***
- --- *** on the opposite strand. It is a palindr ***
- --- *** ome, and it may, or may not be hyphenate ***
- --- *** d. Examples: GCTGATCAGC, or GCTGA-----TC ***
- --- *** AGC. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u12_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A type of spliceosomal intron spliced by ***
- --- *** the U12 spliceosome, that includes U11, ***
- --- *** U12, U4atac/U6atac and U5 snRNAs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: origin_of_replication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The origin of replication; starting site ***
- --- *** for duplication of a nucleic acid molec ***
- --- *** ule to give two identical copies. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Displacement loop; a region within mitoc ***
- --- *** hondrial DNA in which a short stretch of ***
- --- *** RNA is paired with one strand of DNA, d ***
- --- *** isplacing the original partner DNA stran ***
- --- *** d in this region; also used to describe ***
- --- *** the displacement of a region of one stra ***
- --- *** nd of duplex DNA by a single stranded in ***
- --- *** vader in the reaction catalyzed by RecA ***
- --- *** protein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recombination_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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 = 'recombination_signal_sequence' 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';
- --- ************************************************
- --- *** relation: specific_recombination_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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 = 'recombination_signal_sequence' 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';
- --- ************************************************
- --- *** relation: recombination_feature_of_rearranged_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vertebrate_immune_system_gene_recombination_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: j_gene_recombination_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Recombination signal including J-heptame ***
- --- *** r, J-spacer and J-nonamer in 5' of J-reg ***
- --- *** ion of a J-gene or J-sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: clip ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Part of the primary transcript that is c ***
- --- *** lipped off during processing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_base ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified nucleotide, i.e. a nucleotide ***
- --- *** other than A, T, C. G. ***
- --- ************************************************
- ---
- CREATE VIEW modified_base AS
- SELECT
- feature_id AS modified_base_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';
- --- ************************************************
- --- *** relation: methylated_base_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A nucleotide modified by methylation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cpg_island ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Regions of a few hundred to a few thousa ***
- --- *** nd bases in vertebrate genomes that are ***
- --- *** relatively GC and CpG rich; they are typ ***
- --- *** ically unmethylated and often found near ***
- --- *** the 5' ends of genes. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: experimentally_determined ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Attribute to describe a feature that has ***
- --- *** been experimentally verified. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: stem_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A double-helical region of nucleic acid ***
- --- *** formed by base-pairing between adjacent ***
- --- *** (inverted) complementary sequences. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: direct_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A repeat where the same sequence is repe ***
- --- *** ated in the same direction. Example: GCT ***
- --- *** GA-----GCTGA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tss ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The first base where RNA polymerase begi ***
- --- *** ns to synthesize the RNA transcript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cds ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A contiguous sequence which begins with, ***
- --- *** and includes, a start codon and ends wi ***
- --- *** th, and includes, a stop codon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cdna_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Complementary DNA; A piece of DNA copied ***
- --- *** from an mRNA and spliced into a vector ***
- --- *** for propagation in a suitable host. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: start_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** First codon to be translated by a riboso ***
- --- *** me. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: stop_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** In mRNA, a set of three nucleotides that ***
- --- *** indicates the end of information for pr ***
- --- *** otein synthesis. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: intronic_splice_enhancer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Sequences within the intron that modulat ***
- --- *** e splice site selection for some introns ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mrna_with_plus_1_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA with a plus 1 frameshift. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nuclease_hypersensitive_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: coding_start ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The first base to be translated into pro ***
- --- *** tein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tag ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A nucleotide sequence that may be used t ***
- --- *** o identify a larger sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_large_subunit_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a large ri ***
- --- *** bosomal subunit RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sage_tag ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A short diagnostic sequence tag, serial ***
- --- *** analysis of gene expression (SAGE), that ***
- --- *** allows the quantitative and simultaneou ***
- --- *** s analysis of a large number of transcri ***
- --- *** pts. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: coding_end ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The last base to be translated into prot ***
- --- *** ein. It does not include the stop codon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: microarray_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mrna_with_plus_2_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA with a plus 2 frameshift. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: conserved_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Region of sequence similarity by descent ***
- --- *** from a common ancestor. ***
- --- ************************************************
- ---
- 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 = 'RR_tract' OR cvterm.name = 'homologous_region' OR cvterm.name = 'centromere_DNA_Element_I' OR cvterm.name = 'centromere_DNA_Element_II' OR cvterm.name = 'centromere_DNA_Element_III' OR cvterm.name = 'X_element' OR cvterm.name = 'U_box' OR cvterm.name = 'regional_centromere_central_core' OR cvterm.name = 'syntenic_region' OR cvterm.name = 'paralogous_region' OR cvterm.name = 'orthologous_region' OR cvterm.name = 'conserved_region';
- --- ************************************************
- --- *** relation: sts ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Short (typically a few hundred base pair ***
- --- *** s) DNA sequence that has a single occurr ***
- --- *** ence in a genome and whose location and ***
- --- *** base sequence are known. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: coding_conserved_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Coding region of sequence similarity by ***
- --- *** descent from a common ancestor. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: exon_junction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The boundary between two exons in a proc ***
- --- *** essed transcript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nc_conserved_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Non-coding region of sequence similarity ***
- --- *** by descent from a common ancestor. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mrna_with_minus_2_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A mRNA with a minus 2 frameshift. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudogene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence that closely resembles a know ***
- --- *** n functional gene, at another locus with ***
- --- *** in a genome, that is non-functional as a ***
- --- *** consequence of (usually several) mutati ***
- --- *** ons that prevent either its transcriptio ***
- --- *** n or translation (or both). In general, ***
- --- *** pseudogenes result from either reverse t ***
- --- *** ranscription of a transcript of their "n ***
- --- *** ormal" paralog (SO:0000043) (in which ca ***
- --- *** se the pseudogene typically lacks intron ***
- --- *** s and includes a poly(A) tail) or from r ***
- --- *** ecombination (SO:0000044) (in which case ***
- --- *** the pseudogene is typically a tandem du ***
- --- *** plication of its "normal" paralog). ***
- --- ************************************************
- ---
- 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 = 'non_processed_pseudogene' OR cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'duplicated_pseudogene' OR cvterm.name = 'unitary_pseudogene' OR cvterm.name = 'pseudogene';
- --- ************************************************
- --- *** relation: rnai_reagent ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A double stranded RNA duplex, at least 2 ***
- --- *** 0bp long, used experimentally to inhibit ***
- --- *** gene function by RNA interference. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mite ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A highly repetitive and short (100-500 b ***
- --- *** ase pair) transposable element with term ***
- --- *** inal inverted repeats (TIR) and target s ***
- --- *** ite duplication (TSD). MITEs do not enco ***
- --- *** de proteins. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recombination_hotspot ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region in a genome which promotes reco ***
- --- *** mbination. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a nucleic ac ***
- --- *** id molecule which controls its own repli ***
- --- *** cation through the interaction of specif ***
- --- *** ic proteins at one or more origins of re ***
- --- *** plication. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosome_band ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cytologically distinguishable feature ***
- --- *** of a chromosome, often made visible by s ***
- --- *** taining, and usually alternating light a ***
- --- *** nd dark. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: site_specific_recombination_target_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence, aligned to another ***
- --- *** sequence with some statistical signific ***
- --- *** ance, using an algorithm such as BLAST o ***
- --- *** r SIM4. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: splice_enhancer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Region of a transcript that regulates sp ***
- --- *** licing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: est ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tag produced from a single sequencing ***
- --- *** read from a cDNA clone or PCR product; t ***
- --- *** ypically a few hundred base pairs long. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: loxp_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nucleotide_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A match against a nucleotide sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nucleic_acid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence consi ***
- --- *** sting of nucleobases bound to repeating ***
- --- *** units. The forms found in nature are deo ***
- --- *** xyribonucleic acid (DNA), where the repe ***
- --- *** ating units are 2-deoxy-D-ribose rings c ***
- --- *** onnected to a phosphate backbone, and ri ***
- --- *** bonucleic acid (RNA), where the repeatin ***
- --- *** g units are D-ribose rings connected to ***
- --- *** a phosphate backbone. ***
- --- ************************************************
- ---
- 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_backbone' 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';
- --- ************************************************
- --- *** relation: protein_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A match against a protein sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: frt_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An inversion site found on the Saccharom ***
- --- *** yces cerevisiae 2 micron plasmid. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: synthetic_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to decide a sequence of nuc ***
- --- *** leotides, nucleotide analogs, or amino a ***
- --- *** cids that has been designed by an experi ***
- --- *** menter and which may, or may not, corres ***
- --- *** pond with any natural sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence consi ***
- --- *** sting of nucleobases bound to a repeatin ***
- --- *** g unit made of a 2-deoxy-D-ribose ring c ***
- --- *** onnected to a phosphate backbone. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_assembly ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence of nucleotides that has been ***
- --- *** algorithmically derived from an alignmen ***
- --- *** t of two or more different sequences. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: group_1_intron_homing_endonuclease_target_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of intronic nucleotide sequence ***
- --- *** targeted by a nuclease enzyme. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: haplotype_block ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of the genome which is co-inher ***
- --- *** ited as the result of the lack of histor ***
- --- *** ic recombination within it. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence consi ***
- --- *** sting of nucleobases bound to a repeatin ***
- --- *** g unit made of a D-ribose ring connected ***
- --- *** to a phosphate backbone. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: flanked ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a region that is ***
- --- *** bounded either side by a particular kin ***
- --- *** d of region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: floxed ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing sequence that is ***
- --- *** flanked by Lox-P sites. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A set of (usually) three nucleotide base ***
- --- *** s in a DNA or RNA sequence, which togeth ***
- --- *** er code for a unique amino acid or the t ***
- --- *** ermination of translation and are contai ***
- --- *** ned within the CDS. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: frt_flanked ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe sequence that i ***
- --- *** s flanked by the FLP recombinase recogni ***
- --- *** tion site, FRT. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: invalidated_by_chimeric_cdna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cDNA clone constructed from more than ***
- --- *** one mRNA. Usually an experimental artifa ***
- --- *** ct. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: floxed_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transgene that is floxed. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transposable_element_flanking_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of sequence surrounding a tra ***
- --- *** nsposable element. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: integron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region encoding an integrase which act ***
- --- *** s at a site adjacent to it (attI_site) t ***
- --- *** o insert DNA which must include but is n ***
- --- *** ot limited to an attC_site. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: insertion_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The junction where an insertion occurred ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: atti_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region within an integron, adjacent to ***
- --- *** an integrase, at which site specific re ***
- --- *** combination involving an attC_site takes ***
- --- *** place. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transposable_element_insertion_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The junction in a genome where a transpo ***
- --- *** sable_element has inserted. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: small_regulatory_ncrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non-coding RNA, usually with a specifi ***
- --- *** c secondary structure, that acts to regu ***
- --- *** late gene expression. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: conjugative_transposon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transposon that encodes function requi ***
- --- *** red for conjugation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: enzymatic_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An RNA sequence that has catalytic activ ***
- --- *** ity with or without an associated ribonu ***
- --- *** cleoprotein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recombinationally_inverted_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recombinationally rearranged gene by i ***
- --- *** nversion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ribozyme ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An RNA with catalytic activity. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_5_8s ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_8S ribosomal RNA (5. 8S rRNA) is a com ***
- --- *** ponent of the large subunit of the eukar ***
- --- *** yotic ribosome. It is transcribed by RNA ***
- --- *** polymerase I as part of the 45S precurs ***
- --- *** or that also contains 18S and 28S rRNA. ***
- --- *** Functionally, it is thought that 5.8S rR ***
- --- *** NA may be involved in ribosome transloca ***
- --- *** tion. It is also known to form covalent ***
- --- *** linkage to the p53 tumour suppressor pro ***
- --- *** tein. 5_8S rRNA is also found in archaea ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rna_6s ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A small (184-nt in E. coli) RNA that for ***
- --- *** ms a hairpin type structure. 6S RNA asso ***
- --- *** ciates with RNA polymerase in a highly s ***
- --- *** pecific manner. 6S RNA represses express ***
- --- *** ion from a sigma70-dependent promoter du ***
- --- *** ring stationary phase. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: csrb_rsmb_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An enterobacterial RNA that binds the Cs ***
- --- *** rA protein. The CsrB RNAs contain a cons ***
- --- *** erved motif CAGGXXG that is found in up ***
- --- *** to 18 copies and has been suggested to b ***
- --- *** ind CsrA. The Csr regulatory system has ***
- --- *** a strong negative regulatory effect on g ***
- --- *** lycogen biosynthesis, glyconeogenesis an ***
- --- *** d glycogen catabolism and a positive reg ***
- --- *** ulatory effect on glycolysis. In other b ***
- --- *** acteria such as Erwinia caratovara the R ***
- --- *** smA protein has been shown to regulate t ***
- --- *** he production of virulence determinants, ***
- --- *** such extracellular enzymes. RsmA binds ***
- --- *** to RsmB regulatory RNA which is also a m ***
- --- *** ember of this family. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dsra_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** DsrA RNA regulates both transcription, b ***
- --- *** y overcoming transcriptional silencing b ***
- --- *** y the nucleoid-associated H-NS protein, ***
- --- *** and translation, by promoting efficient ***
- --- *** translation of the stress sigma factor, ***
- --- *** RpoS. These two activities of DsrA can b ***
- --- *** e separated by mutation: the first of th ***
- --- *** ree stem-loops of the 85 nucleotide RNA ***
- --- *** is necessary for RpoS translation but no ***
- --- *** t for anti-H-NS action, while the second ***
- --- *** stem-loop is essential for antisilencin ***
- --- *** g and less critical for RpoS translation ***
- --- *** . The third stem-loop, which behaves as ***
- --- *** a transcription terminator, can be subst ***
- --- *** ituted by the trp transcription terminat ***
- --- *** or without loss of either DsrA function. ***
- --- *** The sequence of the first stem-loop of ***
- --- *** DsrA is complementary with the upstream ***
- --- *** leader portion of RpoS messenger RNA, su ***
- --- *** ggesting that pairing of DsrA with the R ***
- --- *** poS message might be important for trans ***
- --- *** lational regulation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gcvb_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A small untranslated RNA involved in exp ***
- --- *** ression of the dipeptide and oligopeptid ***
- --- *** e transport systems in Escherichia coli. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: hammerhead_ribozyme ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A small catalytic RNA motif that catalyz ***
- --- *** es self-cleavage reaction. Its name come ***
- --- *** s from its secondary structure which res ***
- --- *** embles a carpenter's hammer. The hammerh ***
- --- *** ead ribozyme is involved in the replicat ***
- --- *** ion of some viroid and some satellite RN ***
- --- *** As. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: group_iia_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: group_iib_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: micf_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non-translated 93 nt antisense RNA tha ***
- --- *** t binds its target ompF mRNA and regulat ***
- --- *** es ompF expression by inhibiting transla ***
- --- *** tion and inducing degradation of the mes ***
- --- *** sage. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: oxys_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A small untranslated RNA which is induce ***
- --- *** d in response to oxidative stress in Esc ***
- --- *** herichia coli. Acts as a global regulato ***
- --- *** r to activate or repress the expression ***
- --- *** of as many as 40 genes, including the fh ***
- --- *** lA-encoded transcriptional activator and ***
- --- *** the rpoS-encoded sigma(s) subunit of RN ***
- --- *** A polymerase. OxyS is bound by the Hfq p ***
- --- *** rotein, that increases the OxyS RNA inte ***
- --- *** raction with its target messages. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rnase_mrp_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The RNA molecule essential for the catal ***
- --- *** ytic activity of RNase MRP, an enzymatic ***
- --- *** ally active ribonucleoprotein with two d ***
- --- *** istinct roles in eukaryotes. In mitochon ***
- --- *** dria it plays a direct role in the initi ***
- --- *** ation of mitochondrial DNA replication. ***
- --- *** In the nucleus it is involved in precurs ***
- --- *** or rRNA processing, where it cleaves the ***
- --- *** internal transcribed spacer 1 between 1 ***
- --- *** 8S and 5.8S rRNAs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rnase_p_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The RNA component of Ribonuclease P (RNa ***
- --- *** se P), a ubiquitous endoribonuclease, fo ***
- --- *** und in archaea, bacteria and eukarya as ***
- --- *** well as chloroplasts and mitochondria. I ***
- --- *** ts best characterized activity is the ge ***
- --- *** neration of mature 5 prime ends of tRNAs ***
- --- *** by cleaving the 5 prime leader elements ***
- --- *** of precursor-tRNAs. Cellular RNase Ps a ***
- --- *** re ribonucleoproteins. RNA from bacteria ***
- --- *** l RNase Ps retains its catalytic activit ***
- --- *** y in the absence of the protein subunit, ***
- --- *** i.e. it is a ribozyme. Isolated eukaryo ***
- --- *** tic and archaeal RNase P RNA has not bee ***
- --- *** n shown to retain its catalytic function ***
- --- *** , but is still essential for the catalyt ***
- --- *** ic activity of the holoenzyme. Although ***
- --- *** the archaeal and eukaryotic holoenzymes ***
- --- *** have a much greater protein content than ***
- --- *** the bacterial ones, the RNA cores from ***
- --- *** all the three lineages are homologous. H ***
- --- *** elices corresponding to P1, P2, P3, P4, ***
- --- *** and P10/11 are common to all cellular RN ***
- --- *** ase P RNAs. Yet, there is considerable s ***
- --- *** equence variation, particularly among th ***
- --- *** e eukaryotic RNAs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rpra_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Translational regulation of the stationa ***
- --- *** ry phase sigma factor RpoS is mediated b ***
- --- *** y the formation of a double-stranded RNA ***
- --- *** stem-loop structure in the upstream reg ***
- --- *** ion of the rpoS messenger RNA, occluding ***
- --- *** the translation initiation site. Clones ***
- --- *** carrying rprA (RpoS regulator RNA) incr ***
- --- *** eased the translation of RpoS. The rprA ***
- --- *** gene encodes a 106 nucleotide regulatory ***
- --- *** RNA. As with DsrA Rfam:RF00014, RprA is ***
- --- *** predicted to form three stem-loops. Thu ***
- --- *** s, at least two small RNAs, DsrA and Rpr ***
- --- *** A, participate in the positive regulatio ***
- --- *** n of RpoS translation. Unlike DsrA, RprA ***
- --- *** does not have an extensive region of co ***
- --- *** mplementarity to the RpoS leader, leavin ***
- --- *** g its mechanism of action unclear. RprA ***
- --- *** is non-essential. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rre_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The Rev response element (RRE) is encode ***
- --- *** d within the HIV-env gene. Rev is an ess ***
- --- *** ential regulatory protein of HIV that bi ***
- --- *** nds an internal loop of the RRE leading, ***
- --- *** encouraging further Rev-RRE binding. Th ***
- --- *** is RNP complex is critical for mRNA expo ***
- --- *** rt and hence for expression of the HIV s ***
- --- *** tructural proteins. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: spot_42_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A 109-nucleotide RNA of E. coli that see ***
- --- *** ms to have a regulatory role on the gala ***
- --- *** ctose operon. Changes in Spot 42 levels ***
- --- *** are implicated in affecting DNA polymera ***
- --- *** se I levels. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: telomerase_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The RNA component of telomerase, a rever ***
- --- *** se transcriptase that synthesizes telome ***
- --- *** ric DNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u1_snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** U1 is a small nuclear RNA (snRNA) compon ***
- --- *** ent of the spliceosome (involved in pre- ***
- --- *** mRNA splicing). Its 5' end forms complem ***
- --- *** entary base pairs with the 5' splice jun ***
- --- *** ction, thus defining the 5' donor site o ***
- --- *** f an intron. There are significant diffe ***
- --- *** rences in sequence and secondary structu ***
- --- *** re between metazoan and yeast U1 snRNAs, ***
- --- *** the latter being much longer (568 nucle ***
- --- *** otides as compared to 164 nucleotides in ***
- --- *** human). Nevertheless, secondary structu ***
- --- *** re predictions suggest that all U1 snRNA ***
- --- *** s share a 'common core' consisting of he ***
- --- *** lices I, II, the proximal region of III, ***
- --- *** and IV. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u2_snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** U2 is a small nuclear RNA (snRNA) compon ***
- --- *** ent of the spliceosome (involved in pre- ***
- --- *** mRNA splicing). Complementary binding be ***
- --- *** tween U2 snRNA (in an area lying towards ***
- --- *** the 5' end but 3' to hairpin I) and the ***
- --- *** branchpoint sequence (BPS) of the intro ***
- --- *** n results in the bulging out of an unpai ***
- --- *** red adenine, on the BPS, which initiates ***
- --- *** a nucleophilic attack at the intronic 5 ***
- --- *** ' splice site, thus starting the first o ***
- --- *** f two transesterification reactions that ***
- --- *** mediate splicing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u4_snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** U4 small nuclear RNA (U4 snRNA) is a com ***
- --- *** ponent of the major U2-dependent spliceo ***
- --- *** some. It forms a duplex with U6, and wit ***
- --- *** h each splicing round, it is displaced f ***
- --- *** rom U6 (and the spliceosome) in an ATP-d ***
- --- *** ependent manner, allowing U6 to refold a ***
- --- *** nd create the active site for splicing c ***
- --- *** atalysis. A recycling process involving ***
- --- *** protein Prp24 re-anneals U4 and U6. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u4atac_snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An snRNA required for the splicing of th ***
- --- *** e minor U12-dependent class of eukaryoti ***
- --- *** c nuclear introns. It forms a base paire ***
- --- *** d complex with U6atac_snRNA (SO:0000397) ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u5_snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** U5 RNA is a component of both types of k ***
- --- *** nown spliceosome. The precise function o ***
- --- *** f this molecule is unknown, though it is ***
- --- *** known that the 5' loop is required for ***
- --- *** splice site selection and p220 binding, ***
- --- *** and that both the 3' stem-loop and the S ***
- --- *** m site are important for Sm protein bind ***
- --- *** ing and cap methylation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u6_snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** U6 snRNA is a component of the spliceoso ***
- --- *** me which is involved in splicing pre-mRN ***
- --- *** A. The putative secondary structure cons ***
- --- *** ensus base pairing is confined to a shor ***
- --- *** t 5' stem loop, but U6 snRNA is thought ***
- --- *** to form extensive base-pair interactions ***
- --- *** with U4 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';
- --- ************************************************
- --- *** relation: u6atac_snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** U6atac_snRNA is an snRNA required for th ***
- --- *** e splicing of the minor U12-dependent cl ***
- --- *** ass of eukaryotic nuclear introns. It fo ***
- --- *** rms a base paired complex with U4atac_sn ***
- --- *** RNA (SO:0000394). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u11_snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** U11 snRNA plays a role in splicing of th ***
- --- *** e minor U12-dependent class of eukaryoti ***
- --- *** c nuclear introns, similar to U1 snRNA i ***
- --- *** n the major class spliceosome it base pa ***
- --- *** irs to the conserved 5' splice site sequ ***
- --- *** ence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u12_snrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The U12 small nuclear (snRNA), together ***
- --- *** with U4atac/U6atac, U5, and U11 snRNAs a ***
- --- *** nd associated proteins, forms a spliceos ***
- --- *** ome that cleaves a divergent class of lo ***
- --- *** w-abundance pre-mRNA introns. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describes a quality of sequ ***
- --- *** ence. ***
- --- ************************************************
- ---
- 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 = 'variant_quality' 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_backbone' 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 = 'alteration_attribute' OR cvterm.name = 'experimental_feature_attribute' 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 = 'whole_genome_sequence_status' 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 = 'standard_draft' OR cvterm.name = 'high_quality_draft' OR cvterm.name = 'improved_high_quality_draft' OR cvterm.name = 'annotation_directed_improved_draft' OR cvterm.name = 'noncontiguous_finished' OR cvterm.name = 'finished_genome' OR cvterm.name = 'single' OR cvterm.name = 'double' OR cvterm.name = 'forward' OR cvterm.name = 'reverse' OR cvterm.name = 'ribozymic' OR cvterm.name = 'chromosomal_variation_attribute' OR cvterm.name = 'insertion_attribute' OR cvterm.name = 'inversion_attribute' OR cvterm.name = 'translocaton_attribute' OR cvterm.name = 'duplication_attribute' OR cvterm.name = 'intrachromosomal' OR cvterm.name = 'interchromosomal' OR cvterm.name = 'tandem' OR cvterm.name = 'direct' OR cvterm.name = 'inverted' OR cvterm.name = 'pericentric' OR cvterm.name = 'paracentric' OR cvterm.name = 'reciprocal' OR cvterm.name = 'insertional' OR cvterm.name = 'free' OR cvterm.name = 'score' OR cvterm.name = 'quality_value' 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 = 'variant_origin' OR cvterm.name = 'variant_frequency' OR cvterm.name = 'variant_phenotype' OR cvterm.name = 'maternal_variant' OR cvterm.name = 'paternal_variant' OR cvterm.name = 'somatic_variant' OR cvterm.name = 'germline_variant' OR cvterm.name = 'pedigree_specific_variant' OR cvterm.name = 'population_specific_variant' OR cvterm.name = 'de_novo_variant' OR cvterm.name = 'unique_variant' OR cvterm.name = 'rare_variant' OR cvterm.name = 'polymorphic_variant' OR cvterm.name = 'common_variant' OR cvterm.name = 'fixed_variant' OR cvterm.name = 'benign_variant' OR cvterm.name = 'disease_associated_variant' OR cvterm.name = 'disease_causing_variant' OR cvterm.name = 'lethal_variant' OR cvterm.name = 'quantitative_variant' OR cvterm.name = 'sequence_attribute';
- --- ************************************************
- --- *** relation: gene_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u14_snorna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** U14 small nucleolar RNA (U14 snoRNA) is ***
- --- *** required for early cleavages of eukaryot ***
- --- *** ic precursor rRNAs. In yeasts, this mole ***
- --- *** cule possess a stem-loop region (known a ***
- --- *** s the Y-domain) which is essential for f ***
- --- *** unction. A similar structure, but with a ***
- --- *** different consensus sequence, is found ***
- --- *** in plants, but is absent in vertebrates. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vault_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A family of RNAs are found as part of th ***
- --- *** e enigmatic vault ribonucleoprotein comp ***
- --- *** lex. The complex consists of a major vau ***
- --- *** lt protein (MVP), two minor vault protei ***
- --- *** ns (VPARP and TEP1), and several small u ***
- --- *** ntranslated RNA molecules. It has been s ***
- --- *** uggested that the vault complex is invol ***
- --- *** ved in drug resistance. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: y_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Y RNAs are components of the Ro ribonucl ***
- --- *** eoprotein particle (Ro RNP), in associat ***
- --- *** ion with Ro60 and La proteins. The Y RNA ***
- --- *** s and Ro60 and La proteins are well cons ***
- --- *** erved, but the function of the Ro RNP is ***
- --- *** not known. In humans the RNA component ***
- --- *** can be one of four small RNAs: hY1, hY3, ***
- --- *** hY4 and hY5. These small RNAs are predi ***
- --- *** cted to fold into a conserved secondary ***
- --- *** structure containing three stem structur ***
- --- *** es. The largest of the four, hY1, contai ***
- --- *** ns an additional hairpin. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: twintron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intron within an intron. Twintrons ar ***
- --- *** e group II or III introns, into which an ***
- --- *** other group II or III intron has been tr ***
- --- *** ansposed. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_18s ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A large polynucleotide in eukaryotes, wh ***
- --- *** ich functions as the small subunit of th ***
- --- *** e ribosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A biological_region of sequence that, in ***
- --- *** the molecule, interacts selectively and ***
- --- *** non-covalently with other molecules. A ***
- --- *** region on the surface of a molecule that ***
- --- *** may interact with another molecule. Whe ***
- --- *** n applied to polypeptides: Amino acids i ***
- --- *** nvolved in binding or interactions. It c ***
- --- *** an also apply to an amino acid bond whic ***
- --- *** h is represented by the positions of the ***
- --- *** two flanking amino acids. ***
- --- ************************************************
- ---
- 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 = 'epitope' OR cvterm.name = 'nucleotide_binding_site' OR cvterm.name = 'metal_binding_site' OR cvterm.name = 'ligand_binding_site' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'nucleotide_to_protein_binding_site' 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 = 'miRNA_target_site' OR cvterm.name = 'DNA_binding_site' OR cvterm.name = 'primer_binding_site' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_metal_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_ligand_contact' OR cvterm.name = 'binding_site';
- --- ************************************************
- --- *** relation: protein_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the molecule, in ***
- --- *** teracts selectively and non-covalently w ***
- --- *** ith polypeptide molecules. ***
- --- ************************************************
- ---
- 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 = 'protein_protein_contact' OR cvterm.name = 'nucleotide_to_protein_binding_site' 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 = 'protein_binding_site';
- --- ************************************************
- --- *** relation: rescue_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region that rescues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: restriction_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of polynucleotide sequence prod ***
- --- *** uced by digestion with a restriction end ***
- --- *** onuclease. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_difference ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region where the sequence differs from ***
- --- *** that of a specified sequence. ***
- --- ************************************************
- ---
- 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 = 'assembly_error_correction' OR cvterm.name = 'base_call_error_correction' OR cvterm.name = 'sequence_difference';
- --- ************************************************
- --- *** relation: invalidated_by_genomic_contamination ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a feature that ***
- --- *** is invalidated due to genomic contaminat ***
- --- *** ion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: invalidated_by_genomic_polya_primed_cdna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a feature that ***
- --- *** is invalidated due to polyA priming. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: invalidated_by_partial_processing ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a feature that ***
- --- *** is invalidated due to partial processing ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_domain ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A structurally or functionally defined p ***
- --- *** rotein region. In proteins with multiple ***
- --- *** domains, the combination of the domains ***
- --- *** determines the function of the protein. ***
- --- *** A region which has been shown to recur ***
- --- *** throughout evolution. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: signal_peptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The signal_peptide is a short region of ***
- --- *** the peptide located at the N-terminus th ***
- --- *** at directs the protein to be secreted or ***
- --- *** part of membrane components. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mature_protein_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The polypeptide sequence that remains wh ***
- --- *** en the cleaved peptide regions have been ***
- --- *** cleaved from the immature 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';
- --- ************************************************
- --- *** relation: five_prime_terminal_inverted_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_terminal_inverted_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u5_ltr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: r_ltr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u3_ltr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_ltr ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_ltr ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: r_five_prime_ltr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u5_five_prime_ltr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u3_five_prime_ltr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: r_three_prime_ltr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u3_three_prime_ltr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u5_three_prime_ltr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: non_ltr_retrotransposon_polymeric_tract ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polymeric tract, such as poly(dA), wit ***
- --- *** hin a non_LTR_retrotransposon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: target_site_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence of the target DNA that is dup ***
- --- *** licated when a transposable element or p ***
- --- *** hage inserts; usually found at each end ***
- --- *** the insertion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rr_tract ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polypurine tract within an LTR_retrotr ***
- --- *** ansposon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ars ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence that can autonomously replica ***
- --- *** te, as a plasmid, when transformed into ***
- --- *** a bacterial host. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inverted_ring_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vector_replicon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A replicon that has been modified to act ***
- --- *** as a vector for foreign sequence. ***
- --- ************************************************
- ---
- 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 = 'targeting_vector' OR cvterm.name = 'vector_replicon';
- --- ************************************************
- --- *** relation: ss_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A single stranded oligonucleotide. ***
- --- ************************************************
- ---
- 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 = 'ASPE_primer' OR cvterm.name = 'dCAPS_primer' OR cvterm.name = 'ss_oligo';
- --- ************************************************
- --- *** relation: ds_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A double stranded oligonucleotide. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polymer_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe the kind of bio ***
- --- *** logical sequence. ***
- --- ************************************************
- ---
- 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_backbone' 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';
- --- ************************************************
- --- *** relation: three_prime_noncoding_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Non-coding exon in the 3' UTR. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_noncoding_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Non-coding exon in the 5' UTR. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: utr_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Intron located in the untranslated regio ***
- --- *** n. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_utr_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intron located in the 5' UTR. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_utr_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intron located in the 3' UTR. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: random_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence of nucleotides or amino acids ***
- --- *** which, by design, has a "random" order ***
- --- *** of components, given a predetermined inp ***
- --- *** ut frequency of these components. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: interband ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A light region between two darkly staini ***
- --- *** ng bands in a polytene chromosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_polyadenylated_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes a polyadenylated mRN ***
- --- *** A. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosomal_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome structure variant whereby a ***
- --- *** region of a chromosome has been transfe ***
- --- *** rred to another position. Among interchr ***
- --- *** omosomal rearrangements, the term transp ***
- --- *** osition is reserved for that class in wh ***
- --- *** ich the telomeres of the chromosomes inv ***
- --- *** olved are coupled (that is to say, form ***
- --- *** the two ends of a single DNA molecule) a ***
- --- *** s in wild-type. ***
- --- ************************************************
- ---
- CREATE VIEW chromosomal_transposition AS
- SELECT
- feature_id AS chromosomal_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 = 'unoriented_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' OR cvterm.name = 'chromosomal_transposition';
- --- ************************************************
- --- *** relation: rasirna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A 17-28-nt, small interfering RNA derive ***
- --- *** d from transcripts of repetitive element ***
- --- *** s. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_mrna_with_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes an mRNA with a frame ***
- --- *** shift. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recombinationally_rearranged_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is recombinationally rearran ***
- --- *** ged. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: interchromosomal_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome duplication involving an in ***
- --- *** sertion from another chromosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Germline genomic DNA including D-region ***
- --- *** with 5' UTR and 3' UTR, also designated ***
- --- *** as D-segment. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_trans_spliced_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene with a transcript that is trans-s ***
- --- *** pliced. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vertebrate_immunoglobulin_t_cell_receptor_segment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_derived_bipartite_deficiency ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal deletion whereby a chromos ***
- --- *** ome generated by recombination between t ***
- --- *** wo inversions; has a deficiency at each ***
- --- *** end of the inversion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudogenic_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non-functional descendent of a functio ***
- --- *** nal entity. ***
- --- ************************************************
- ---
- 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 = '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 = 'pseudogenic_region';
- --- ************************************************
- --- *** relation: encodes_alternately_spliced_transcripts ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes more than one transc ***
- --- *** ript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: decayed_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non-functional descendant of an exon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_derived_deficiency_plus_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome deletion whereby a chromoso ***
- --- *** me is generated by recombination between ***
- --- *** two inversions; there is a deficiency a ***
- --- *** t one end of the inversion and a duplica ***
- --- *** tion at the other end of the inversion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Germline genomic DNA including L-part1, ***
- --- *** V-intron and V-exon, with the 5' UTR and ***
- --- *** 3' UTR. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: post_translationally_regulated_by_protein_stability ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a gene sequence ***
- --- *** where the resulting protein is regulated ***
- --- *** by the stability of the resulting prote ***
- --- *** in. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: golden_path_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** One of the pieces of sequence that make ***
- --- *** up a golden path. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: post_translationally_regulated_by_protein_modification ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a gene sequence ***
- --- *** where the resulting protein is modified ***
- --- *** to regulate it. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: j_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Germline genomic DNA of an immunoglobuli ***
- --- *** n/T-cell receptor gene including J-regio ***
- --- *** n with 5' UTR (SO:0000204) and 3' UTR (S ***
- --- *** O:0000205), also designated as J-segment ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: autoregulated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The gene product is involved in its own ***
- --- *** transcriptional regulation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tiling_path ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A set of regions which overlap with mini ***
- --- *** mal polymorphism to form a linear sequen ***
- --- *** ce. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: negatively_autoregulated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The gene product is involved in its own ***
- --- *** transcriptional regulation where it decr ***
- --- *** eases transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tiling_path_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A piece of sequence that makes up a tili ***
- --- *** ng_path (SO:0000472). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: positively_autoregulated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The gene product is involved in its own ***
- --- *** transcriptional regulation, where it inc ***
- --- *** reases transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: contig_read ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA sequencer read which is part of a ***
- --- *** contig. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene including C-region (and intro ***
- --- *** ns if present) with 5' UTR (SO:0000204) ***
- --- *** and 3' UTR (SO:0000205). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trans_spliced_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that is trans-spliced. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tiling_path_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A clone which is part of a tiling path. ***
- --- *** A tiling path is a set of sequencing sub ***
- --- *** strates, typically clones, which have be ***
- --- *** en selected in order to efficiently cove ***
- --- *** r a region of the genome in preparation ***
- --- *** for sequencing and assembly. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: terminal_inverted_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An inverted repeat (SO:0000294) occurrin ***
- --- *** g at the termini of a DNA transposon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vertebrate_immunoglobulin_t_cell_receptor_gene_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nc_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript that is never trans ***
- --- *** lated into a protein. ***
- --- ************************************************
- ---
- 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 = 'tasiRNA_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';
- --- ************************************************
- --- *** relation: three_prime_coding_exon_noncoding_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence of the 3' exon that is not ***
- --- *** coding. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dj_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one DJ-gene, and one J ***
- --- *** -gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_coding_exon_noncoding_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence of the 5' exon preceding th ***
- --- *** e start codon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vdj_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one VDJ-gene, one J-ge ***
- --- *** ne and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vdj_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one VDJ-gene and one J ***
- --- *** -gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vj_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one VJ-gene and one C- ***
- --- *** gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vj_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one VJ-gene, one J-gen ***
- --- *** e and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vj_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one VJ-gene and one J- ***
- --- *** gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_gene_recombination_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_d_heptamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 7 nucleotide recombination site like CAC ***
- --- *** AGTG, part of a 3' D-recombination signa ***
- --- *** l sequence of an immunoglobulin/T-cell r ***
- --- *** eceptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_d_nonamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A 9 nucleotide recombination site (e.g. ***
- --- *** ACAAAAACC), part of a 3' D-recombination ***
- --- *** signal sequence of an immunoglobulin/T- ***
- --- *** cell receptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_d_spacer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A 12 or 23 nucleotide spacer between the ***
- --- *** 3'D-HEPTAMER and 3'D-NONAMER of a 3'D-R ***
- --- *** S. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_d_heptamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 7 nucleotide recombination site (e.g. CA ***
- --- *** CTGTG), part of a 5' D-recombination sig ***
- --- *** nal sequence (SO:0000556) of an immunogl ***
- --- *** obulin/T-cell receptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_d_nonamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 9 nucleotide recombination site (e.g. GG ***
- --- *** TTTTTGT), part of a five_prime_D-recombi ***
- --- *** nation signal sequence (SO:0000556) of a ***
- --- *** n immunoglobulin/T-cell receptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_d_spacer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 12 or 23 nucleotide spacer between the 5 ***
- --- *** ' D-heptamer (SO:0000496) and 5' D-nonam ***
- --- *** er (SO:0000497) of a 5' D-recombination ***
- --- *** signal sequence (SO:0000556) of an immun ***
- --- *** oglobulin/T-cell receptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: virtual_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A continuous piece of sequence similar t ***
- --- *** o the 'virtual contig' concept of the En ***
- --- *** sembl database. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: hoogsteen_base_pair ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A type of non-canonical base-pairing. Th ***
- --- *** is is less energetically favourable than ***
- --- *** watson crick base pairing. Hoogsteen GC ***
- --- *** base pairs only have two hydrogen bonds ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: reverse_hoogsteen_base_pair ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A type of non-canonical base-pairing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_dj_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one D-gene, one DJ-gen ***
- --- *** e and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_dj_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one D-gene and one DJ- ***
- --- *** gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_dj_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one D-gene, one DJ-gen ***
- --- *** e, one J-gene and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudogenic_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non functional descendant of an exon, ***
- --- *** part of a pseudogene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_dj_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one D-gene, one DJ-gen ***
- --- *** e, and one J-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding at least one D-gene, one J-gene a ***
- --- *** nd one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vd_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in partially rearranged genom ***
- --- *** ic DNA including L-part1, V-intron and V ***
- --- *** -D-exon, with the 5' UTR (SO:0000204) an ***
- --- *** d 3' UTR (SO:0000205). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding at least one J-gene and one C-gen ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_derived_deficiency_plus_aneuploid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal deletion whereby a chromos ***
- --- *** ome generated by recombination between t ***
- --- *** wo inversions; has a deficiency at one e ***
- --- *** nd and presumed to have a deficiency or ***
- --- *** duplication at the other end of the inve ***
- --- *** rsion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding more than one J-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: j_nonamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 9 nucleotide recombination site (e.g. GG ***
- --- *** TTTTTGT), part of a J-gene recombination ***
- --- *** feature of an immunoglobulin/T-cell rec ***
- --- *** eptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: j_heptamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 7 nucleotide recombination site (e.g. CA ***
- --- *** CAGTG), part of a J-gene recombination f ***
- --- *** eature of an immunoglobulin/T-cell recep ***
- --- *** tor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudogenic_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non functional descendant of a transcr ***
- --- *** ipt, part of a pseudogene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: j_spacer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 12 or 23 nucleotide spacer between the J ***
- --- *** -nonamer and the J-heptamer of a J-gene ***
- --- *** recombination feature of an immunoglobul ***
- --- *** in/T-cell receptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_dj_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene and one DJ- ***
- --- *** gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_dj_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one DJ-gen ***
- --- *** e and one J-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_vdj_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one VDJ-ge ***
- --- *** ne and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_vdj_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene and one VDJ ***
- --- *** -gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_vdj_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one VDJ-ge ***
- --- *** ne and one J-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_vj_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one VJ-gen ***
- --- *** e and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_vj_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene and one VJ- ***
- --- *** gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_vj_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one VJ-gen ***
- --- *** e and one J-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding more than one V-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_d_dj_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one D-gene ***
- --- *** , one DJ-gene and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_d_dj_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one D-gene ***
- --- *** , one DJ-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_d_dj_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one D-gene ***
- --- *** , one DJ-gene, one J-gene and one C-gene ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_d_dj_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one D-gene ***
- --- *** , one DJ-gene and one J-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_d_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding at least one V-gene, one D-gene a ***
- --- *** nd one J-gene and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_d_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding at least one V-gene, one D-gene a ***
- --- *** nd one J-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_heptamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 7 nucleotide recombination site (e.g. CA ***
- --- *** CAGTG), part of V-gene recombination fea ***
- --- *** ture of an immunoglobulin/T-cell recepto ***
- --- *** r gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding at least one V-gene and one J-gen ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding at least one V-gene, one J-gene a ***
- --- *** nd one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_nonamer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 9 nucleotide recombination site (e.g. AC ***
- --- *** AAAAACC), part of V-gene recombination f ***
- --- *** eature of an immunoglobulin/T-cell recep ***
- --- *** tor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_spacer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 12 or 23 nucleotide spacer between the V ***
- --- *** -heptamer and the V-nonamer of a V-gene ***
- --- *** recombination feature of an immunoglobul ***
- --- *** in/T-cell receptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_gene_recombination_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Recombination signal including V-heptame ***
- --- *** r, V-spacer and V-nonamer in 3' of V-reg ***
- --- *** ion of a V-gene or V-sequence of an immu ***
- --- *** noglobulin/T-cell receptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dj_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one DJ-gene and one C- ***
- --- *** gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dj_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA in rearranged configuration ***
- --- *** including at least one D-J-GENE, one J-G ***
- --- *** ENE and one C-GENE. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vdj_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one VDJ-gene and one C ***
- --- *** -gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_dj_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one DJ-gen ***
- --- *** e and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: helitron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A rolling circle transposon. Autonomous ***
- --- *** helitrons encode a 5'-to-3' DNA helicase ***
- --- *** and nuclease/ligase similar to those en ***
- --- *** coded by known rolling-circle replicons. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recoding_pseudoknot ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The pseudoknots involved in recoding are ***
- --- *** unique in that, as they play their role ***
- --- *** as a structure, they are immediately un ***
- --- *** folded and their now linear sequence ser ***
- --- *** ves as a template for decoding. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: designed_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_derived_bipartite_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome generated by recombination ***
- --- *** between two inversions; there is a dupli ***
- --- *** cation at each end of the inversion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_edited_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes a transcript that is ***
- --- *** edited. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_derived_duplication_plus_aneuploid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome generated by recombination ***
- --- *** between two inversions; has a duplicatio ***
- --- *** n at one end and presumed to have a defi ***
- --- *** ciency or duplication at the other end o ***
- --- *** f the inversion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: aneuploid_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome structural variation whereb ***
- --- *** y either a chromosome exists in addition ***
- --- *** to the normal chromosome complement or ***
- --- *** is lacking. ***
- --- ************************************************
- ---
- 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 = 'aneuploid_chromosome';
- --- ************************************************
- --- *** relation: polya_signal_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The recognition sequence necessary for e ***
- --- *** ndonuclease cleavage of an RNA transcrip ***
- --- *** t that is followed by polyadenylation; c ***
- --- *** onsensus=AATAAA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: shine_dalgarno_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region in the 5' UTR that pairs with t ***
- --- *** he 16S rRNA during formation of the prei ***
- --- *** nitiation complex. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polya_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The site on an RNA transcript to which w ***
- --- *** ill be added adenine residues by post-tr ***
- --- *** anscriptional polyadenylation. The bound ***
- --- *** ary between the UTR and the polyA sequen ***
- --- *** ce. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_clip ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5' most region of a precursor transcript ***
- --- *** that is clipped off during processing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_d_recombination_signal_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Recombination signal of an immunoglobuli ***
- --- *** n/T-cell receptor gene, including the 5' ***
- --- *** D-nonamer (SO:0000497), 5' D-spacer (SO ***
- --- *** :0000498), and 5' D-heptamer (SO:0000396 ***
- --- *** ) in 5' of the D-region of a D-gene, or ***
- --- *** in 5' of the D-region of DJ-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_clip ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 3'-most region of a precursor transcript ***
- --- *** that is clipped off during processing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene including more than one C-gen ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding more than one D-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: d_j_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in germline configuration inc ***
- --- *** luding at least one D-gene and one J-gen ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: heptamer_of_recombination_feature_of_vertebrate_im_sys_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Seven nucleotide recombination site (e.g ***
- --- *** . CACAGTG), part of V-gene, D-gene or J- ***
- --- *** gene recombination feature of an immunog ***
- --- *** lobulin or T-cell receptor gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nonamer_of_recombination_feature_of_vertebrate_im_sys_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vertebrate_immune_system_gene_recombination_spacer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_dj_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one DJ-gen ***
- --- *** e, one J-gene and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_vdj_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one VDJ-ge ***
- --- *** ne, one J-gene and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: v_vj_j_c_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in rearranged configuration i ***
- --- *** ncluding at least one V-gene, one VJ-gen ***
- --- *** e, one J-gene and one C-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_derived_aneuploid_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome may be generated by recombi ***
- --- *** nation between two inversions; presumed ***
- --- *** to have a deficiency or duplication at e ***
- --- *** ach end of the inversion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bidirectional_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: retrotransposed ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute of a feature that occurred ***
- --- *** as the product of a reverse transcriptas ***
- --- *** e mediated event. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_d_recombination_signal_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Recombination signal of an immunoglobuli ***
- --- *** n/T-cell receptor gene, including the 3' ***
- --- *** D-heptamer (SO:0000493), 3' D-spacer, a ***
- --- *** nd 3' D-nonamer (SO:0000494) in 3' of th ***
- --- *** e D-region of a D-gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mirna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dj_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic DNA of immunoglobulin/T-cell rec ***
- --- *** eptor gene in partially rearranged genom ***
- --- *** ic DNA including D-J-region with 5' UTR ***
- --- *** and 3' UTR, also designated as D-J-segme ***
- --- *** nt. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vdj_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Rearranged genomic DNA of immunoglobulin ***
- --- *** /T-cell receptor gene including L-part1, ***
- --- *** V-intron and V-D-J-exon, with the 5'UTR ***
- --- *** (SO:0000204) and 3'UTR (SO:0000205). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: scrna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vj_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Rearranged genomic DNA of immunoglobulin ***
- --- *** /T-cell receptor gene including L-part1, ***
- --- *** V-intron and V-J-exon, with the 5'UTR ( ***
- --- *** SO:0000204) and 3'UTR (SO:0000205). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: centromere ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of chromosome where the spindle ***
- --- *** fibers attach during mitosis and meiosi ***
- --- *** s. ***
- --- ************************************************
- ---
- 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 = 'point_centromere' OR cvterm.name = 'regional_centromere' OR cvterm.name = 'centromere';
- --- ************************************************
- --- *** relation: snorna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: edited_transcript_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A locatable feature on a transcript that ***
- --- *** is edited. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: methylation_guide_snorna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a methylat ***
- --- *** ion guide small nucleolar RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cap ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A structure consisting of a 7-methylguan ***
- --- *** osine in 5'-5' triphosphate linkage with ***
- --- *** the first nucleotide of an mRNA. It is ***
- --- *** added post-transcriptionally, and is not ***
- --- *** encoded in the DNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_cleavage_snorna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding an rRNA cl ***
- --- *** eavage snoRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pre_edited_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of a transcript that will be ***
- --- *** edited. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tmrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tmRNA liberates a mRNA from a stalled ***
- --- *** ribosome. To accomplish this part of the ***
- --- *** tmRNA is used as a reading frame that e ***
- --- *** nds in a translation stop signal. The br ***
- --- *** oken mRNA is replaced in the ribosome by ***
- --- *** the tmRNA and translation of the tmRNA ***
- --- *** leads to addition of a proteolysis tag t ***
- --- *** o the incomplete protein enabling recogn ***
- --- *** ition by a protease. Recently a number o ***
- --- *** f permuted tmRNAs genes have been found ***
- --- *** encoded in two parts. TmRNAs have been i ***
- --- *** dentified in eubacteria and some chlorop ***
- --- *** lasts but are absent from archeal and Eu ***
- --- *** karyote nuclear genomes. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_d_box_snorna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tmrna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a tmRNA (S ***
- --- *** O:0000584). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: group_i_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Group I catalytic introns are large self ***
- --- *** -splicing ribozymes. They catalyze their ***
- --- *** own excision from mRNA, tRNA and rRNA p ***
- --- *** recursors in a wide range of organisms. ***
- --- *** The core secondary structure consists of ***
- --- *** 9 paired regions (P1-P9). These fold to ***
- --- *** essentially two domains, the P4-P6 doma ***
- --- *** in (formed from the stacking of P5, P4, ***
- --- *** P6 and P6a helices) and the P3-P9 domain ***
- --- *** (formed from the P8, P3, P7 and P9 heli ***
- --- *** ces). Group I catalytic introns often ha ***
- --- *** ve long ORFs inserted in loop regions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: autocatalytically_spliced_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A self spliced 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';
- --- ************************************************
- --- *** relation: srp_rna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a signal r ***
- --- *** ecognition particle RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: srp_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The signal recognition particle (SRP) is ***
- --- *** a universally conserved ribonucleoprote ***
- --- *** in. It is involved in the co-translation ***
- --- *** al targeting of proteins to membranes. T ***
- --- *** he eukaryotic SRP consists of a 300-nucl ***
- --- *** eotide 7S RNA and six proteins: SRPs 72, ***
- --- *** 68, 54, 19, 14, and 9. Archaeal SRP con ***
- --- *** sists of a 7S RNA and homologues of the ***
- --- *** eukaryotic SRP19 and SRP54 proteins. In ***
- --- *** most eubacteria, the SRP consists of a 4 ***
- --- *** .5S RNA and the Ffh protein (a homologue ***
- --- *** of the eukaryotic SRP54 protein). Eukar ***
- --- *** yotic and archaeal 7S RNAs have very sim ***
- --- *** ilar secondary structures, with eight he ***
- --- *** lical elements. These fold into the Alu ***
- --- *** and S domains, separated by a long linke ***
- --- *** r region. Eubacterial SRP is generally a ***
- --- *** simpler structure, with the M domain of ***
- --- *** Ffh bound to a region of the 4.5S RNA t ***
- --- *** hat corresponds to helix 8 of the eukary ***
- --- *** otic and archaeal SRP S domain. Some Gra ***
- --- *** m-positive bacteria (e.g. Bacillus subti ***
- --- *** lis), however, have a larger SRP RNA tha ***
- --- *** t also has an Alu domain. The Alu domain ***
- --- *** is thought to mediate the peptide chain ***
- --- *** elongation retardation function of the ***
- --- *** SRP. The universally conserved helix whi ***
- --- *** ch interacts with the SRP54/Ffh M domain ***
- --- *** mediates signal sequence recognition. I ***
- --- *** n eukaryotes and archaea, the SRP19-heli ***
- --- *** x 6 complex is thought to be involved in ***
- --- *** SRP assembly and stabilizes helix 8 for ***
- --- *** SRP54 binding. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudoknot ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tertiary structure in RNA where nucleo ***
- --- *** tides in a loop form base pairs with a r ***
- --- *** egion of RNA downstream of the loop. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: h_pseudoknot ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A pseudoknot which contains two stems an ***
- --- *** d at least two loops. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_d_box_snorna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Most box C/D snoRNAs also contain long ( ***
- --- *** >10 nt) sequences complementary to rRNA. ***
- --- *** Boxes C and D, as well as boxes C' and ***
- --- *** D', are usually located in close proximi ***
- --- *** ty, and form a structure known as the bo ***
- --- *** x C/D motif. This motif is important for ***
- --- *** snoRNA stability, processing, nucleolar ***
- --- *** targeting and function. A small number ***
- --- *** of box C/D snoRNAs are involved in rRNA ***
- --- *** processing; most, however, are known or ***
- --- *** predicted to serve as guide RNAs in ribo ***
- --- *** se methylation of rRNA. Targeting involv ***
- --- *** es direct base pairing of the snoRNA at ***
- --- *** the rRNA site to be modified and selecti ***
- --- *** on of a rRNA nucleotide a fixed distance ***
- --- *** from box D or D'. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: h_aca_box_snorna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Members of the box H/ACA family contain ***
- --- *** an ACA triplet, exactly 3 nt upstream fr ***
- --- *** om the 3' end and an H-box in a hinge re ***
- --- *** gion that links two structurally similar ***
- --- *** functional domains of the molecule. Bot ***
- --- *** h boxes are important for snoRNA biosynt ***
- --- *** hesis and function. A few box H/ACA snoR ***
- --- *** NAs are involved in rRNA processing; mos ***
- --- *** t others are known or predicted to parti ***
- --- *** cipate in selection of uridine nucleosid ***
- --- *** es in rRNA to be converted to pseudourid ***
- --- *** ines. Site selection is mediated by dire ***
- --- *** ct base pairing of the snoRNA with rRNA ***
- --- *** through one or both targeting domains. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_d_box_snorna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a small nu ***
- --- *** cleolar RNA of the box C/D family. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: h_aca_box_snorna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a small nu ***
- --- *** cleolar RNA of the box H/ACA family. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: guide_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A short 3'-uridylated RNA that can form ***
- --- *** a duplex (except for its post-transcript ***
- --- *** ionally added oligo_U tail (SO:0000609)) ***
- --- *** with a stretch of mature edited mRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: group_ii_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Group II introns are found in rRNA, tRNA ***
- --- *** and mRNA of organelles in fungi, plants ***
- --- *** and protists, and also in mRNA in bacte ***
- --- *** ria. They are large self-splicing ribozy ***
- --- *** mes and have 6 structural domains (usual ***
- --- *** ly designated dI to dVI). A subset of gr ***
- --- *** oup II introns also encode essential spl ***
- --- *** icing proteins in intronic ORFs. The len ***
- --- *** gth of these introns can therefore be up ***
- --- *** to 3kb. Splicing occurs in almost ident ***
- --- *** ical fashion to nuclear pre-mRNA splicin ***
- --- *** g with two transesterification steps. Th ***
- --- *** e 2' hydroxyl of a bulged adenosine in d ***
- --- *** omain VI attacks the 5' splice site, fol ***
- --- *** lowed by nucleophilic attack on the 3' s ***
- --- *** plice site by the 3' OH of the upstream ***
- --- *** exon. Protein machinery is required for ***
- --- *** splicing in vivo, and long range intron- ***
- --- *** intron and intron-exon interactions are ***
- --- *** important for splice site positioning. G ***
- --- *** roup II introns are further sub-classifi ***
- --- *** ed into groups IIA and IIB which differ ***
- --- *** in splice site consensus, distance of bu ***
- --- *** lged A from 3' splice site, some tertiar ***
- --- *** y interactions, and intronic ORF phyloge ***
- --- *** ny. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: editing_block ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Edited mRNA sequence mediated by a singl ***
- --- *** e guide RNA (SO:0000602). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: intergenic_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region containing or overlapping no ge ***
- --- *** nes that is bounded on either side by a ***
- --- *** gene, or bounded by a gene and the end o ***
- --- *** f the chromosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: editing_domain ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Edited mRNA sequence mediated by two or ***
- --- *** more overlapping guide RNAs (SO:0000602) ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: unedited_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of an edited transcript that ***
- --- *** will not be edited. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: h_aca_box_snorna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: oligo_u_tail ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The string of non-encoded U's at the 3' ***
- --- *** end of a guide RNA (SO:0000602). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polya_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Sequence of about 100 nucleotides of A a ***
- --- *** dded to the 3' end of most eukaryotic mR ***
- --- *** NAs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: branch_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A pyrimidine rich sequence near the 3' e ***
- --- *** nd of an intron to which the 5'end becom ***
- --- *** es covalently bound during nuclear splic ***
- --- *** ing. The resulting structure resembles a ***
- --- *** lariat. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypyrimidine_tract ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The polypyrimidine tract is one of the c ***
- --- *** is-acting sequence elements directing in ***
- --- *** tron removal in pre-mRNA splicing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bacterial_rnapol_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA sequence to which bacterial RNA po ***
- --- *** lymerase binds, to begin transcription. ***
- --- ************************************************
- ---
- 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_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' OR cvterm.name = 'bacterial_RNApol_promoter';
- --- ************************************************
- --- *** relation: bacterial_terminator ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A terminator signal for bacterial transc ***
- --- *** ription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: terminator_of_type_2_rnapol_iii_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A terminator signal for RNA polymerase I ***
- --- *** II transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcription_end_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The base where transcription ends. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rnapol_iii_promoter_type_1 ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rnapol_iii_promoter_type_2 ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: a_box ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A variably distant linear promoter regio ***
- --- *** n recognized by TFIIIC, with consensus s ***
- --- *** equence TGGCnnAGTGG. ***
- --- ************************************************
- ---
- 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_type_1' OR cvterm.name = 'A_box_type_2' OR cvterm.name = 'A_box';
- --- ************************************************
- --- *** relation: b_box ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A variably distant linear promoter regio ***
- --- *** n recognized by TFIIIC, with consensus s ***
- --- *** equence AGGTTCCAnnCC. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rnapol_iii_promoter_type_3 ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_box ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An RNA polymerase III type 1 promoter wi ***
- --- *** th consensus sequence CAnnCCn. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: snrna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: telomere ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A specific structure at the end of a lin ***
- --- *** ear chromosome, required for the integri ***
- --- *** ty and maintenance of the end. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silencer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory region which upon binding o ***
- --- *** f transcription factors, suppress the tr ***
- --- *** anscription of the gene or genes they co ***
- --- *** ntrol. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosomal_regulatory_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: insulator ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcriptional cis regulatory region ***
- --- *** that when located between a CM and a gen ***
- --- *** e's promoter prevents the CRM from modul ***
- --- *** ating that genes expression. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosomal_structural_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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 = 'point_centromere' OR cvterm.name = 'regional_centromere' OR cvterm.name = 'chromosomal_structural_element';
- --- ************************************************
- --- *** relation: five_prime_open_reading_frame ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: upstream_aug_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A start codon upstream of the ORF. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polycistronic_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding for more t ***
- --- *** han one gene product. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: monocistronic_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding for one ge ***
- --- *** ne product. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: monocistronic_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA with either a single protein pro ***
- --- *** duct, or for which the regions encoding ***
- --- *** all its protein products overlap. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polycistronic_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA that encodes multiple proteins f ***
- --- *** rom at least two non-overlapping regions ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mini_exon_donor_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript that donates the sp ***
- --- *** liced leader to other 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';
- --- ************************************************
- --- *** relation: spliced_leader_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_plasmid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A plasmid that is engineered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcribed_spacer_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Part of an rRNA transcription unit that ***
- --- *** is transcribed but discarded during matu ***
- --- *** ration, not giving rise to any part of r ***
- --- *** RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: internal_transcribed_spacer_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Non-coding regions of DNA sequence that ***
- --- *** separate genes coding for the 28S, 5.8S, ***
- --- *** and 18S ribosomal RNAs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: external_transcribed_spacer_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Non-coding regions of DNA that precede t ***
- --- *** he sequence that codes for the ribosomal ***
- --- *** RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tetranuc_repeat_microsat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: srp_rna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: minisatellite ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A repeat region containing tandemly repe ***
- --- *** ated sequences having a unit length of 1 ***
- --- *** 0 to 40 bp. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: antisense_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Antisense RNA is RNA that is transcribed ***
- --- *** from the coding, rather than the templa ***
- --- *** te, strand of DNA. It is therefore compl ***
- --- *** ementary to mRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: antisense_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The reverse complement of the primary tr ***
- --- *** anscript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sirna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A small RNA molecule that is the product ***
- --- *** of a longer exogenous or endogenous dsR ***
- --- *** NA, which is either a bimolecular duplex ***
- --- *** or very long hairpin, processed (via th ***
- --- *** e Dicer pathway) such that numerous siRN ***
- --- *** As accumulate from both strands of the d ***
- --- *** sRNA. SRNAs trigger the cleavage of thei ***
- --- *** r target molecules. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mirna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a micro RN ***
- --- *** A. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: strna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a small te ***
- --- *** mporal mRNA (SO:0000649). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: strna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Non-coding RNAs of about 21 nucleotides ***
- --- *** in length that regulate temporal develop ***
- --- *** ment; first discovered in C. elegans. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: small_subunit_rrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Ribosomal RNA transcript that structures ***
- --- *** the small subunit of the ribosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: large_subunit_rrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Ribosomal RNA transcript that structures ***
- --- *** the large subunit of the ribosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_5s ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5S ribosomal RNA (5S rRNA) is a componen ***
- --- *** t of the large ribosomal subunit in both ***
- --- *** prokaryotes and eukaryotes. In eukaryot ***
- --- *** es, it is synthesised by RNA polymerase ***
- --- *** III (the other eukaryotic rRNAs are clea ***
- --- *** ved from a 45S precursor synthesised by ***
- --- *** RNA polymerase I). In Xenopus oocytes, i ***
- --- *** t has been shown that fingers 4-7 of the ***
- --- *** nine-zinc finger transcription factor T ***
- --- *** FIIIA can bind to the central region of ***
- --- *** 5S RNA. Thus, in addition to positively ***
- --- *** regulating 5S rRNA transcription, TFIIIA ***
- --- *** also stabilizes 5S rRNA until it is req ***
- --- *** uired for transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_28s ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A component of the large ribosomal subun ***
- --- *** it. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: maxicircle_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A mitochondrial gene located in a maxici ***
- --- *** rcle. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ncrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An RNA transcript that does not encode f ***
- --- *** or a protein rather the RNA molecule is ***
- --- *** the gene product. ***
- --- ************************************************
- ---
- 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 = 'tasiRNA' 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';
- --- ************************************************
- --- *** relation: strna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: repeat_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence containing one or m ***
- --- *** ore repeat units. ***
- --- ************************************************
- ---
- 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 = 'X_element_combinatorial_repeat' OR cvterm.name = 'Y_prime_element' OR cvterm.name = 'telomeric_repeat' OR cvterm.name = 'nested_repeat' OR cvterm.name = 'centromeric_repeat' 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 = 'nested_tandem_repeat' OR cvterm.name = 'regional_centromere_inner_repeat_region' OR cvterm.name = 'regional_centromere_outer_repeat_region' OR cvterm.name = 'repeat_region';
- --- ************************************************
- --- *** relation: dispersed_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A repeat that is located at dispersed si ***
- --- *** tes in the genome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tmrna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: spliceosomal_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intron which is spliced by the splice ***
- --- *** osome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: introgressed_chromosome_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: monocistronic_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that is monocistronic. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mobile_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intron (mitochondrial, chloroplast, n ***
- --- *** uclear or prokaryotic) that encodes a do ***
- --- *** uble strand sequence specific endonuclea ***
- --- *** se allowing for mobility. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: insertion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence of one or more nucleotides ***
- --- *** added between two adjacent nucleotides i ***
- --- *** n the sequence. ***
- --- ************************************************
- ---
- 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 = 'duplication' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'insertion';
- --- ************************************************
- --- *** relation: est_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A match against an EST sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_rearrangement_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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 = 'recombination_signal_sequence' 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';
- --- ************************************************
- --- *** relation: chromosome_breakage_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence within the micronuclear DNA o ***
- --- *** f ciliates at which chromosome breakage ***
- --- *** and telomere addition occurs during nucl ***
- --- *** ear differentiation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: internal_eliminated_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence eliminated from the genome of ***
- --- *** ciliates during nuclear differentiation ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: macronucleus_destined_segment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence that is conserved, although r ***
- --- *** earranged relative to the micronucleus, ***
- --- *** in the macronucleus of a ciliate genome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An RNA synthesized on a DNA or RNA templ ***
- --- *** ate by an RNA polymerase. ***
- --- ************************************************
- ---
- 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 = 'processed_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 = 'tasiRNA_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 = 'edited_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 = 'tasiRNA' 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 = 'transcript';
- --- ************************************************
- --- *** relation: canonical_three_prime_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The canonical 3' splice site has the seq ***
- --- *** uence "AG". ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: canonical_five_prime_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The canonical 5' splice site has the seq ***
- --- *** uence "GT". ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: non_canonical_three_prime_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A 3' splice site that does not have the ***
- --- *** sequence "AG". ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: non_canonical_five_prime_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A 5' splice site which does not have the ***
- --- *** sequence "GT". ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: non_canonical_start_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A start codon that is not the usual AUG ***
- --- *** sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: aberrant_processed_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that has been processed "in ***
- --- *** correctly", for example by the failure o ***
- --- *** f splicing of one or more exons. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: exonic_splice_enhancer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Exonic splicing enhancers (ESEs) facilit ***
- --- *** ate exon definition by assisting in the ***
- --- *** recruitment of splicing factors to the a ***
- --- *** djacent intron. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nuclease_sensitive_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of nucleotide sequence targeted ***
- --- *** by a nuclease enzyme. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dnasei_hypersensitive_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: translocation_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal translocation whereby the ***
- --- *** chromosomes carrying non-homologous cent ***
- --- *** romeres may be recovered independently. ***
- --- *** These chromosomes are described as trans ***
- --- *** location elements. This occurs for some ***
- --- *** translocations, particularly but not exc ***
- --- *** lusively, reciprocal translocations. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: deletion_junction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The space between two bases in a sequenc ***
- --- *** e which marks the position where a delet ***
- --- *** ion has occurred. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: golden_path ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A set of subregions selected from sequen ***
- --- *** ce contigs which when concatenated form ***
- --- *** a nonredundant linear sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cdna_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A match against cDNA sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_polycistronic_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes a polycistronic tran ***
- --- *** script. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cleaved_initiator_methionine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The initiator methionine that has been c ***
- --- *** leaved from a mature polypeptide sequenc ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_dicistronic_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes a dicistronic transc ***
- --- *** ript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_recoded_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes an mRNA that is reco ***
- --- *** ded. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: snp ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** SNPs are single base pair positions in g ***
- --- *** enomic DNA at which different sequence a ***
- --- *** lternatives exist in normal individuals ***
- --- *** in some population(s), wherein the least ***
- --- *** frequent variant has an abundance of 1% ***
- --- *** or greater. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: reagent ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence used in experiment. ***
- --- ************************************************
- ---
- 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 = 'ASPE_primer' OR cvterm.name = 'dCAPS_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';
- --- ************************************************
- --- *** relation: oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A short oligonucleotide sequence, of len ***
- --- *** gth on the order of 10's of bases; eithe ***
- --- *** r single or double stranded. ***
- --- ************************************************
- ---
- 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 = 'ASPE_primer' OR cvterm.name = 'dCAPS_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';
- --- ************************************************
- --- *** relation: gene_with_stop_codon_read_through ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes a transcript with st ***
- --- *** op codon readthrough. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_stop_codon_redefined_as_pyrrolysine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene encoding an mRNA that has the sto ***
- --- *** p codon redefined as pyrrolysine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: junction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence_feature with an extent of zer ***
- --- *** o. ***
- --- ************************************************
- ---
- 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 = 'polyA_site' OR cvterm.name = 'deletion_junction' OR cvterm.name = 'chromosome_breakpoint' OR cvterm.name = 'splice_junction' OR cvterm.name = 'trans_splice_junction' OR cvterm.name = 'restriction_enzyme_cleavage_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 = 'blunt_end_restriction_enzyme_cleavage_junction' OR cvterm.name = 'single_strand_restriction_enzyme_cleavage_site' OR cvterm.name = 'five_prime_restriction_enzyme_junction' OR cvterm.name = 'three_prime_restriction_enzyme_junction' OR cvterm.name = 'junction';
- --- ************************************************
- --- *** relation: remark ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A comment about the sequence. ***
- --- ************************************************
- ---
- 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 = 'assembly_error_correction' OR cvterm.name = 'base_call_error_correction' 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 = 'contig_collection' OR cvterm.name = 'remark';
- --- ************************************************
- --- *** relation: possible_base_call_error ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence where the validity ***
- --- *** of the base calling is questionable. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: possible_assembly_error ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence where there may hav ***
- --- *** e been an error in the assembly. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: experimental_result_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence implicated in an ex ***
- --- *** perimental result. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region (or regions) that includes all ***
- --- *** of the sequence elements necessary to en ***
- --- *** code a functional transcript. A gene may ***
- --- *** include regulatory regions, transcribed ***
- --- *** regions and/or other functional sequenc ***
- --- *** e regions. ***
- --- ************************************************
- ---
- 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_with_non_canonical_start_codon' 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 = 'rRNA_gene' OR cvterm.name = 'piRNA_gene' OR cvterm.name = 'RNase_P_RNA_gene' OR cvterm.name = 'RNase_MRP_RNA_gene' OR cvterm.name = 'lincRNA_gene' OR cvterm.name = 'telomerase_RNA_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'gene_with_start_codon_CUG' OR cvterm.name = 'gene';
- --- ************************************************
- --- *** relation: tandem_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Two or more adjcent copies of a region ( ***
- --- *** of length greater than 1). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trans_splice_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The 3' splice site of the acceptor prima ***
- --- *** ry transcript. ***
- --- ************************************************
- ---
- 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 = 'SL3_acceptor_site' OR cvterm.name = 'SL4_acceptor_site' OR cvterm.name = 'SL5_acceptor_site' OR cvterm.name = 'SL6_acceptor_site' OR cvterm.name = 'SL7_acceptor_site' OR cvterm.name = 'SL8_acceptor_site' OR cvterm.name = 'SL9_acceptor_site' OR cvterm.name = 'SL10_accceptor_site' OR cvterm.name = 'SL11_acceptor_site' OR cvterm.name = 'SL12_acceptor_site' OR cvterm.name = 'trans_splice_acceptor_site';
- --- ************************************************
- --- *** relation: trans_splice_donor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The 5' five prime splice site region of ***
- --- *** the donor RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sl1_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A trans_splicing_acceptor_site which app ***
- --- *** ends the 22nt SL1 RNA leader sequence to ***
- --- *** the 5' end of most mRNAs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sl2_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A trans_splicing_acceptor_site which app ***
- --- *** ends the 22nt SL2 RNA leader sequence to ***
- --- *** the 5' end of mRNAs. SL2 acceptor sites ***
- --- *** occur in genes in internal segments of ***
- --- *** polycistronic transcripts. ***
- --- ************************************************
- ---
- 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 = 'SL3_acceptor_site' OR cvterm.name = 'SL4_acceptor_site' OR cvterm.name = 'SL5_acceptor_site' OR cvterm.name = 'SL6_acceptor_site' OR cvterm.name = 'SL7_acceptor_site' OR cvterm.name = 'SL8_acceptor_site' OR cvterm.name = 'SL9_acceptor_site' OR cvterm.name = 'SL10_accceptor_site' OR cvterm.name = 'SL11_acceptor_site' OR cvterm.name = 'SL12_acceptor_site' OR cvterm.name = 'SL2_acceptor_site';
- --- ************************************************
- --- *** relation: gene_with_stop_codon_redefined_as_selenocysteine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene encoding an mRNA that has the sto ***
- --- *** p codon redefined as selenocysteine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_mrna_recoded_by_translational_bypass ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene with mRNA recoded by translationa ***
- --- *** l bypass. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_transcript_with_translational_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene encoding a transcript that has a ***
- --- *** translational frameshift. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dna_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif that is active in the DNA form o ***
- --- *** f the sequence. ***
- --- ************************************************
- ---
- 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 = 'CAAT_signal' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'retinoic_acid_responsive_element' OR cvterm.name = 'promoter_element' OR cvterm.name = 'DCE_SI' OR cvterm.name = 'DCE_SII' OR cvterm.name = 'DCE_SIII' OR cvterm.name = 'minus_12_signal' OR cvterm.name = 'minus_24_signal' OR cvterm.name = 'GC_rich_promoter_region' 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 = 'core_promoter_element' OR cvterm.name = 'regulatory_promoter_element' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BREu_motif' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'MTE' OR cvterm.name = 'BREd_motif' OR cvterm.name = 'DCE' OR cvterm.name = 'intermediate_element' OR cvterm.name = 'RNA_polymerase_II_TATA_box' OR cvterm.name = 'RNA_polymerase_III_TATA_box' OR cvterm.name = 'A_box_type_1' OR cvterm.name = 'A_box_type_2' OR cvterm.name = 'proximal_promoter_element' OR cvterm.name = 'distal_promoter_element' OR cvterm.name = 'DNA_motif';
- --- ************************************************
- --- *** relation: nucleotide_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of nucleotide sequence correspo ***
- --- *** nding to a known 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 = 'CAAT_signal' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'retinoic_acid_responsive_element' OR cvterm.name = 'promoter_element' OR cvterm.name = 'DCE_SI' OR cvterm.name = 'DCE_SII' OR cvterm.name = 'DCE_SIII' OR cvterm.name = 'minus_12_signal' OR cvterm.name = 'minus_24_signal' OR cvterm.name = 'GC_rich_promoter_region' 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 = 'core_promoter_element' OR cvterm.name = 'regulatory_promoter_element' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BREu_motif' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'MTE' OR cvterm.name = 'BREd_motif' OR cvterm.name = 'DCE' OR cvterm.name = 'intermediate_element' OR cvterm.name = 'RNA_polymerase_II_TATA_box' OR cvterm.name = 'RNA_polymerase_III_TATA_box' OR cvterm.name = 'A_box_type_1' OR cvterm.name = 'A_box_type_2' OR cvterm.name = 'proximal_promoter_element' OR cvterm.name = 'distal_promoter_element' 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';
- --- ************************************************
- --- *** relation: rna_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif that is active in RNA sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dicistronic_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA that has the quality dicistronic ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: reading_frame ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A nucleic acid sequence that when read a ***
- --- *** s sequential triplets, has the potential ***
- --- *** of encoding a sequential string of amin ***
- --- *** o acids. It need not contain the start o ***
- --- *** r stop codon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: blocked_reading_frame ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A reading_frame that is interrupted by o ***
- --- *** ne or more stop codons; usually identifi ***
- --- *** ed through intergenomic sequence compari ***
- --- *** sons. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ultracontig ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An ordered and oriented set of scaffolds ***
- --- *** based on somewhat weaker sets of infere ***
- --- *** ntial evidence such as one set of mate p ***
- --- *** air reads together with supporting evide ***
- --- *** nce from ESTs or location of markers fro ***
- --- *** m SNP or microsatellite maps, or cytogen ***
- --- *** etic localization of contained markers. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: foreign_transposable_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transposable element that is foreign. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_dicistronic_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes a dicistronic primar ***
- --- *** y transcript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_with_dicistronic_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes a polycistronic mRNA ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: idna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Genomic sequence removed from the genome ***
- --- *** , as a normal event, by a process of rec ***
- --- *** ombination. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: orit ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a DNA molecule where transfe ***
- --- *** r is initiated during the process of con ***
- --- *** jugation or mobilization. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transit_peptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The transit_peptide is a short region at ***
- --- *** the N-terminus of the peptide that dire ***
- --- *** cts the protein to an organelle (chlorop ***
- --- *** last, mitochondrion, microbody or cyanel ***
- --- *** le). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: repeat_unit ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The simplest repeated component of a rep ***
- --- *** eat region. A single repeat. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: crm ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory_region where more than 1 TF ***
- --- *** _binding_site together are regulatorily ***
- --- *** active. ***
- --- ************************************************
- ---
- 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 = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'CRM';
- --- ************************************************
- --- *** relation: intein ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a peptide that is able to ex ***
- --- *** cise itself and rejoin the remaining por ***
- --- *** tions with a peptide bond. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: intein_containing ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute of protein-coding genes whe ***
- --- *** re the initial protein product contains ***
- --- *** an 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';
- --- ************************************************
- --- *** relation: gap ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gap in the sequence of known length. T ***
- --- *** he unknown bases are filled in with N's. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: fragmentary ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a feature that ***
- --- *** is incomplete. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: predicted ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an unverified re ***
- --- *** gion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: feature_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a located_sequen ***
- --- *** ce_feature. ***
- --- ************************************************
- ---
- 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 = 'alteration_attribute' OR cvterm.name = 'experimental_feature_attribute' 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 = 'whole_genome_sequence_status' 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 = 'standard_draft' OR cvterm.name = 'high_quality_draft' OR cvterm.name = 'improved_high_quality_draft' OR cvterm.name = 'annotation_directed_improved_draft' OR cvterm.name = 'noncontiguous_finished' OR cvterm.name = 'finished_genome' OR cvterm.name = 'single' OR cvterm.name = 'double' OR cvterm.name = 'forward' OR cvterm.name = 'reverse' OR cvterm.name = 'ribozymic' OR cvterm.name = 'chromosomal_variation_attribute' OR cvterm.name = 'insertion_attribute' OR cvterm.name = 'inversion_attribute' OR cvterm.name = 'translocaton_attribute' OR cvterm.name = 'duplication_attribute' OR cvterm.name = 'intrachromosomal' OR cvterm.name = 'interchromosomal' OR cvterm.name = 'tandem' OR cvterm.name = 'direct' OR cvterm.name = 'inverted' OR cvterm.name = 'pericentric' OR cvterm.name = 'paracentric' OR cvterm.name = 'reciprocal' OR cvterm.name = 'insertional' OR cvterm.name = 'free' OR cvterm.name = 'score' OR cvterm.name = 'quality_value' OR cvterm.name = 'feature_attribute';
- --- ************************************************
- --- *** relation: exemplar_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An exemplar is a representative cDNA seq ***
- --- *** uence for each gene. The exemplar approa ***
- --- *** ch is a method that usually involves som ***
- --- *** e initial clustering into gene groups an ***
- --- *** d the subsequent selection of a represen ***
- --- *** tative from each gene group. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_location ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: organelle_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mitochondrial_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nuclear_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nucleomorphic_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plastid_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: kinetoplast ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kinetoplast is an interlocked network ***
- --- *** of thousands of minicircles and tens of ***
- --- *** maxi circles, located near the base of t ***
- --- *** he flagellum of some protozoan species. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: maxicircle ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A maxicircle is a replicon, part of a ki ***
- --- *** netoplast, that contains open reading fr ***
- --- *** ames and replicates via a rolling circle ***
- --- *** method. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: apicoplast_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromoplast_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chloroplast_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cyanelle_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: leucoplast_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: proplastid_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plasmid_location ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: amplification_origin ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An origin_of_replication that is used fo ***
- --- *** r the amplification of a chromosomal nuc ***
- --- *** leic acid sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: proviral_location ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_group_regulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' OR cvterm.name = 'rho_dependent_bacterial_terminator' OR cvterm.name = 'rho_independent_bacterial_terminator' OR cvterm.name = 'gene_group_regulatory_region';
- --- ************************************************
- --- *** relation: clone_insert ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of sequence that has been ins ***
- --- *** erted and is being propagated by the clo ***
- --- *** ne. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: lambda_vector ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The lambda bacteriophage is the vector f ***
- --- *** or the linear lambda clone. The genes in ***
- --- *** volved in the lysogenic pathway are remo ***
- --- *** ved from the from the viral DNA. Up to 2 ***
- --- *** 5 kb of foreign DNA can then be inserted ***
- --- *** into the lambda genome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plasmid_vector ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cdna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** DNA synthesized by reverse transcriptase ***
- --- *** using RNA as a template. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: single_stranded_cdna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: double_stranded_cdna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pyrrolysyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a pyrrolysine a ***
- --- *** nticodon, and a 3' pyrrolysine binding r ***
- --- *** egion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: episome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A plasmid that may integrate with a chro ***
- --- *** mosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tmrna_coding_piece ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of a two-piece tmRNA that bea ***
- --- *** rs the reading frame encoding the proteo ***
- --- *** lysis tag. The tmRNA gene undergoes circ ***
- --- *** ular permutation in some groups of bacte ***
- --- *** ria. Processing of the transcripts from ***
- --- *** such a gene leaves the mature tmRNA in t ***
- --- *** wo pieces, base-paired together. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tmrna_acceptor_piece ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The acceptor region of a two-piece tmRNA ***
- --- *** that when mature is charged at its 3' e ***
- --- *** nd with alanine. The tmRNA gene undergoe ***
- --- *** s circular permutation in some groups of ***
- --- *** bacteria; processing of the transcripts ***
- --- *** from such a gene leaves the mature tmRN ***
- --- *** A in two pieces, base-paired together. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: qtl ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A quantitative trait locus (QTL) is a po ***
- --- *** lymorphic locus which contains alleles t ***
- --- *** hat differentially affect the expression ***
- --- *** of a continuously distributed phenotypi ***
- --- *** c trait. Usually it is a marker describe ***
- --- *** d by statistical association to quantita ***
- --- *** tive variation in the particular phenoty ***
- --- *** pic trait that is thought to be controll ***
- --- *** ed by the cumulative action of alleles a ***
- --- *** t multiple loci. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: genomic_island ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A genomic island is an integrated mobile ***
- --- *** genetic element, characterized by size ***
- --- *** (over 10 Kb). It that has features that ***
- --- *** suggest a foreign origin. These can incl ***
- --- *** ude nucleotide distribution (oligonucleo ***
- --- *** tides signature, CG content etc.) that d ***
- --- *** iffers from the bulk of the chromosome a ***
- --- *** nd/or genes suggesting DNA mobility. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pathogenic_island ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Mobile genetic elements that contribute ***
- --- *** to rapid changes in virulence potential. ***
- --- *** They are present on the genomes of path ***
- --- *** ogenic strains but absent from the genom ***
- --- *** es of non pathogenic members of the same ***
- --- *** or related species. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: metabolic_island ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transmissible element containing genes ***
- --- *** involved in metabolism, analogous to th ***
- --- *** e pathogenicity islands of gram negative ***
- --- *** bacteria. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: adaptive_island ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An adaptive island is a genomic island t ***
- --- *** hat provides an adaptive advantage to th ***
- --- *** e host. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: symbiosis_island ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transmissible element containing genes ***
- --- *** involved in symbiosis, analogous to the ***
- --- *** pathogenicity islands of gram negative ***
- --- *** bacteria. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudogenic_rrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non functional descendent of an rRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudogenic_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non functional descendent of a tRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_episome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An episome that is engineered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transgenic ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Attribute describing sequence that has b ***
- --- *** een integrated with foreign sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: so_natural ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a feature that o ***
- --- *** ccurs in nature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a region that w ***
- --- *** as modified in vitro. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: so_foreign ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a region from a ***
- --- *** nother species. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cloned_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: validated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a feature that ***
- --- *** has been proven. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: invalidated ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a feature that i ***
- --- *** s invalidated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_rescue_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A rescue region that is engineered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rescue_mini_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A mini_gene that rescues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transgenic_transposable_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** TE that has been modified in vitro, incl ***
- --- *** uding insertion of DNA derived from a so ***
- --- *** urce other than the originating TE. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: natural_transposable_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** TE that exists (or existed) in nature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_transposable_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** TE that has been modified by manipulatio ***
- --- *** ns in vitro. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_foreign_transposable_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transposable_element that is engineere ***
- --- *** d and foreign. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: assortment_derived_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A multi-chromosome duplication aberratio ***
- --- *** n generated by reassortment of other abe ***
- --- *** rration components. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: assortment_derived_deficiency_plus_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A multi-chromosome aberration generated ***
- --- *** by reassortment of other aberration comp ***
- --- *** onents; presumed to have a deficiency an ***
- --- *** d a 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';
- --- ************************************************
- --- *** relation: assortment_derived_deficiency ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A multi-chromosome deficiency aberration ***
- --- *** generated by reassortment of other aber ***
- --- *** ration components. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: assortment_derived_aneuploid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A multi-chromosome aberration generated ***
- --- *** by reassortment of other aberration comp ***
- --- *** onents; presumed to have a deficiency or ***
- --- *** a duplication. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region that is engineered. ***
- --- ************************************************
- ---
- 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 = 'targeting_vector' 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';
- --- ************************************************
- --- *** relation: engineered_foreign_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region that is engineered and foreign. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: fusion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_tag ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tag that is engineered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: validated_cdna_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cDNA clone that has been validated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: invalidated_cdna_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cDNA clone that is invalid. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chimeric_cdna_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cDNA clone invalidated because it is c ***
- --- *** himeric. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: genomically_contaminated_cdna_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cDNA clone invalidated by genomic cont ***
- --- *** amination. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polya_primed_cdna_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cDNA clone invalidated by polyA primin ***
- --- *** g. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: partially_processed_cdna_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cDNA invalidated clone by partial proc ***
- --- *** essing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rescue ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a region's abili ***
- --- *** ty, when introduced to a mutant organism ***
- --- *** , to re-establish (rescue) a phenotype. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mini_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** By definition, minigenes are short open- ***
- --- *** reading frames (ORF), usually encoding a ***
- --- *** pproximately 9 to 20 amino acids, which ***
- --- *** are expressed in vivo (as distinct from ***
- --- *** being synthesized as peptide or protein ***
- --- *** ex vivo and subsequently injected). The ***
- --- *** in vivo synthesis confers a distinct adv ***
- --- *** antage: the expressed sequences can ente ***
- --- *** r both antigen presentation pathways, MH ***
- --- *** C I (inducing CD8+ T- cells, which are u ***
- --- *** sually cytotoxic T-lymphocytes (CTL)) an ***
- --- *** d MHC II (inducing CD4+ T-cells, usually ***
- --- *** 'T-helpers' (Th)); and can encounter B- ***
- --- *** cells, inducing antibody responses. Thre ***
- --- *** e main vector approaches have been used ***
- --- *** to deliver minigenes: viral vectors, bac ***
- --- *** terial vectors and plasmid DNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rescue_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that rescues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: wild_type ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing sequence with th ***
- --- *** e genotype found in nature and/or standa ***
- --- *** rd laboratory stock. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: wild_type_rescue_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that rescues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mitochondrial_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome originating in a mitochondr ***
- --- *** ia. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chloroplast_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome originating in a chloroplas ***
- --- *** t. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromoplast_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome originating in a chromoplas ***
- --- *** t. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cyanelle_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome originating in a cyanelle. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: leucoplast_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome with origin in a leucoplast ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: macronuclear_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome originating in a macronucle ***
- --- *** us. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: micronuclear_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome originating in a micronucle ***
- --- *** us. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nuclear_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome originating in a nucleus. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nucleomorphic_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome originating in a nucleomorp ***
- --- *** h. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosome_part ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a 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 = 'point_centromere' OR cvterm.name = 'regional_centromere' OR cvterm.name = 'chromosome_part';
- --- ************************************************
- --- *** relation: gene_member_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a gene. ***
- --- ************************************************
- ---
- 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 = 'processed_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 = 'tasiRNA_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 = 'edited_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 = 'tasiRNA' 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 = 'transcription_regulatory_region' OR cvterm.name = 'translation_regulatory_region' OR cvterm.name = 'recombination_regulatory_region' OR cvterm.name = 'replication_regulatory_region' 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 = 'intronic_regulatory_region' 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 = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'ISRE' 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_II_core_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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'attenuator' OR cvterm.name = 'gene_member_region';
- --- ************************************************
- --- *** relation: transcript_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a transcript. ***
- --- ************************************************
- ---
- 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 = 'ribosome_entry_site' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' 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 = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'kozak_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' 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 = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'codon' 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 = '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 = 'cryptic_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 = 'SL3_acceptor_site' OR cvterm.name = 'SL4_acceptor_site' OR cvterm.name = 'SL5_acceptor_site' OR cvterm.name = 'SL6_acceptor_site' OR cvterm.name = 'SL7_acceptor_site' OR cvterm.name = 'SL8_acceptor_site' OR cvterm.name = 'SL9_acceptor_site' OR cvterm.name = 'SL10_accceptor_site' OR cvterm.name = 'SL11_acceptor_site' OR cvterm.name = 'SL12_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';
- --- ************************************************
- --- *** relation: mature_transcript_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a mature transcript. ***
- --- ************************************************
- ---
- 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 = 'ribosome_entry_site' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' 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 = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'kozak_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' 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 = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'codon' 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 = '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';
- --- ************************************************
- --- *** relation: primary_transcript_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A part of a primary transcript. ***
- --- ************************************************
- ---
- 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 = 'cryptic_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 = 'SL3_acceptor_site' OR cvterm.name = 'SL4_acceptor_site' OR cvterm.name = 'SL5_acceptor_site' OR cvterm.name = 'SL6_acceptor_site' OR cvterm.name = 'SL7_acceptor_site' OR cvterm.name = 'SL8_acceptor_site' OR cvterm.name = 'SL9_acceptor_site' OR cvterm.name = 'SL10_accceptor_site' OR cvterm.name = 'SL11_acceptor_site' OR cvterm.name = 'SL12_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';
- --- ************************************************
- --- *** relation: mrna_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of an mRNA. ***
- --- ************************************************
- ---
- 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 = 'ribosome_entry_site' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' 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 = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'kozak_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' 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 = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'codon' 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 = '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';
- --- ************************************************
- --- *** relation: utr_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of UTR. ***
- --- ************************************************
- ---
- 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 = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'UTR_region';
- --- ************************************************
- --- *** relation: rrna_primary_transcript_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of an rRNA primary transcript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Biological sequence region that can be a ***
- --- *** ssigned to a specific subsequence of a p ***
- --- *** olypeptide. ***
- --- ************************************************
- ---
- 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 = 'peptide_localization_signal' 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 = 'transit_peptide' OR cvterm.name = 'nuclear_localization_signal' OR cvterm.name = 'endosomal_localization_signal' OR cvterm.name = 'lysosomal_localization_signal' OR cvterm.name = 'nuclear_export_signal' OR cvterm.name = 'nuclear_rim_localization_signal' OR cvterm.name = 'cleaved_initiator_methionine' 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 = 'histone_modification' OR cvterm.name = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' 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';
- --- ************************************************
- --- *** relation: repeat_component ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a repeated sequence. ***
- --- ************************************************
- ---
- 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 = 'transposon_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';
- --- ************************************************
- --- *** relation: spliceosomal_intron_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region within an intron. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_component_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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 = 'pseudogenic_gene_segment' OR cvterm.name = 'gene_component_region';
- --- ************************************************
- --- *** relation: tmrna_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a tmRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ltr_component ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_ltr_component ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_ltr_component ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cds_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a CDS. ***
- --- ************************************************
- ---
- 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 = 'codon' 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 = 'CDS_region';
- --- ************************************************
- --- *** relation: exon_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of an exon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: homologous_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region that is homologous to another r ***
- --- *** egion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: paralogous_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A homologous_region that is paralogous t ***
- --- *** o another 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';
- --- ************************************************
- --- *** relation: orthologous_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A homologous_region that is orthologous ***
- --- *** to another 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';
- --- ************************************************
- --- *** relation: conserved ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: homologous ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Similarity due to common ancestry. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: orthologous ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a kind of homolo ***
- --- *** gy where divergence occured after a spec ***
- --- *** iation event. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: paralogous ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a kind of homolo ***
- --- *** gy where divergence occurred after a dup ***
- --- *** lication event. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: syntenic ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Attribute describing sequence regions oc ***
- --- *** curring in same order on chromosome of d ***
- --- *** ifferent species. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: capped_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript that is capped. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: capped_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA that is capped. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mrna_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an mRNA feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: exemplar ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence is re ***
- --- *** presentative of a class of similar seque ***
- --- *** nces. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence that ***
- --- *** contains a mutation involving the deleti ***
- --- *** on or insertion of one or more bases, wh ***
- --- *** ere this number is not divisible by 3. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: minus_1_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A frameshift caused by deleting one base ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: minus_2_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A frameshift caused by deleting two base ***
- --- *** s. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plus_1_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A frameshift caused by inserting one bas ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plus_2_framshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A frameshift caused by inserting two bas ***
- --- *** es. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trans_spliced ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing transcript seque ***
- --- *** nce that is created by splicing exons fr ***
- --- *** om diferent genes. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polyadenylated_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA that is polyadenylated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trans_spliced_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA that is trans-spliced. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: edited_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that is edited. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: edited_transcript_by_a_to_i_substitution ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that has been edited by A t ***
- --- *** o I substitution. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bound_by_protein ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence that ***
- --- *** is bound by a protein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bound_by_nucleic_acid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence that ***
- --- *** is bound by a nucleic acid. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: alternatively_spliced ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a situation wher ***
- --- *** e a gene may encode for more than 1 tran ***
- --- *** script. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: monocistronic ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence that ***
- --- *** contains the code for one gene product. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dicistronic ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence that ***
- --- *** contains the code for two gene products. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polycistronic ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence that ***
- --- *** contains the code for more than one gene ***
- --- *** product. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recoded ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an mRNA sequence ***
- --- *** that has been reprogrammed at translati ***
- --- *** on, causing localized alterations. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: codon_redefined ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing the alteration o ***
- --- *** f codon meaning. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: stop_codon_read_through ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A stop codon redefined to be a new amino ***
- --- *** acid. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: stop_codon_redefined_as_pyrrolysine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A stop codon redefined to be the new ami ***
- --- *** no acid, pyrrolysine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: stop_codon_redefined_as_selenocysteine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A stop codon redefined to be the new ami ***
- --- *** no acid, selenocysteine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recoded_by_translational_bypass ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Recoded mRNA where a block of nucleotide ***
- --- *** s is not translated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: translationally_frameshifted ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Recoding by frameshifting a particular s ***
- --- *** ite. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: maternally_imprinted_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is maternally_imprinted. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: paternally_imprinted_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is paternally imprinted. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: post_translationally_regulated_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is post translationally regu ***
- --- *** lated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: negatively_autoregulated_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is negatively autoreguated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: positively_autoregulated_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is positively autoregulated. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silenced ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an epigenetic pr ***
- --- *** ocess where a gene is inactivated at tra ***
- --- *** nscriptional or translational level. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silenced_by_dna_modification ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an epigenetic pr ***
- --- *** ocess where a gene is inactivated by DNA ***
- --- *** modifications, resulting in repression ***
- --- *** of transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silenced_by_dna_methylation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an epigenetic pr ***
- --- *** ocess where a gene is inactivated by DNA ***
- --- *** methylation, resulting in repression of ***
- --- *** transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: translationally_regulated_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is translationally regulated ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: allelically_excluded_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is allelically_excluded. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: epigenetically_modified_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is epigenetically modified. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transgene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transgene is a gene that has been tran ***
- --- *** sferred naturally or by any of a number ***
- --- *** of genetic engineering techniques from o ***
- --- *** ne organism to another. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: endogenous_retroviral_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rearranged_at_dna_level ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe the sequence of ***
- --- *** a feature, where the DNA is rearranged. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: status ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing the status of a ***
- --- *** feature, based on the available evidence ***
- --- *** . ***
- --- ************************************************
- ---
- 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 = 'whole_genome_sequence_status' 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 = 'standard_draft' OR cvterm.name = 'high_quality_draft' OR cvterm.name = 'improved_high_quality_draft' OR cvterm.name = 'annotation_directed_improved_draft' OR cvterm.name = 'noncontiguous_finished' OR cvterm.name = 'finished_genome' OR cvterm.name = 'status';
- --- ************************************************
- --- *** relation: independently_known ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Attribute to describe a feature that is ***
- --- *** independently known - not predicted. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: supported_by_sequence_similarity ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a feature that ***
- --- *** has been predicted using sequence simila ***
- --- *** rity techniques. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: supported_by_domain_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a feature that ***
- --- *** has been predicted using sequence simila ***
- --- *** rity of a known domain. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: supported_by_est_or_cdna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a feature that ***
- --- *** has been predicted using sequence simila ***
- --- *** rity to EST or cDNA data. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: orphan ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: predicted_by_ab_initio_computation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a feature that i ***
- --- *** s predicted by a computer program that d ***
- --- *** id not rely on sequence similarity. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asx_turn ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of three consecutive residues an ***
- --- *** d one H-bond in which: residue(i) is Asp ***
- --- *** artate or Asparagine (Asx), the side-cha ***
- --- *** in O of residue(i) is H-bonded to the ma ***
- --- *** in-chain NH of residue(i+2). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cloned_cdna_insert ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A clone insert made from cDNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cloned_genomic_insert ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A clone insert made from genomic DNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: engineered_insert ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A clone insert that is engineered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: edited_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An mRNA that is edited. ***
- --- ************************************************
- ---
- 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_mRNA';
- --- ************************************************
- --- *** relation: guide_rna_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of guide RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: anchor_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a guide_RNA that base-pairs ***
- --- *** to a target mRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pre_edited_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: intermediate ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute to describe a feature betwe ***
- --- *** en stages of processing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mirna_target_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A miRNA target site is a binding site wh ***
- --- *** ere the molecule is a micro RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: edited_cds ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A CDS that is edited. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vertebrate_immunoglobulin_t_cell_receptor_rearranged_segment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vertebrate_ig_t_cell_receptor_rearranged_gene_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: vertebrate_immune_system_gene_recombination_signal_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recombinationally_rearranged ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recombinationally_rearranged_vertebrate_immune_system_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recombinationally rearranged gene of t ***
- --- *** he vertebrate immune system. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: attp_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An integration/excision site of a phage ***
- --- *** chromosome at which a recombinase acts t ***
- --- *** o insert the phage DNA at a cognate inte ***
- --- *** gration/excision site on a bacterial chr ***
- --- *** omosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: attb_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An integration/excision site of a bacter ***
- --- *** ial chromosome at which a recombinase ac ***
- --- *** ts to insert foreign DNA containing a co ***
- --- *** gnate integration/excision 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';
- --- ************************************************
- --- *** relation: attl_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region that results from recombination ***
- --- *** between attP_site and attB_site, compos ***
- --- *** ed of the 5' portion of attB_site and th ***
- --- *** e 3' portion of attP_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';
- --- ************************************************
- --- *** relation: attr_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region that results from recombination ***
- --- *** between attP_site and attB_site, compos ***
- --- *** ed of the 5' portion of attP_site and th ***
- --- *** e 3' portion of attB_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';
- --- ************************************************
- --- *** relation: integration_excision_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region specifically recognised by a re ***
- --- *** combinase, which inserts or removes anot ***
- --- *** her region marked by a distinct cognate ***
- --- *** integration/excision 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';
- --- ************************************************
- --- *** relation: resolution_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region specifically recognised by a re ***
- --- *** combinase, which separates a physically ***
- --- *** contiguous circle of DNA into two physic ***
- --- *** ally separate circles. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region specifically recognised by a re ***
- --- *** combinase, which inverts the region flan ***
- --- *** ked by a pair of sites. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dif_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A site at which replicated bacterial cir ***
- --- *** cular chromosomes are decatenated by sit ***
- --- *** e specific resolvase. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: attc_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attC site is a sequence required for ***
- --- *** the integration of a DNA of an integron. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: eukaryotic_terminator ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: oriv ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An origin of vegetative replication in p ***
- --- *** lasmids and phages. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: oric ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An origin of bacterial chromosome replic ***
- --- *** ation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, DNA molecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: double_stranded_dna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, double-stranded DNA molecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: single_stranded_dna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, single-stranded DNA molecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: linear_double_stranded_dna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, double-stranded, linear DNA mole ***
- --- *** cule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: circular_double_stranded_dna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, double-stranded, circular DNA mo ***
- --- *** lecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: linear_single_stranded_dna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, single-stranded, linear DNA mole ***
- --- *** cule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: circular_single_stranded_dna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, single-stranded, circular DNA mo ***
- --- *** lecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, RNA molecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: single_stranded_rna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, single-stranded RNA molecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: linear_single_stranded_rna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, single-stranded, linear RNA mole ***
- --- *** cule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: linear_double_stranded_rna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, double-stranded, linear RNA mole ***
- --- *** cule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: double_stranded_rna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, double-stranded RNA molecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: circular_single_stranded_rna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, single-stranded, circular DNA mo ***
- --- *** lecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: circular_double_stranded_rna_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Structural unit composed of a self-repli ***
- --- *** cating, double-stranded, circular RNA mo ***
- --- *** lecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: insertion_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A terminal_inverted_repeat_element that ***
- --- *** is bacterial and only encodes the functi ***
- --- *** ons required for its transposition betwe ***
- --- *** en these inverted repeats. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: minicircle_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cryptic ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A feature_attribute describing a feature ***
- --- *** that is not manifest under normal condi ***
- --- *** tions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: anchor_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: template_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a guide_RNA that specifies t ***
- --- *** he insertions and deletions of bases in ***
- --- *** the editing of a target mRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: grna_encoding ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non-protein_coding gene that encodes a ***
- --- *** guide_RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: minicircle ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A minicircle is a replicon, part of a ki ***
- --- *** netoplast, that encodes for guide RNAs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rho_dependent_bacterial_terminator ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rho_independent_bacterial_terminator ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: strand_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: single ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: double ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: topology_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: linear ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A quality of a nucleotide polymer that h ***
- --- *** as a 3'-terminal residue and a 5'-termin ***
- --- *** al residue. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: circular ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A quality of a nucleotide polymer that h ***
- --- *** as no terminal nucleotide residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: class_ii_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Small non-coding RNA (59-60 nt long) con ***
- --- *** taining 5' and 3' ends that are predicte ***
- --- *** d to come together to form a stem struct ***
- --- *** ure. Identified in the social amoeba Dic ***
- --- *** tyostelium discoideum and localized in t ***
- --- *** he cytoplasm. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: class_i_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Small non-coding RNA (55-65 nt long) con ***
- --- *** taining highly conserved 5' and 3' ends ***
- --- *** (16 and 8 nt, respectively) that are pre ***
- --- *** dicted to come together to form a stem s ***
- --- *** tructure. Identified in the social amoeb ***
- --- *** a Dictyostelium discoideum and localized ***
- --- *** in the cytoplasm. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: genomic_dna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bac_cloned_genomic_insert ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: consensus ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: consensus_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: consensus_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: predicted_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recursive_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recursive splice site is a splice site ***
- --- *** which subdivides a large intron. Recurs ***
- --- *** ive splicing is a mechanism that splices ***
- --- *** large introns by sub dividing the intro ***
- --- *** n at non exonic elements and alternate e ***
- --- *** xons. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bac_end ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence from the end of a B ***
- --- *** AC clone that may provide a highly speci ***
- --- *** fic marker. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_16s ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A large polynucleotide in Bacteria and A ***
- --- *** rchaea, which functions as the small sub ***
- --- *** unit of the ribosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_23s ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A large polynucleotide in Bacteria and A ***
- --- *** rchaea, which functions as the large sub ***
- --- *** unit of the ribosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_25s ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A large polynucleotide which functions a ***
- --- *** s part of the large subunit of the ribos ***
- --- *** ome in some eukaryotes. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: solo_ltr ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recombination product between the 2 LT ***
- --- *** R of the same element. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: low_complexity ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: low_complexity_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: prophage ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A phage genome after it has established ***
- --- *** in the host genome in a latent/immune st ***
- --- *** ate either as a plasmid or as an integra ***
- --- *** ted "island". ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cryptic_prophage ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A remnant of an integrated prophage in t ***
- --- *** he host genome or an "island" in the hos ***
- --- *** t genome that includes phage like-genes. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tetraloop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A base-paired stem with loop of 4 non-hy ***
- --- *** drogen bonded nucleotides. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dna_constraint_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A double-stranded DNA used to control ma ***
- --- *** cromolecular structure and function. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: i_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cytosine rich domain whereby strands a ***
- --- *** ssociate both inter- and intramolecularl ***
- --- *** y at moderately acidic pH. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pna_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Peptide nucleic acid, is a chemical not ***
- --- *** known to occur naturally but is artifici ***
- --- *** ally synthesized and used in some biolog ***
- --- *** ical research and medical treatments. Th ***
- --- *** e PNA backbone is composed of repeating ***
- --- *** N-(2-aminoethyl)-glycine units linked by ***
- --- *** peptide bonds. The purine and pyrimidin ***
- --- *** e bases are linked to the backbone by me ***
- --- *** thylene carbonyl bonds. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dnazyme ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA sequence with catalytic activity. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mnp ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A multiple nucleotide polymorphism with ***
- --- *** alleles of common length > 1, for exampl ***
- --- *** e AAA/TTT. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: intron_domain ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: wobble_base_pair ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A type of non-canonical base pairing, mo ***
- --- *** st commonly between G and U, which is im ***
- --- *** portant for the secondary structure of R ***
- --- *** NAs. It has similar thermodynamic stabil ***
- --- *** ity to the Watson-Crick pairing. Wobble ***
- --- *** base pairs only have two hydrogen bonds. ***
- --- *** Other wobble base pair possibilities ar ***
- --- *** e I-A, I-U and I-C. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: internal_guide_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A purine-rich sequence in the group I in ***
- --- *** trons which determines the locations of ***
- --- *** the splice sites in group I intron splic ***
- --- *** ing and has catalytic activity. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silent_mutation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that does not affect ***
- --- *** protein function. Silent mutations may o ***
- --- *** ccur in genic ( CDS, UTR, intron etc) an ***
- --- *** d intergenic regions. Silent mutations m ***
- --- *** ay have affects on processes such as spl ***
- --- *** icing and regulation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: epitope ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the molecule, in ***
- --- *** teracts selectively and non-covalently w ***
- --- *** ith antibodies, B cells or T cells. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: copy_number_variation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A variation that increases or decreases ***
- --- *** the copy number of a given region. ***
- --- ************************************************
- ---
- 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_gain' OR cvterm.name = 'copy_number_loss' OR cvterm.name = 'copy_number_variation';
- --- ************************************************
- --- *** relation: chromosome_breakpoint ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_breakpoint ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The point within a chromosome where an i ***
- --- *** nversion begins or ends. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: allele ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An allele is one of a set of coexisting ***
- --- *** sequence variants of a gene. ***
- --- ************************************************
- ---
- 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 = 'polymorphic_sequence_variant' OR cvterm.name = 'allele';
- --- ************************************************
- --- *** relation: haplotype ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A haplotype is one of a set of coexistin ***
- --- *** g sequence variants of a haplotype block ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polymorphic_sequence_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that is segregating i ***
- --- *** n one or more natural populations of a s ***
- --- *** pecies. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: genome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A genome is the sum of genetic material ***
- --- *** within a cell or virion. ***
- --- ************************************************
- ---
- 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 = 'kinetoplast' OR cvterm.name = 'reference_genome' OR cvterm.name = 'variant_genome' OR cvterm.name = 'chromosomally_aberrant_genome' OR cvterm.name = 'genome';
- --- ************************************************
- --- *** relation: so_genotype ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A genotype is a variant genome, complete ***
- --- *** or incomplete. ***
- --- ************************************************
- ---
- CREATE VIEW so_genotype AS
- SELECT
- feature_id AS so_genotype_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'genotype';
- --- ************************************************
- --- *** relation: diplotype ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A diplotype is a pair of haplotypes from ***
- --- *** a given individual. It is a genotype wh ***
- --- *** ere the phase is known. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: direction_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: forward ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Forward is an attribute of the feature, ***
- --- *** where the feature is in the 5' to 3' dir ***
- --- *** ection. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: reverse ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Reverse is an attribute of the feature, ***
- --- *** where the feature is in the 3' to 5' dir ***
- --- *** ection. Again could be applied to primer ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mitochondrial_dna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chloroplast_dna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mirtron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A de-branched intron which mimics the st ***
- --- *** ructure of pre-miRNA and enters the miRN ***
- --- *** A processing pathway without Drosha medi ***
- --- *** ated cleavage. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pirna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A small non coding RNA, part of a silenc ***
- --- *** ing system that prevents the spreading o ***
- --- *** f selfish genetic elements. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: arginyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has an arginine ant ***
- --- *** icodon, and a 3' arginine binding region ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mobile_genetic_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A nucleotide region with either intra-ge ***
- --- *** nome or intracellular moblity, of varyin ***
- --- *** g length, which often carry the informat ***
- --- *** ion necessary for transfer and recombina ***
- --- *** tion with the host genome. ***
- --- ************************************************
- ---
- 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 = 'natural_transposable_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 = '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 = 'nested_transposon' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' 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 = 'p_element' 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';
- --- ************************************************
- --- *** relation: extrachromosomal_mobile_genetic_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An MGE that is not integrated into the h ***
- --- *** ost chromosome. ***
- --- ************************************************
- ---
- 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 = 'natural_transposable_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 = 'extrachromosomal_mobile_genetic_element';
- --- ************************************************
- --- *** relation: integrated_mobile_genetic_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An MGE that is integrated into the host ***
- --- *** chromosome. ***
- --- ************************************************
- ---
- 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 = 'nested_transposon' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' 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 = 'p_element' 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';
- --- ************************************************
- --- *** relation: integrated_plasmid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A plasmid sequence that is integrated wi ***
- --- *** thin the host chromosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: viral_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of nucleotide sequence of a v ***
- --- *** irus, a submicroscopic particle that rep ***
- --- *** licates by infecting a host cell. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: phage_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The nucleotide sequence of a virus that ***
- --- *** infects bacteria. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: attctn_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attachment site located on a conjugat ***
- --- *** ive transposon and used for site-specifi ***
- --- *** c integration of a conjugative transposo ***
- --- *** n. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: nuclear_mt_pseudogene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A nuclear pseudogene of either coding or ***
- --- *** non-coding mitochondria derived sequenc ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cointegrated_plasmid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A MGE region consisting of two fused pla ***
- --- *** smids resulting from a replicative trans ***
- --- *** position event. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: irlinv_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Component of the inversion site located ***
- --- *** at the left of a region susceptible to s ***
- --- *** ite-specific inversion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: irrinv_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Component of the inversion site located ***
- --- *** at the right of a region susceptible to ***
- --- *** site-specific inversion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_site_part ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region located within an inversion sit ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: defective_conjugative_transposon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An island that contains genes for integr ***
- --- *** ation/excision and the gene and site for ***
- --- *** the initiation of intercellular transfe ***
- --- *** r by conjugation. It can be complemented ***
- --- *** for transfer by a conjugative transposo ***
- --- *** n. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: repeat_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A portion of a repeat, interrupted by th ***
- --- *** e insertion of another element. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transposon_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A portion of a transposon, interrupted b ***
- --- *** y the insertion of another element. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcriptional_cis_regulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory_region that modulates the t ***
- --- *** ranscription of a gene or genes. ***
- --- ************************************************
- ---
- 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 = 'ISRE' 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_II_core_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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'transcriptional_cis_regulatory_region';
- --- ************************************************
- --- *** relation: splicing_regulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory_region that modulates splic ***
- --- *** ing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: promoter_targeting_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcriptional_cis_regulatory_region ***
- --- *** that restricts the activity of a CRM to ***
- --- *** a single promoter and which functions on ***
- --- *** ly when both itself and an insulator are ***
- --- *** located between the CRM and the promote ***
- --- *** r. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_alteration ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence_alteration is a sequence_feat ***
- --- *** ure whose extent is the deviation from a ***
- --- *** nother 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 = 'copy_number_variation' OR cvterm.name = 'UPD' OR cvterm.name = 'structural_alteration' OR cvterm.name = 'substitution' OR cvterm.name = 'indel' OR cvterm.name = 'inversion' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'duplication' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'copy_number_gain' OR cvterm.name = 'copy_number_loss' OR cvterm.name = 'maternal_uniparental_disomy' OR cvterm.name = 'paternal_uniparental_disomy' OR cvterm.name = 'complex_structural_alteration' OR cvterm.name = 'sequence_length_variation' OR cvterm.name = 'MNP' OR cvterm.name = 'SNV' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'point_mutation' 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 = 'sequence_alteration';
- --- ************************************************
- --- *** relation: sequence_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence_variant is a non exact copy o ***
- --- *** f a sequence_feature or genome exhibitin ***
- --- *** g one or more 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 = 'functional_variant' OR cvterm.name = 'structural_variant' OR cvterm.name = 'loss_of_heterozygosity' OR cvterm.name = 'transcript_function_variant' OR cvterm.name = 'translational_product_function_variant' OR cvterm.name = 'level_of_transcript_variant' OR cvterm.name = 'transcript_processing_variant' OR cvterm.name = 'transcript_stability_variant' OR cvterm.name = 'transcription_variant' OR cvterm.name = 'decreased_transcript_level_variant' OR cvterm.name = 'increased_transcript_level_variant' OR cvterm.name = 'editing_variant' OR cvterm.name = 'polyadenylation_variant' OR cvterm.name = 'increased_polyadenylation_variant' OR cvterm.name = 'decreased_polyadenylation_variant' OR cvterm.name = 'decreased_transcript_stability_variant' OR cvterm.name = 'increased_transcript_stability_variant' OR cvterm.name = 'rate_of_transcription_variant' OR cvterm.name = 'increased_transcription_rate_variant' OR cvterm.name = 'decreased_transcription_rate_variant' OR cvterm.name = 'translational_product_level_variant' OR cvterm.name = 'polypeptide_function_variant' OR cvterm.name = 'decreased_translational_product_level' OR cvterm.name = 'increased_translational_product_level' OR cvterm.name = 'polypeptide_gain_of_function_variant' OR cvterm.name = 'polypeptide_localization_variant' OR cvterm.name = 'polypeptide_loss_of_function_variant' OR cvterm.name = 'polypeptide_post_translational_processing_variant' OR cvterm.name = 'inactive_ligand_binding_site' OR cvterm.name = 'polypeptide_partial_loss_of_function' OR cvterm.name = 'inactive_catalytic_site' OR cvterm.name = 'silent_mutation' OR cvterm.name = 'copy_number_change' OR cvterm.name = 'gene_variant' OR cvterm.name = 'regulatory_region_variant' OR cvterm.name = 'intergenic_variant' OR cvterm.name = 'upstream_gene_variant' OR cvterm.name = 'downstream_gene_variant' OR cvterm.name = 'gene_fusion' OR cvterm.name = 'splicing_variant' OR cvterm.name = 'transcript_variant' OR cvterm.name = 'translational_product_structure_variant' OR cvterm.name = 'cryptic_splice_site_variant' OR cvterm.name = 'exon_loss' OR cvterm.name = 'intron_gain' OR cvterm.name = 'splice_region_variant' OR cvterm.name = 'cryptic_splice_acceptor' OR cvterm.name = 'cryptic_splice_donor' OR cvterm.name = 'complex_change_in_transcript' OR cvterm.name = 'transcript_secondary_structure_variant' OR cvterm.name = 'nc_transcript_variant' OR cvterm.name = 'NMD_transcript_variant' OR cvterm.name = 'UTR_variant' OR cvterm.name = 'intron_variant' OR cvterm.name = 'exon_variant' OR cvterm.name = 'compensatory_transcript_secondary_structure_variant' OR cvterm.name = 'mature_miRNA_variant' OR cvterm.name = '5_prime_UTR_variant' OR cvterm.name = '3_prime_UTR_variant' OR cvterm.name = 'splice_site_variant' OR cvterm.name = 'splice_acceptor_variant' OR cvterm.name = 'splice_donor_variant' OR cvterm.name = 'splice_donor_5th_base_variant' OR cvterm.name = 'coding_sequence_variant' OR cvterm.name = 'non_coding_exon_variant' OR cvterm.name = 'codon_variant' OR cvterm.name = 'frameshift_variant' OR cvterm.name = 'inframe_variant' OR cvterm.name = 'initiator_codon_change' OR cvterm.name = 'non_synonymous_codon' OR cvterm.name = 'synonymous_codon' OR cvterm.name = 'terminal_codon_variant' OR cvterm.name = 'stop_gained' OR cvterm.name = 'missense_codon' OR cvterm.name = 'conservative_missense_codon' OR cvterm.name = 'non_conservative_missense_codon' OR cvterm.name = 'terminator_codon_variant' OR cvterm.name = 'incomplete_terminal_codon_variant' OR cvterm.name = 'stop_retained_variant' OR cvterm.name = 'stop_lost' OR cvterm.name = 'frame_restoring_variant' OR cvterm.name = 'minus_1_frameshift_variant' OR cvterm.name = 'minus_2_frameshift_variant' OR cvterm.name = 'plus_1_frameshift_variant' OR cvterm.name = 'plus_2_frameshift variant' OR cvterm.name = 'inframe_codon_gain' OR cvterm.name = 'inframe_codon_loss' OR cvterm.name = '3D_polypeptide_structure_variant' OR cvterm.name = 'complex_change_of_translational_product_variant' OR cvterm.name = 'polypeptide_sequence_variant' OR cvterm.name = 'complex_3D_structural_variant' OR cvterm.name = 'conformational_change_variant' OR cvterm.name = 'amino_acid_deletion' OR cvterm.name = 'amino_acid_insertion' OR cvterm.name = 'amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide' OR cvterm.name = 'polypeptide_fusion' OR cvterm.name = 'polypeptide_truncation' OR cvterm.name = 'conservative_amino_acid_substitution' OR cvterm.name = 'non_conservative_amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide_C_terminal' OR cvterm.name = 'elongated_polypeptide_N_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_out_of_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'elongated_out_of_frame_polypeptide_N_terminal' OR cvterm.name = 'TF_binding_site_variant' OR cvterm.name = '5KB_upstream_variant' OR cvterm.name = '2KB_upstream_variant' OR cvterm.name = '5KB_downstream_variant' OR cvterm.name = '500B_downstream_variant' OR cvterm.name = 'sequence_variant';
- --- ************************************************
- --- *** relation: propeptide_cleavage_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The propeptide_cleavage_site is the argi ***
- --- *** nine/lysine boundary on a propeptide whe ***
- --- *** re cleavage occurs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: propeptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Part of a peptide chain which is cleaved ***
- --- *** off during the formation of the mature ***
- --- *** protein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: immature_peptide_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An immature_peptide_region is the extent ***
- --- *** of the peptide after it has been transl ***
- --- *** ated and before any processing occurs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: active_peptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Active peptides are proteins which are b ***
- --- *** iologically active, released from a prec ***
- --- *** ursor molecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: compositionally_biased_region_of_peptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Polypeptide region that is rich in a par ***
- --- *** ticular amino acid or homopolymeric and ***
- --- *** greater than three residues in length. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence motif is a short (up to 20 am ***
- --- *** ino acids) region of biological interest ***
- --- *** . Such motifs, although they are too sho ***
- --- *** rt to constitute functional domains, sha ***
- --- *** re sequence similarities and are conserv ***
- --- *** ed in different proteins. They display a ***
- --- *** common function (protein-binding, subce ***
- --- *** llular location etc.). ***
- --- ************************************************
- ---
- 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 = 'histone_modification' OR cvterm.name = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' 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';
- --- ************************************************
- --- *** relation: polypeptide_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polypeptide_repeat is a single copy of ***
- --- *** an internal sequence repetition. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_structural_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Region of polypeptide with a given struc ***
- --- *** tural property. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: membrane_structure ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Arrangement of the polypeptide with resp ***
- --- *** ect to the lipid bilayer. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: extramembrane_polypeptide_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Polypeptide region that is localized out ***
- --- *** side of a lipid bilayer. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cytoplasmic_polypeptide_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Polypeptide region that is localized ins ***
- --- *** ide the cytoplasm. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: non_cytoplasmic_polypeptide_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Polypeptide region that is localized out ***
- --- *** side of a lipid bilayer and outside of t ***
- --- *** he cytoplasm. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: intramembrane_polypeptide_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Polypeptide region present in the lipid ***
- --- *** bilayer. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: membrane_peptide_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Polypeptide region localized within the ***
- --- *** lipid bilayer where both ends traverse t ***
- --- *** he same membrane. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transmembrane_polypeptide_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Polypeptide region traversing the lipid ***
- --- *** bilayer. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_secondary_structure ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of peptide with secondary struc ***
- --- *** ture has hydrogen bonding along the pept ***
- --- *** ide chain that causes a defined conforma ***
- --- *** tion of the chain. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_structural_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Motif is a three-dimensional structural ***
- --- *** element within the chain, which appears ***
- --- *** also in a variety of other molecules. Un ***
- --- *** like a domain, a motif does not need to ***
- --- *** form a stable globular unit. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: coiled_coil ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A coiled coil is a structural motif in p ***
- --- *** roteins, in which alpha-helices are coil ***
- --- *** ed together like the strands of a rope. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: helix_turn_helix ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif comprising two helices separated ***
- --- *** by a turn. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_sequencing_information ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Incompatibility in the sequence due to s ***
- --- *** ome experimental problem. ***
- --- ************************************************
- ---
- 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 = 'contig_collection' OR cvterm.name = 'polypeptide_sequencing_information';
- --- ************************************************
- --- *** relation: non_adjacent_residues ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Indicates that two consecutive residues ***
- --- *** in a fragment sequence are not consecuti ***
- --- *** ve in the full-length protein and that t ***
- --- *** here are a number of unsequenced residue ***
- --- *** s between them. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: non_terminal_residue ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The residue at an extremity of the seque ***
- --- *** nce is not the terminal residue. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_conflict ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Different sources report differing seque ***
- --- *** nces. ***
- --- ************************************************
- ---
- 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 = 'contig_collection' OR cvterm.name = 'sequence_conflict';
- --- ************************************************
- --- *** relation: sequence_uncertainty ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Describes the positions in a sequence wh ***
- --- *** ere the authors are unsure about the seq ***
- --- *** uence assignment. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: post_translationally_modified_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region where a transformation occurs i ***
- --- *** n a protein after it has been synthesize ***
- --- *** d. This which may regulate, stabilize, c ***
- --- *** rosslink or introduce new chemical funct ***
- --- *** ionalities in the protein. ***
- --- ************************************************
- ---
- 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 = 'histone_modification' OR cvterm.name = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' OR cvterm.name = 'post_translationally_modified_region';
- --- ************************************************
- --- *** relation: polypeptide_metal_contact ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with metal ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: protein_protein_contact ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the protein mole ***
- --- *** cule, interacts selectively and non-cova ***
- --- *** lently with polypeptide residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_calcium_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with calcium ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_cobalt_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with cobalt ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_copper_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with copper ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_iron_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with iron ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_magnesium_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with magnesium ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_manganese_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with manganese ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_molybdenum_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with molybdenum ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_nickel_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with nickel ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_tungsten_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with tungsten ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_zinc_ion_contact_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with zinc ions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: catalytic_residue ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Amino acid involved in the activity of a ***
- --- *** n enzyme. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_ligand_contact ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Residues which interact with a ligand. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asx_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of five consecutive residues and ***
- --- *** two H-bonds in which: Residue(i) is Asp ***
- --- *** artate or Asparagine (Asx), side-chain O ***
- --- *** of residue(i) is H-bonded to the main-c ***
- --- *** hain NH of residue(i+2) or (i+3), main-c ***
- --- *** hain CO of residue(i) is H-bonded to the ***
- --- *** main-chain NH of residue(i+3) or (i+4). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_bulge ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of three residues within a beta- ***
- --- *** sheet in which the main chains of two co ***
- --- *** nsecutive residues are H-bonded to that ***
- --- *** of the third, and in which the dihedral ***
- --- *** angles are as follows: Residue(i): -140 ***
- --- *** degrees < phi(l) -20 degrees , -90 degre ***
- --- *** es < psi(l) < 40 degrees. Residue (i+1): ***
- --- *** -180 degrees < phi < -25 degrees or +12 ***
- --- *** 0 degrees < phi < +180 degrees, +40 degr ***
- --- *** ees < psi < +180 degrees or -180 degrees ***
- --- *** < psi < -120 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_bulge_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of three residues within a beta- ***
- --- *** sheet consisting of two H-bonds. Beta bu ***
- --- *** lge loops often occur at the loop ends o ***
- --- *** f beta-hairpins. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_bulge_loop_five ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of three residues within a beta- ***
- --- *** sheet consisting of two H-bonds in which ***
- --- *** : the main-chain NH of residue(i) is H-b ***
- --- *** onded to the main-chain CO of residue(i+ ***
- --- *** 4), the main-chain CO of residue i is H- ***
- --- *** bonded to the main-chain NH of residue(i ***
- --- *** +3), these loops have an RL nest at resi ***
- --- *** dues i+2 and i+3. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_bulge_loop_six ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of three residues within a beta- ***
- --- *** sheet consisting of two H-bonds in which ***
- --- *** : the main-chain NH of residue(i) is H-b ***
- --- *** onded to the main-chain CO of residue(i+ ***
- --- *** 5), the main-chain CO of residue i is H- ***
- --- *** bonded to the main-chain NH of residue(i ***
- --- *** +4), these loops have an RL nest at resi ***
- --- *** dues i+3 and i+4. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_strand ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A beta strand describes a single length ***
- --- *** of polypeptide chain that forms part of ***
- --- *** a beta sheet. A single continuous stretc ***
- --- *** h of amino acids adopting an extended co ***
- --- *** nformation of hydrogen bonds between the ***
- --- *** N-O and the C=O of another part of the ***
- --- *** peptide. This forms a secondary protein ***
- --- *** structure in which two or more extended ***
- --- *** polypeptide regions are hydrogen-bonded ***
- --- *** to one another in a planar array. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: antiparallel_beta_strand ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A peptide region which hydrogen bonded t ***
- --- *** o another region of peptide running in t ***
- --- *** he oposite direction (one running N-term ***
- --- *** inal to C-terminal and one running C-ter ***
- --- *** minal to N-terminal). Hydrogen bonding o ***
- --- *** ccurs between every other C=O from one s ***
- --- *** trand to every other N-H on the adjacent ***
- --- *** strand. In this case, if two atoms C-al ***
- --- *** pha (i) and C-alpha (j) are adjacent in ***
- --- *** two hydrogen-bonded beta strands, then t ***
- --- *** hey form two mutual backbone hydrogen bo ***
- --- *** nds to each other's flanking peptide gro ***
- --- *** ups; this is known as a close pair of hy ***
- --- *** drogen bonds. The peptide backbone dihed ***
- --- *** ral angles (phi, psi) are about (-140 de ***
- --- *** grees, 135 degrees) in antiparallel shee ***
- --- *** ts. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: parallel_beta_strand ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A peptide region which hydrogen bonded t ***
- --- *** o another region of peptide running in t ***
- --- *** he oposite direction (both running N-ter ***
- --- *** minal to C-terminal). This orientation i ***
- --- *** s slightly less stable because it introd ***
- --- *** uces nonplanarity in the inter-strand hy ***
- --- *** drogen bonding pattern. Hydrogen bonding ***
- --- *** occurs between every other C=O from one ***
- --- *** strand to every other N-H on the adjace ***
- --- *** nt strand. In this case, if two atoms C- ***
- --- *** alpha (i)and C-alpha (j) are adjacent in ***
- --- *** two hydrogen-bonded beta strands, then ***
- --- *** they do not hydrogen bond to each other; ***
- --- *** rather, one residue forms hydrogen bond ***
- --- *** s to the residues that flank the other ( ***
- --- *** but not vice versa). For example, residu ***
- --- *** e i may form hydrogen bonds to residues ***
- --- *** j - 1 and j + 1; this is known as a wide ***
- --- *** pair of hydrogen bonds. By contrast, re ***
- --- *** sidue j may hydrogen-bond to different r ***
- --- *** esidues altogether, or to none at all. T ***
- --- *** he dihedral angles (phi, psi) are about ***
- --- *** (-120 degrees, 115 degrees) in parallel ***
- --- *** sheets. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: peptide_helix ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A helix is a secondary_structure conform ***
- --- *** ation where the peptide backbone forms a ***
- --- *** coil. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: left_handed_peptide_helix ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A left handed helix is a region of pepti ***
- --- *** de where the coiled conformation turns i ***
- --- *** n an anticlockwise, left handed screw. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: right_handed_peptide_helix ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A right handed helix is a region of pept ***
- --- *** ide where the coiled conformation turns ***
- --- *** in a clockwise, right handed screw. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: alpha_helix ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The helix has 3.6 residues per turn whic ***
- --- *** h corersponds to a translation of 1.5 an ***
- --- *** gstroms (= 0.15 nm) along the helical ax ***
- --- *** is. Every backbone N-H group donates a h ***
- --- *** ydrogen bond to the backbone C=O group o ***
- --- *** f the amino acid four residues earlier. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pi_helix ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The pi helix has 4.1 residues per turn a ***
- --- *** nd a translation of 1.15 (=0.115 nm) al ***
- --- *** ong the helical axis. The N-H group of a ***
- --- *** n amino acid forms a hydrogen bond with ***
- --- *** the C=O group of the amino acid five res ***
- --- *** idues earlier. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_ten_helix ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The 3-10 helix has 3 residues per turn w ***
- --- *** ith a translation of 2.0 angstroms (=0.2 ***
- --- *** nm) along the helical axis. The N-H gro ***
- --- *** up of an amino acid forms a hydrogen bon ***
- --- *** d with the C=O group of the amino acid t ***
- --- *** hree residues earlier. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_nest_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of two consecutive residues with ***
- --- *** dihedral angles. Nest should not have P ***
- --- *** roline as any residue. Nests frequently ***
- --- *** occur as parts of other motifs such as S ***
- --- *** chellman loops. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_nest_left_right_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of two consecutive residues with ***
- --- *** dihedral angles: Residue(i): +20 degree ***
- --- *** s < phi < +140 degrees, -40 degrees < ps ***
- --- *** i < +90 degrees. Residue(i+1): -140 degr ***
- --- *** ees < phi < -20 degrees, -90 degrees < p ***
- --- *** si < +40 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_nest_right_left_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of two consecutive residues with ***
- --- *** dihedral angles: Residue(i): -140 degre ***
- --- *** es < phi < -20 degrees, -90 degrees < ps ***
- --- *** i < +40 degrees. Residue(i+1): +20 degre ***
- --- *** es < phi < +140 degrees, -40 degrees < p ***
- --- *** si < +90 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: schellmann_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of six or seven consecutive resi ***
- --- *** dues that contains two H-bonds. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: schellmann_loop_seven ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Wild type: A motif of seven consecutive ***
- --- *** residues that contains two H-bonds in wh ***
- --- *** ich: the main-chain CO of residue(i) is ***
- --- *** H-bonded to the main-chain NH of residue ***
- --- *** (i+6), the main-chain CO of residue(i+1) ***
- --- *** is H-bonded to the main-chain NH of res ***
- --- *** idue(i+5). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: schellmann_loop_six ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Common Type: A motif of six consecutive ***
- --- *** residues that contains two H-bonds in wh ***
- --- *** ich: the main-chain CO of residue(i) is ***
- --- *** H-bonded to the main-chain NH of residue ***
- --- *** (i+5) the main-chain CO of residue(i+1) ***
- --- *** is H-bonded to the main-chain NH of resi ***
- --- *** due(i+4). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: serine_threonine_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of five consecutive residues and ***
- --- *** two hydrogen bonds in which: residue(i) ***
- --- *** is Serine (S) or Threonine (T), the sid ***
- --- *** e-chain O of residue(i) is H-bonded to t ***
- --- *** he main-chain NH of residue(i+2) or (i+3 ***
- --- *** ) , the main-chain CO group of residue(i ***
- --- *** ) is H-bonded to the main-chain NH of re ***
- --- *** sidue(i+3) or (i+4). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: serine_threonine_staple_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of four or five consecutive resi ***
- --- *** dues and one H-bond in which: residue(i) ***
- --- *** is Serine (S) or Threonine (T), the sid ***
- --- *** e-chain OH of residue(i) is H-bonded to ***
- --- *** the main-chain CO of residue(i3) or (i4) ***
- --- *** , Phi angles of residues(i1), (i2) and ( ***
- --- *** i3) are negative. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_turn_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A reversal in the direction of the backb ***
- --- *** one of a protein that is stabilized by h ***
- --- *** ydrogen bond between backbone NH and CO ***
- --- *** groups, involving no more than 4 amino a ***
- --- *** cid residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asx_turn_left_handed_type_one ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Left handed type I (dihedral angles):- R ***
- --- *** esidue(i): -140 degrees < chi (1) -120 d ***
- --- *** egrees < -20 degrees, -90 degrees < psi ***
- --- *** +120 degrees < +40 degrees. Residue(i+1) ***
- --- *** : -140 degrees < phi < -20 degrees, -90 ***
- --- *** degrees < psi < +40 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asx_turn_left_handed_type_two ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Left handed type II (dihedral angles):- ***
- --- *** Residue(i): -140 degrees < chi (1) -120 ***
- --- *** degrees < -20 degrees, +80 degrees < psi ***
- --- *** +120 degrees < +180 degrees. Residue(i+ ***
- --- *** 1): +20 degrees < phi < +140 degrees, -4 ***
- --- *** 0 degrees < psi < +90 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asx_turn_right_handed_type_two ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Right handed type II (dihedral angles):- ***
- --- *** Residue(i): -140 degrees < chi (1) -120 ***
- --- *** degrees < -20 degrees, +80 degrees < ps ***
- --- *** i +120 degrees < +180 degrees. Residue(i ***
- --- *** +1): +20 degrees < phi < +140 degrees, - ***
- --- *** 40 degrees < psi < +90 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asx_turn_right_handed_type_one ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Right handed type I (dihedral angles):- ***
- --- *** Residue(i): -140 degrees < chi (1) -120 ***
- --- *** degrees < -20 degrees, -90 degrees < psi ***
- --- *** +120 degrees < +40 degrees. Residue(i+1 ***
- --- *** ): -140 degrees < phi < -20 degrees, -90 ***
- --- *** degrees < psi < +40 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of four consecutive residues tha ***
- --- *** t may contain one H-bond, which, if pres ***
- --- *** ent, is between the main-chain CO of the ***
- --- *** first residue and the main-chain NH of ***
- --- *** the fourth. It is characterized by the d ***
- --- *** ihedral angles of the second and third r ***
- --- *** esidues, which are the basis for sub-cat ***
- --- *** egorization. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_left_handed_type_one ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Left handed type I:A motif of four conse ***
- --- *** cutive residues that may contain one H-b ***
- --- *** ond, which, if present, is between the m ***
- --- *** ain-chain CO of the first residue and th ***
- --- *** e main-chain NH of the fourth. It is cha ***
- --- *** racterized by the dihedral angles:- Resi ***
- --- *** due(i+1): -140 degrees > phi > -20 degre ***
- --- *** es, -90 degrees > psi > +40 degrees. Res ***
- --- *** idue(i+2): -140 degrees > phi > -20 degr ***
- --- *** ees, -90 degrees > psi > +40 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_left_handed_type_two ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Left handed type II: A motif of four con ***
- --- *** secutive residues that may contain one H ***
- --- *** -bond, which, if present, is between the ***
- --- *** main-chain CO of the first residue and ***
- --- *** the main-chain NH of the fourth. It is c ***
- --- *** haracterized by the dihedral angles: Res ***
- --- *** idue(i+1): -140 degrees > phi > -20 degr ***
- --- *** ees, +80 degrees > psi > +180 degrees. R ***
- --- *** esidue(i+2): +20 degrees > phi > +140 de ***
- --- *** grees, -40 degrees > psi > +90 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_right_handed_type_one ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Right handed type I:A motif of four cons ***
- --- *** ecutive residues that may contain one H- ***
- --- *** bond, which, if present, is between the ***
- --- *** main-chain CO of the first residue and t ***
- --- *** he main-chain NH of the fourth. It is ch ***
- --- *** aracterized by the dihedral angles: Resi ***
- --- *** due(i+1): -140 degrees < phi < -20 degre ***
- --- *** es, -90 degrees < psi < +40 degrees. Res ***
- --- *** idue(i+2): -140 degrees < phi < -20 degr ***
- --- *** ees, -90 degrees < psi < +40 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_right_handed_type_two ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Right handed type II:A motif of four con ***
- --- *** secutive residues that may contain one H ***
- --- *** -bond, which, if present, is between the ***
- --- *** main-chain CO of the first residue and ***
- --- *** the main-chain NH of the fourth. It is c ***
- --- *** haracterized by the dihedral angles: Res ***
- --- *** idue(i+1): -140 degrees < phi < -20 degr ***
- --- *** ees, +80 degrees < psi < +180 degrees. R ***
- --- *** esidue(i+2): +20 degrees < phi < +140 de ***
- --- *** grees, -40 degrees < psi < +90 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gamma_turn ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Gamma turns, defined for 3 residues i,( ***
- --- *** i+1),( i+2) if a hydrogen bond exists be ***
- --- *** tween residues i and i+2 and the phi and ***
- --- *** psi angles of residue i+1 fall within 4 ***
- --- *** 0 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gamma_turn_classic ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Gamma turns, defined for 3 residues i, i ***
- --- *** +1, i+2 if a hydrogen bond exists betwee ***
- --- *** n residues i and i+2 and the phi and psi ***
- --- *** angles of residue i+1 fall within 40 de ***
- --- *** grees: phi(i+1)=75.0 - psi(i+1)=-64.0. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gamma_turn_inverse ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Gamma turns, defined for 3 residues i, i ***
- --- *** +1, i+2 if a hydrogen bond exists betwee ***
- --- *** n residues i and i+2 and the phi and psi ***
- --- *** angles of residue i+1 fall within 40 de ***
- --- *** grees: phi(i+1)=-79.0 - psi(i+1)=69.0. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: serine_threonine_turn ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of three consecutive residues an ***
- --- *** d one H-bond in which: residue(i) is Ser ***
- --- *** ine (S) or Threonine (T), the side-chain ***
- --- *** O of residue(i) is H-bonded to the main ***
- --- *** -chain NH of residue(i+2). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: st_turn_left_handed_type_one ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The peptide twists in an anticlockwise, ***
- --- *** left handed manner. The dihedral angles ***
- --- *** for this turn are: Residue(i): -140 degr ***
- --- *** ees < chi(1) -120 degrees < -20 degrees, ***
- --- *** -90 degrees psi +120 degrees < +40 degr ***
- --- *** ees, residue(i+1): -140 degrees < phi < ***
- --- *** -20 degrees, -90 < psi < +40 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: st_turn_left_handed_type_two ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The peptide twists in an anticlockwise, ***
- --- *** left handed manner. The dihedral angles ***
- --- *** for this turn are: Residue(i): -140 degr ***
- --- *** ees < chi(1) -120 degrees < -20 degrees, ***
- --- *** +80 degrees psi +120 degrees < +180 deg ***
- --- *** rees, residue(i+1): +20 degrees < phi < ***
- --- *** +140 degrees, -40 < psi < +90 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: st_turn_right_handed_type_one ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The peptide twists in an clockwise, righ ***
- --- *** t handed manner. The dihedral angles for ***
- --- *** this turn are: Residue(i): -140 degrees ***
- --- *** < chi(1) -120 degrees < -20 degrees, -9 ***
- --- *** 0 degrees psi +120 degrees < +40 degrees ***
- --- *** , residue(i+1): -140 degrees < phi < -20 ***
- --- *** degrees, -90 < psi < +40 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: st_turn_right_handed_type_two ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The peptide twists in an clockwise, righ ***
- --- *** t handed manner. The dihedral angles for ***
- --- *** this turn are: Residue(i): -140 degrees ***
- --- *** < chi(1) -120 degrees < -20 degrees, +8 ***
- --- *** 0 degrees psi +120 degrees < +180 degree ***
- --- *** s, residue(i+1): +20 degrees < phi < +14 ***
- --- *** 0 degrees, -40 < psi < +90 degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_variation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A site of sequence variation (alteration ***
- --- *** ). Alternative sequence due to naturally ***
- --- *** occuring events such as polymorphisms a ***
- --- *** nd altermatve splicing or experimental m ***
- --- *** ethods such as site directed mutagenesis ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: natural_variant_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Describes the natural sequence variants ***
- --- *** due to polymorphisms, disease-associated ***
- --- *** mutations, RNA editing and variations b ***
- --- *** etween strains, isolates or cultivars. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mutated_variant_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Site which has been experimentally alter ***
- --- *** ed. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: alternate_sequence_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Description of sequence variants produce ***
- --- *** d by alternative splicing, alternative p ***
- --- *** romoter usage, alternative initiation an ***
- --- *** d ribosomal frameshifting. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_type_six ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of four consecutive peptide resi ***
- --- *** des of type VIa or type VIb and where th ***
- --- *** e i+2 residue is cis-proline. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_type_six_a ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of four consecutive peptide resi ***
- --- *** dues, of which the i+2 residue is prolin ***
- --- *** e, and that may contain one H-bond, whic ***
- --- *** h, if present, is between the main-chain ***
- --- *** CO of the first residue and the main-ch ***
- --- *** ain NH of the fourth and is characterize ***
- --- *** d by the dihedral angles: Residue(i+1): ***
- --- *** phi ~ -60 degrees, psi ~ 120 degrees. Re ***
- --- *** sidue(i+2): phi ~ -90 degrees, psi ~ 0 d ***
- --- *** egrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_type_six_a_one ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_type_six_a_two ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_type_six_b ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of four consecutive peptide resi ***
- --- *** dues, of which the i+2 residue is prolin ***
- --- *** e, and that may contain one H-bond, whic ***
- --- *** h, if present, is between the main-chain ***
- --- *** CO of the first residue and the main-ch ***
- --- *** ain NH of the fourth and is characterize ***
- --- *** d by the dihedral angles: Residue(i+1): ***
- --- *** phi ~ -120 degrees, psi ~ 120 degrees. R ***
- --- *** esidue(i+2): phi ~ -60 degrees, psi ~ 0 ***
- --- *** degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: beta_turn_type_eight ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of four consecutive peptide resi ***
- --- *** dues that may contain one H-bond, which, ***
- --- *** if present, is between the main-chain C ***
- --- *** O of the first residue and the main-chai ***
- --- *** n NH of the fourth and is characterized ***
- --- *** by the dihedral angles: Residue(i+1): ph ***
- --- *** i ~ -60 degrees, psi ~ -30 degrees. Resi ***
- --- *** due(i+2): phi ~ -120 degrees, psi ~ 120 ***
- --- *** degrees. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dre_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters, usually l ***
- --- *** ocated between -10 and -60 relative to t ***
- --- *** he TSS. Consensus sequence is WATCGATW. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dmv4_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters, located i ***
- --- *** mmediately upstream of some TATA box ele ***
- --- *** ments with respect to the TSS (+1). Cons ***
- --- *** ensus sequence is YGGTCACACTR. Marked sp ***
- --- *** atial preference within core promoter; t ***
- --- *** end to occur near the TSS, although not ***
- --- *** as tightly as INR (SO:0000014). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: e_box_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters, usually l ***
- --- *** ocated between -60 and +1 relative to th ***
- --- *** e TSS. Consensus sequence is AWCAGCTGWT. ***
- --- *** Tends to co-occur with DMv2 (SO:0001161 ***
- --- *** ). Tends to not occur with DPE motif (SO ***
- --- *** :0000015). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dmv5_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters, usually l ***
- --- *** ocated between -50 and -10 relative to t ***
- --- *** he TSS. Consensus sequence is KTYRGTATWT ***
- --- *** TT. Tends to co-occur with DMv4 (SO:0001 ***
- --- *** 157) . Tends to not occur with DPE motif ***
- --- *** (SO:0000015) or MTE (SO:0001162). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dmv3_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters, usually l ***
- --- *** ocated between -30 and +15 relative to t ***
- --- *** he TSS. Consensus sequence is KNNCAKCNCT ***
- --- *** RNY. Tends to co-occur with DMv2 (SO:000 ***
- --- *** 1161). Tends to not occur with DPE motif ***
- --- *** (SO:0000015) or MTE (0001162). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dmv2_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters, usually l ***
- --- *** ocated between -60 and -45 relative to t ***
- --- *** he TSS. Consensus sequence is MKSYGGCARC ***
- --- *** GSYSS. Tends to co-occur with DMv3 (SO:0 ***
- --- *** 001160). Tends to not occur with DPE mot ***
- --- *** if (SO:0000015) or MTE (SO:0001162). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mte ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters, usually l ***
- --- *** ocated between +20 and +30 relative to t ***
- --- *** he TSS. Consensus sequence is CSARCSSAAC ***
- --- *** GS. Tends to co-occur with INR motif (SO ***
- --- *** :0000014). Tends to not occur with DPE m ***
- --- *** otif (SO:0000015) or DMv5 (SO:0001159). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inr1_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A promoter motif with consensus sequence ***
- --- *** TCATTCG. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dpe1_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A promoter motif with consensus sequence ***
- --- *** CGGACGT. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dmv1_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A promoter motif with consensus sequence ***
- --- *** CARCCCT. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gaga_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non directional promoter motif with co ***
- --- *** nsensus sequence GAGAGCG. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ndm2_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non directional promoter motif with co ***
- --- *** nsensus CGMYGYCR. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ndm3_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non directional promoter motif with co ***
- --- *** nsensus sequence GAAAGCT. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ds_rna_viral_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A ds_RNA_viral_sequence is a viral_seque ***
- --- *** nce that is the sequence of a virus that ***
- --- *** exists as double stranded RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polinton ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of DNA transposon that populates ***
- --- *** the genomes of protists, fungi, and anim ***
- --- *** als, characterized by a unique set of pr ***
- --- *** oteins necessary for their transposition ***
- --- *** , including a protein-primed DNA polymer ***
- --- *** ase B, retroviral integrase, cysteine pr ***
- --- *** otease, and ATPase. Polintons are charac ***
- --- *** terized by 6-bp target site duplications ***
- --- *** , terminal-inverted repeats that are sev ***
- --- *** eral hundred nucleotides long, and 5'-AG ***
- --- *** and TC-3' termini. Polintons exist as a ***
- --- *** utonomous and nonautonomous elements. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_21s ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A component of the large ribosomal subun ***
- --- *** it in mitochondrial rRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trna_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a tRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: anticodon_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence of seven nucleotide bases in ***
- --- *** tRNA which contains the anticodon. It ha ***
- --- *** s the sequence 5'-pyrimidine-purine-anti ***
- --- *** codon-modified purine-any base-3. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: anticodon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence of three nucleotide bases in ***
- --- *** tRNA which recognizes a codon in mRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cca_tail ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Base sequence at the 3' end of a tRNA. T ***
- --- *** he 3'-hydroxyl group on the terminal ade ***
- --- *** nosine is the attachment point for the a ***
- --- *** mino acid. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dhu_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Non-base-paired sequence of nucleotide b ***
- --- *** ases in tRNA. It contains several dihydr ***
- --- *** ouracil residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: t_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Non-base-paired sequence of three nucleo ***
- --- *** tide bases in tRNA. It has sequence T-Ps ***
- --- *** i-C. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pyrrolysine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding pyrrolysyl ***
- --- *** tRNA (SO:0000766). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: u3_snorna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** U3 snoRNA is a member of the box C/D cla ***
- --- *** ss of small nucleolar RNAs. The U3 snoRN ***
- --- *** A secondary structure is characterised b ***
- --- *** y a small 5' domain (with boxes A and A' ***
- --- *** ), and a larger 3' domain (with boxes B, ***
- --- *** C, C', and D), the two domains being li ***
- --- *** nked by a single-stranded hinge. Boxes B ***
- --- *** and C form the B/C motif, which appears ***
- --- *** to be exclusive to U3 snoRNAs, and boxe ***
- --- *** s C' and D form the C'/D motif. The latt ***
- --- *** er is functionally similar to the C/D mo ***
- --- *** tifs found in other snoRNAs. The 5' doma ***
- --- *** in and the hinge region act as a pre-rRN ***
- --- *** A-binding domain. The 3' domain has cons ***
- --- *** erved protein-binding sites. Both the bo ***
- --- *** x B/C and box C'/D motifs are sufficient ***
- --- *** for nuclear retention of U3 snoRNA. The ***
- --- *** box C'/D motif is also necessary for nu ***
- --- *** cleolar localization, stability and hype ***
- --- *** rmethylation of U3 snoRNA. Both box B/C ***
- --- *** and C'/D motifs are involved in specific ***
- --- *** protein interactions and are necessary ***
- --- *** for the rRNA processing functions of U3 ***
- --- *** snoRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: au_rich_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cis-acting element found in the 3' UTR ***
- --- *** of some mRNA which is rich in AUUUA pen ***
- --- *** tamers. Messenger RNAs bearing multiple ***
- --- *** AU-rich elements are often unstable. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bruno_response_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cis-acting element found in the 3' UTR ***
- --- *** of some mRNA which is bound by the Dros ***
- --- *** ophila Bruno protein and its homologs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: iron_responsive_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory sequence found in the 5' an ***
- --- *** d 3' UTRs of many mRNAs which encode iro ***
- --- *** n-binding proteins. It has a hairpin str ***
- --- *** ucture and is recognized by trans-acting ***
- --- *** proteins known as iron-regulatory prote ***
- --- *** ins. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: morpholino_backbone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence compo ***
- --- *** sed of nucleobases bound to a morpholino ***
- --- *** backbone. A morpholino backbone consist ***
- --- *** s of morpholine (CHEBI:34856) rings conn ***
- --- *** ected by phosphorodiamidate linkages. ***
- --- ************************************************
- ---
- CREATE VIEW morpholino_backbone AS
- SELECT
- feature_id AS morpholino_backbone_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'morpholino_backbone';
- --- ************************************************
- --- *** relation: pna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence compo ***
- --- *** sed of peptide nucleic acid (CHEBI:48021 ***
- --- *** ), a chemical consisting of nucleobases ***
- --- *** bound to a backbone composed of repeatin ***
- --- *** g N-(2-aminoethyl)-glycine units linked ***
- --- *** by peptide bonds. The purine and pyrimid ***
- --- *** ine bases are linked to the backbone by ***
- --- *** methylene carbonyl bonds. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: enzymatic ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing the sequence of ***
- --- *** a transcript that has catalytic activity ***
- --- *** with or without an associated ribonucle ***
- --- *** oprotein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ribozymic ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing the sequence of ***
- --- *** a transcript that has catalytic activity ***
- --- *** even without an associated ribonucleopr ***
- --- *** otein. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudouridylation_guide_snorna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A snoRNA that specifies the site of pseu ***
- --- *** douridylation in an RNA molecule by base ***
- --- *** pairing with a short sequence around th ***
- --- *** e target residue. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: lna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence consi ***
- --- *** sting of nucleobases attached to a repea ***
- --- *** ting unit made of 'locked' deoxyribose r ***
- --- *** ings connected to a phosphate backbone. ***
- --- *** The deoxyribose unit's conformation is ' ***
- --- *** locked' by a 2'-C,4'-C-oxymethylene link ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: lna_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An oligo composed of LNA residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence consi ***
- --- *** sting of nucleobases attached to a repea ***
- --- *** ting unit made of threose rings connecte ***
- --- *** d to a phosphate backbone. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tna_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An oligo composed of TNA residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a sequence consi ***
- --- *** sting of nucleobases attached to a repea ***
- --- *** ting unit made of an acyclic three-carbo ***
- --- *** n propylene glycol connected to a phosph ***
- --- *** ate backbone. It has two enantiomeric fo ***
- --- *** rms, (R)-GNA and (S)-GNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gna_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An oligo composed of GNA residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: r_gna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a GNA sequence i ***
- --- *** n the (R)-GNA enantiomer. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: r_gna_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An oligo composed of (R)-GNA residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: s_gna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a GNA sequence i ***
- --- *** n the (S)-GNA enantiomer. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: s_gna_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An oligo composed of (S)-GNA residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ds_dna_viral_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A ds_DNA_viral_sequence is a viral_seque ***
- --- *** nce that is the sequence of a virus that ***
- --- *** exists as double stranded DNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ss_rna_viral_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A ss_RNA_viral_sequence is a viral_seque ***
- --- *** nce that is the sequence of a virus that ***
- --- *** exists as single stranded RNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: negative_sense_ssrna_viral_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A negative_sense_RNA_viral_sequence is a ***
- --- *** ss_RNA_viral_sequence that is the seque ***
- --- *** nce of a single stranded RNA virus that ***
- --- *** is complementary to mRNA and must be con ***
- --- *** verted to positive sense RNA by RNA poly ***
- --- *** merase before translation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: positive_sense_ssrna_viral_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A positive_sense_RNA_viral_sequence is a ***
- --- *** ss_RNA_viral_sequence that is the seque ***
- --- *** nce of a single stranded RNA virus that ***
- --- *** can be immediately translated by the hos ***
- --- *** t. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ambisense_ssrna_viral_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A ambisense_RNA_virus is a ss_RNA_viral_ ***
- --- *** sequence that is the sequence of a singl ***
- --- *** e stranded RNA virus with both messenger ***
- --- *** and anti messenger polarity. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rna_polymerase_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region (DNA) to which RNA polymerase b ***
- --- *** inds, to begin transcription. ***
- --- ************************************************
- ---
- 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_II_core_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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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';
- --- ************************************************
- --- *** relation: phage_rna_polymerase_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region (DNA) to which Bacteriophage RN ***
- --- *** A polymerase binds, to begin transcripti ***
- --- *** on. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sp6_rna_polymerase_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region (DNA) to which the SP6 RNA poly ***
- --- *** merase binds, to begin transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: t3_rna_polymerase_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA sequence to which the T3 RNA polym ***
- --- *** erase binds, to begin transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: t7_rna_polymerase_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region (DNA) to which the T7 RNA polym ***
- --- *** erase binds, to begin transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_est ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An EST read from the 5' end of a transcr ***
- --- *** ipt that usually codes for a protein. Th ***
- --- *** ese regions tend to be conserved across ***
- --- *** species and do not change much within a ***
- --- *** gene family. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_est ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An EST read from the 3' end of a transcr ***
- --- *** ipt. They are more likely to fall within ***
- --- *** non-coding, or untranslated regions(UTR ***
- --- *** s). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: translational_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of mRNA (not divisible by 3 b ***
- --- *** ases) that is skipped during the process ***
- --- *** of translational frameshifting (GO:0006 ***
- --- *** 452), causing the reading frame to be di ***
- --- *** fferent. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plus_1_translational_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of mRNA 1 base long that is s ***
- --- *** kipped during the process of translation ***
- --- *** al frameshifting (GO:0006452), causing t ***
- --- *** he reading frame to be different. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plus_2_translational_frameshift ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of mRNA 2 bases long that is ***
- --- *** skipped during the process of translatio ***
- --- *** nal frameshifting (GO:0006452), causing ***
- --- *** the reading frame to be different. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: group_iii_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Group III introns are introns found in t ***
- --- *** he mRNA of the plastids of euglenoid pro ***
- --- *** tists. They are spliced by a two step tr ***
- --- *** ansesterification with bulged adenosine ***
- --- *** as initiating nucleophile. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: noncoding_region_of_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The maximal intersection of exon and UTR ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: coding_region_of_exon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of an exon that encodes for p ***
- --- *** rotein sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: endonuclease_spliced_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intron that spliced via endonucleolyt ***
- --- *** ic cleavage and ligation rather than tra ***
- --- *** nsesterification. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: protein_coding_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transgenic_insertion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An insertion that derives from another o ***
- --- *** rganism, via the use of recombinant DNA ***
- --- *** technology. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: retrogene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silenced_by_rna_interference ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an epigenetic pr ***
- --- *** ocess where a gene is inactivated by RNA ***
- --- *** interference. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silenced_by_histone_modification ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an epigenetic pr ***
- --- *** ocess where a gene is inactivated by his ***
- --- *** tone modification. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silenced_by_histone_methylation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an epigenetic pr ***
- --- *** ocess where a gene is inactivated by his ***
- --- *** tone methylation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: silenced_by_histone_deacetylation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing an epigenetic pr ***
- --- *** ocess where a gene is inactivated by his ***
- --- *** tone deacetylation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_silenced_by_rna_interference ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is silenced by RNA interfere ***
- --- *** nce. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_silenced_by_histone_modification ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is silenced by histone modif ***
- --- *** ication. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_silenced_by_histone_methylation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is silenced by histone methy ***
- --- *** lation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_silenced_by_histone_deacetylation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is silenced by histone deace ***
- --- *** tylation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dihydrouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified RNA base in which the 5,6-dih ***
- --- *** ydrouracil is bound to the ribose ring. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pseudouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified RNA base in which the 5- posi ***
- --- *** tion of the uracil is bound to the ribos ***
- --- *** e ring instead of the 4- position. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified RNA base in which hypoxanthin ***
- --- *** e is bound to the ribose ring. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: seven_methylguanine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified RNA base in which guanine is ***
- --- *** methylated at the 7- position. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ribothymidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified RNA base in which thymine is ***
- --- *** bound to the ribose ring. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: methylinosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified RNA base in which methylhypox ***
- --- *** anthine is bound to the ribose ring. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mobile ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a feature that h ***
- --- *** as either intra-genome or intracellular ***
- --- *** mobility. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: replicon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region containing at least one unique ***
- --- *** origin of replication and a unique termi ***
- --- *** nation site. ***
- --- ************************************************
- ---
- 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 = '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 = 'targeting_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';
- --- ************************************************
- --- *** relation: base ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A base is a sequence feature that corres ***
- --- *** ponds to a single unit of a nucleotide p ***
- --- *** olymer. ***
- --- ************************************************
- ---
- 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 = '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 = 'base';
- --- ************************************************
- --- *** relation: amino_acid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence feature that corresponds to a ***
- --- *** single amino acid residue in a polypept ***
- --- *** ide. ***
- --- ************************************************
- ---
- 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 = 'arginine' 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';
- --- ************************************************
- --- *** relation: major_tss ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: minor_tss ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tss_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The region of a gene from the 5' most TS ***
- --- *** S to the 3' 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';
- --- ************************************************
- --- *** relation: encodes_alternate_transcription_start_sites ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mirna_primary_transcript_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A part of an miRNA primary_transcript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pre_mirna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The 60-70 nucleotide region remain after ***
- --- *** Drosha processing of the primary transc ***
- --- *** ript, that folds back upon itself to for ***
- --- *** m a hairpin sructure. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mirna_stem ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The stem of the hairpin loop formed by f ***
- --- *** olding of the 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';
- --- ************************************************
- --- *** relation: mirna_loop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The loop of the hairpin loop formed by f ***
- --- *** olding of the pre-miRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: synthetic_oligo ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An oligo composed of synthetic nucleotid ***
- --- *** es. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: assembly ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of the genome of known length t ***
- --- *** hat is composed by ordering and aligning ***
- --- *** two or more different regions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: fragment_assembly ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A fragment assembly is a genome assembly ***
- --- *** that orders overlapping fragments of th ***
- --- *** e genome based on landmark sequences. Th ***
- --- *** e base pair distance between the landmar ***
- --- *** ks is known allowing additivity of lengt ***
- --- *** hs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: fingerprint_map ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A fingerprint_map is a physical map comp ***
- --- *** osed of restriction fragments. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sts_map ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An STS map is a physical map organized b ***
- --- *** y the unique STS landmarks. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rh_map ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A radiation hybrid map is a physical 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';
- --- ************************************************
- --- *** relation: sonicate_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA fragment generated by sonication. ***
- --- *** Sonication is a technique used to sheer ***
- --- *** DNA into smaller fragments. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polyploid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of chromosome variation where the ***
- --- *** chromosome complement is an exact multi ***
- --- *** ple of the haploid number and is greater ***
- --- *** than the diploid number. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: autopolyploid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polyploid where the multiple chromosom ***
- --- *** e set was derived from the same organism ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: allopolyploid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polyploid where the multiple chromosom ***
- --- *** e set was derived from a different organ ***
- --- *** ism. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: homing_endonuclease_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The binding site (recognition site) of a ***
- --- *** homing endonuclease. The binding site i ***
- --- *** s typically large. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: octamer_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence element characteristic of som ***
- --- *** e RNA polymerase II promoters with seque ***
- --- *** nce ATTGCAT that binds Pou-domain transc ***
- --- *** ription factors. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: apicoplast_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome originating in an apicoplas ***
- --- *** t. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: sequence_collection ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A collection of discontinuous sequences. ***
- --- ************************************************
- ---
- 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 = 'peptide_collection' OR cvterm.name = 'variant_collection' OR cvterm.name = 'kinetoplast' OR cvterm.name = 'reference_genome' OR cvterm.name = 'variant_genome' OR cvterm.name = 'chromosomally_aberrant_genome' OR cvterm.name = 'chromosome_variation' OR cvterm.name = 'allele' OR cvterm.name = 'haplotype' OR cvterm.name = 'genotype' OR cvterm.name = 'diplotype' OR cvterm.name = 'assortment_derived_variation' OR cvterm.name = 'chromosome_number_variation' OR cvterm.name = 'chromosome_structure_variation' OR 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 = '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 = 'chromosomal_transposition' OR cvterm.name = 'aneuploid_chromosome' OR cvterm.name = 'intrachromosomal_mutation' OR cvterm.name = 'interchromosomal_mutation' OR cvterm.name = 'chromosomal_duplication' 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 = 'unoriented_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' OR cvterm.name = 'inversion_derived_aneuploid_chromosome' 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 = 'deficient_intrachromosomal_transposition' 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 = 'inverted_intrachromosomal_transposition' 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' 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 = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' 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 = '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 = 'polymorphic_sequence_variant' OR cvterm.name = 'sequence_collection';
- --- ************************************************
- --- *** relation: overlapping_feature_set ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A continuous region of sequence composed ***
- --- *** of the overlapping of multiple sequence ***
- --- *** _features, which ultimately provides evi ***
- --- *** dence for another sequence_feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: overlapping_est_set ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A continous experimental result region e ***
- --- *** xtending the length of multiple overlapp ***
- --- *** ing EST's. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ncrna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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 = 'rRNA_gene' OR cvterm.name = 'piRNA_gene' OR cvterm.name = 'RNase_P_RNA_gene' OR cvterm.name = 'RNase_MRP_RNA_gene' OR cvterm.name = 'lincRNA_gene' OR cvterm.name = 'telomerase_RNA_gene' OR cvterm.name = 'ncRNA_gene';
- --- ************************************************
- --- *** relation: grna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mirna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: scrna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: snorna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: snrna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: srp_rna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: strna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tmrna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_adenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified adenine is an adenine base fe ***
- --- *** ature that has been altered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_inosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified inosine is an inosine base fe ***
- --- *** ature that has been altered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_cytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A modified cytidine is a cytidine base f ***
- --- *** eature which has been altered. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_guanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_uridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: one_methylinosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 1-methylinosine is a modified insosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: one_two_prime_o_dimethylinosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 1,2'-O-dimethylinosine is a modified ino ***
- --- *** sine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_prime_o_methylinosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2'-O-methylinosine is a modified inosine ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_methylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 3-methylcytidine is a modified cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_methylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5-methylcytidine is a modified cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_prime_o_methylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2'-O-methylcytidine is a modified cytidi ***
- --- *** ne. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_thiocytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2-thiocytidine is a modified cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n4_acetylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N4-acetylcytidine is a modified cytidine ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_formylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5-formylcytidine is a modified cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_two_prime_o_dimethylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5,2'-O-dimethylcytidine is a modified cy ***
- --- *** tidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n4_acetyl_2_prime_o_methylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N4-acetyl-2'-O-methylcytidine is a modif ***
- --- *** ied cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: lysidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Lysidine is a modified cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n4_methylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N4-methylcytidine is a modified cytidine ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n4_2_prime_o_dimethylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N4,2'-O-dimethylcytidine is a modified c ***
- --- *** ytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_hydroxymethylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5-hydroxymethylcytidine is a modified cy ***
- --- *** tidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_formyl_two_prime_o_methylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5-formyl-2'-O-methylcytidine is a modifi ***
- --- *** ed cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n4_n4_2_prime_o_trimethylcytidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N4_N4_2_prime_O_trimethylcytidine is a m ***
- --- *** odified cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: one_methyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 1_methyladenosine is a modified adenosin ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_methyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2_methyladenosine is a modified adenosin ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n6_methyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_methyladenosine is a modified adenosi ***
- --- *** ne. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_prime_o_methyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2prime_O_methyladenosine is a modified a ***
- --- *** denosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_methylthio_n6_methyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2_methylthio_N6_methyladenosine is a mod ***
- --- *** ified adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n6_isopentenyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_isopentenyladenosine is a modified ad ***
- --- *** enosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_methylthio_n6_isopentenyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2_methylthio_N6_isopentenyladenosine is ***
- --- *** a modified adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n6_cis_hydroxyisopentenyl_adenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_cis_hydroxyisopentenyl_adenosine is a ***
- --- *** modified adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_methylthio_n6_cis_hydroxyisopentenyl_adenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2_methylthio_N6_cis_hydroxyisopentenyl_a ***
- --- *** denosine is a modified 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';
- --- ************************************************
- --- *** relation: n6_glycinylcarbamoyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_glycinylcarbamoyladenosine is a modif ***
- --- *** ied 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';
- --- ************************************************
- --- *** relation: n6_threonylcarbamoyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_threonylcarbamoyladenosine is a modif ***
- --- *** ied adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_methylthio_n6_threonyl_carbamoyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2_methylthio_N6_threonyl_carbamoyladenos ***
- --- *** ine is a modified adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n6_methyl_n6_threonylcarbamoyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_methyl_N6_threonylcarbamoyladenosine ***
- --- *** is a modified adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n6_hydroxynorvalylcarbamoyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_hydroxynorvalylcarbamoyladenosine is ***
- --- *** a modified adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_methylthio_n6_hydroxynorvalyl_carbamoyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2_methylthio_N6_hydroxynorvalyl_carbamoy ***
- --- *** ladenosine is a modified adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_prime_o_riboA_phosphate ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2prime_O_ribosyladenosine_phosphate is a ***
- --- *** modified adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n6_n6_dimethyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_N6_dimethyladenosine is a modified ad ***
- --- *** enosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n6_2_prime_o_dimethyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_2prime_O_dimethyladenosine is a modif ***
- --- *** ied adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n6_n6_2_prime_o_trimethyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_N6_2prime_O_trimethyladenosine is a m ***
- --- *** odified adenosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: one_two_prime_o_dimethyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 1,2'-O-dimethyladenosine is a modified a ***
- --- *** denosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n6_acetyladenosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N6_acetyladenosine is a modified adenosi ***
- --- *** ne. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: seven_deazaguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 7-deazaguanosine is a moddified guanosin ***
- --- *** e. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: queuosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Queuosine is a modified 7-deazoguanosine ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: epoxyqueuosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Epoxyqueuosine is a modified 7-deazoguan ***
- --- *** osine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: galactosyl_queuosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Galactosyl_queuosine is a modified 7-dea ***
- --- *** zoguanosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mannosyl_queuosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Mannosyl_queuosine is a modified 7-deazo ***
- --- *** guanosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: seven_cyano_seven_deazaguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 7_cyano_7_deazaguanosine is a modified 7 ***
- --- *** -deazoguanosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: seven_aminomethyl_seven_deazaguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 7_aminomethyl_7_deazaguanosine is a modi ***
- --- *** fied 7-deazoguanosine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: archaeosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Archaeosine is a modified 7-deazoguanosi ***
- --- *** ne. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: one_methylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 1_methylguanosine is a modified guanosin ***
- --- *** e base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n2_methylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N2_methylguanosine is a modified guanosi ***
- --- *** ne base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: seven_methylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 7_methylguanosine is a modified guanosin ***
- --- *** e base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_prime_o_methylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2prime_O_methylguanosine is a modified g ***
- --- *** uanosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n2_n2_dimethylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N2_N2_dimethylguanosine is a modified gu ***
- --- *** anosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n2_2_prime_o_dimethylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N2_2prime_O_dimethylguanosine is a modif ***
- --- *** ied guanosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n2_n2_2_prime_o_trimethylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N2_N2_2prime_O_trimethylguanosine is a m ***
- --- *** odified guanosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_prime_o_ribosylguanosine_phosphate ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2prime_O_ribosylguanosine_phosphate is a ***
- --- *** modified guanosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: wybutosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Wybutosine is a modified guanosine base ***
- --- *** feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: peroxywybutosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Peroxywybutosine is a modified guanosine ***
- --- *** base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: hydroxywybutosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Hydroxywybutosine is a modified guanosin ***
- --- *** e base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: undermodified_hydroxywybutosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Undermodified_hydroxywybutosine is a mod ***
- --- *** ified guanosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: wyosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Wyosine is a modified guanosine base fea ***
- --- *** ture. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: methylwyosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Methylwyosine is a modified guanosine ba ***
- --- *** se feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n2_7_dimethylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N2_7_dimethylguanosine is a modified gua ***
- --- *** nosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n2_n2_7_trimethylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N2_N2_7_trimethylguanosine is a modified ***
- --- *** guanosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: one_two_prime_o_dimethylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 1_2prime_O_dimethylguanosine is a modifi ***
- --- *** ed guanosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: four_demethylwyosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 4_demethylwyosine is a modified guanosin ***
- --- *** e base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: isowyosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Isowyosine is a modified guanosine base ***
- --- *** feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n2_7_2prirme_o_trimethylguanosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** N2_7_2prirme_O_trimethylguanosine is a m ***
- --- *** odified guanosine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_methyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_methyluridine is a modified uridine ba ***
- --- *** se feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_prime_o_methyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2prime_O_methyluridine is a modified uri ***
- --- *** dine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_two_prime_o_dimethyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_2_prime_O_dimethyluridine is a modifie ***
- --- *** d uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: one_methylpseudouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 1_methylpseudouridine is a modified urid ***
- --- *** ine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_prime_o_methylpseudouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2prime_O_methylpseudouridine is a modifi ***
- --- *** ed uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_thiouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2_thiouridine is a modified uridine base ***
- --- *** feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: four_thiouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 4_thiouridine is a modified uridine base ***
- --- *** feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_methyl_2_thiouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_methyl_2_thiouridine is a modified uri ***
- --- *** dine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: two_thio_two_prime_o_methyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 2_thio_2prime_O_methyluridine is a modif ***
- --- *** ied uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_three_amino_three_carboxypropyl_uridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 3_3_amino_3_carboxypropyl_uridine is a m ***
- --- *** odified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_hydroxyuridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_hydroxyuridine is a modified uridine b ***
- --- *** ase feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_methoxyuridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_methoxyuridine is a modified uridine b ***
- --- *** ase feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: uridine_five_oxyacetic_acid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Uridine_5_oxyacetic_acid is a modified u ***
- --- *** ridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: uridine_five_oxyacetic_acid_methyl_ester ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Uridine_5_oxyacetic_acid_methyl_ester is ***
- --- *** a modified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_carboxyhydroxymethyl_uridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_carboxyhydroxymethyl_uridine is a modi ***
- --- *** fied uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_carboxyhydroxymethyl_uridine_methyl_ester ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_carboxyhydroxymethyl_uridine_methyl_es ***
- --- *** ter is a modified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_methoxycarbonylmethyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Five_methoxycarbonylmethyluridine is a m ***
- --- *** odified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_methoxycarbonylmethyl_two_prime_o_methyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Five_methoxycarbonylmethyl_2_prime_O_met ***
- --- *** hyluridine is a modified uridine base fe ***
- --- *** ature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_mcm_2_thiouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_methoxycarbonylmethyl_2_thiouridine is ***
- --- *** a modified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_aminomethyl_two_thiouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_aminomethyl_2_thiouridine is a modifie ***
- --- *** d uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_methylaminomethyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_methylaminomethyluridine is a modified ***
- --- *** uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_mam_2_thiouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_methylaminomethyl_2_thiouridine is a m ***
- --- *** odified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_methylaminomethyl_two_selenouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_methylaminomethyl_2_selenouridine is a ***
- --- *** modified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_carbamoylmethyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_carbamoylmethyluridine is a modified u ***
- --- *** ridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_cm_2_prime_o_methU ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_carbamoylmethyl_2_prime_O_methyluridin ***
- --- *** e is a modified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_carboxymethylaminomethyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_carboxymethylaminomethyluridine is a m ***
- --- *** odified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_carboxymethylaminomethyl_two_prime_o_methyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_carboxymethylaminomethyl_2_prime_O_met ***
- --- *** hyluridine is a modified uridine base fe ***
- --- *** ature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_carboxymethylaminomethyl_two_thiouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_carboxymethylaminomethyl_2_thiouridine ***
- --- *** is a modified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_methyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 3_methyluridine is a modified uridine ba ***
- --- *** se feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: one_methyl_3_3_amino_three_carboxypropyl_pseudouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 1_methyl_3_3_amino_3_carboxypropyl_pseud ***
- --- *** ouridine is a modified uridine base feat ***
- --- *** ure. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_carboxymethyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_carboxymethyluridine is a modified uri ***
- --- *** dine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_two_prime_o_dimethyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 3_2prime_O_dimethyluridine is a modified ***
- --- *** uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_methyldihydrouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_methyldihydrouridine is a modified uri ***
- --- *** dine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_methylpseudouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 3_methylpseudouridine is a modified urid ***
- --- *** ine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_taurinomethyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_taurinomethyluridine is a modified uri ***
- --- *** dine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_taurinomethyl_two_thiouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_taurinomethyl_2_thiouridineis a modifi ***
- --- *** ed uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_isopentenylaminomethyl_uridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_isopentenylaminomethyl_uridine is a mo ***
- --- *** dified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_isopentenylaminomethyl_two_thiouridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_isopentenylaminomethyl_2_thiouridine i ***
- --- *** s a modified uridine base feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_isopentenylaminomethyl_two_prime_o_methyluridine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** 5_isopentenylaminomethyl_2prime_O_methyl ***
- --- *** uridine is a modified uridine base featu ***
- --- *** re. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: histone_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the nucleotide m ***
- --- *** olecule, interacts selectively and non-c ***
- --- *** ovalently with polypeptide residues of a ***
- --- *** histone. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cds_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_amino_acid_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified amino ac ***
- --- *** id feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_glycine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified glycine ***
- --- *** 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';
- --- ************************************************
- --- *** relation: modified_l_alanine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified alanine ***
- --- *** amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_asparagine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified asparagi ***
- --- *** ne amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_aspartic_acid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified aspartic ***
- --- *** acid amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_cysteine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified cysteine ***
- --- *** amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_glutamic_acid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_threonine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified threonin ***
- --- *** e amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_tryptophan ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified tryptoph ***
- --- *** an amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_glutamine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified glutamin ***
- --- *** e amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_methionine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified methioni ***
- --- *** ne amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_isoleucine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified isoleuci ***
- --- *** ne amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_phenylalanine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified phenylal ***
- --- *** anine amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_histidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified histidie ***
- --- *** amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_serine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified serine a ***
- --- *** mino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_lysine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified lysine a ***
- --- *** mino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_leucine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified leucine ***
- --- *** amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_selenocysteine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified selenocy ***
- --- *** steine amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_valine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified valine a ***
- --- *** mino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_proline ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified proline ***
- --- *** amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_tyrosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified tyrosine ***
- --- *** amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: modified_l_arginine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A post translationally modified arginine ***
- --- *** amino acid feature. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: peptidyl ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing the nature of a ***
- --- *** proteinaceous polymer, where by the amin ***
- --- *** o acid units are joined by peptide bonds ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cleaved_for_gpi_anchor_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The C-terminal residues of a polypeptide ***
- --- *** which are exchanged for a GPI-anchor. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: biomaterial_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region which is intended for use in an ***
- --- *** experiment. ***
- --- ************************************************
- ---
- 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 = 'ASPE_primer' OR cvterm.name = 'dCAPS_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 = 'targeting_vector' 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';
- --- ************************************************
- --- *** relation: experimental_feature ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region which is the result of some arb ***
- --- *** itrary experimental procedure. The proce ***
- --- *** dure may be carried out with biological ***
- --- *** material or inside a computer. ***
- --- ************************************************
- ---
- 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 = '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 = 'high_identity_region' OR cvterm.name = 'mathematically_defined_repeat' OR cvterm.name = 'experimentally_defined_binding_region' 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 = 'paired_end_fragment' OR cvterm.name = 'read_pair' 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 = 'YAC_end' OR cvterm.name = 'clone_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 = 'RR_tract' OR cvterm.name = 'homologous_region' OR cvterm.name = 'centromere_DNA_Element_I' OR cvterm.name = 'centromere_DNA_Element_II' OR cvterm.name = 'centromere_DNA_Element_III' OR cvterm.name = 'X_element' OR cvterm.name = 'U_box' OR cvterm.name = 'regional_centromere_central_core' 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 = 'assembly_error_correction' OR cvterm.name = 'base_call_error_correction' 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 = 'contig_collection' 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 = 'CHiP_seq_region' OR cvterm.name = 'experimental_feature';
- --- ************************************************
- --- *** relation: biological_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region defined by its disposition to b ***
- --- *** e involved in a biological process. ***
- --- ************************************************
- ---
- 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 = 'pseudogene' 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 = 'repeat_region' OR cvterm.name = 'insertion' OR cvterm.name = 'gene' OR cvterm.name = 'repeat_unit' OR cvterm.name = 'QTL' 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 = 'genetic_marker' OR cvterm.name = 'sequence_motif' OR cvterm.name = 'restriction_enzyme_recognition_site' OR cvterm.name = 'restriction_enzyme_single_strand_overhang' OR cvterm.name = 'epigenetically_modified_region' OR cvterm.name = 'open_chromatin_region' 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 = 'recombination_signal_sequence' 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 = 'processed_pseudogene' OR cvterm.name = 'non_processed_pseudogene' OR cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'duplicated_pseudogene' OR cvterm.name = 'unitary_pseudogene' OR cvterm.name = 'protein_binding_site' OR cvterm.name = 'epitope' OR cvterm.name = 'nucleotide_binding_site' OR cvterm.name = 'metal_binding_site' OR cvterm.name = 'ligand_binding_site' OR cvterm.name = 'protein_protein_contact' OR cvterm.name = 'nucleotide_to_protein_binding_site' 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 = 'miRNA_target_site' OR cvterm.name = 'DNA_binding_site' OR cvterm.name = 'primer_binding_site' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'polypeptide_metal_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_ligand_contact' 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 = '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 = 'X_element_combinatorial_repeat' OR cvterm.name = 'Y_prime_element' OR cvterm.name = 'telomeric_repeat' OR cvterm.name = 'nested_repeat' OR cvterm.name = 'centromeric_repeat' 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 = 'nested_tandem_repeat' OR cvterm.name = 'regional_centromere_inner_repeat_region' OR cvterm.name = 'regional_centromere_outer_repeat_region' OR cvterm.name = 'transgenic_insertion' OR cvterm.name = 'duplication' OR cvterm.name = 'tandem_duplication' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' 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_with_non_canonical_start_codon' 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 = 'rRNA_gene' OR cvterm.name = 'piRNA_gene' OR cvterm.name = 'RNase_P_RNA_gene' OR cvterm.name = 'RNase_MRP_RNA_gene' OR cvterm.name = 'lincRNA_gene' OR cvterm.name = 'telomerase_RNA_gene' OR cvterm.name = 'cryptogene' OR cvterm.name = 'gene_with_start_codon_CUG' 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 = 'point_centromere' OR cvterm.name = 'regional_centromere' 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 = 'processed_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 = 'tasiRNA_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 = 'edited_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 = 'tasiRNA' 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 = 'transcription_regulatory_region' OR cvterm.name = 'translation_regulatory_region' OR cvterm.name = 'recombination_regulatory_region' OR cvterm.name = 'replication_regulatory_region' 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 = 'intronic_regulatory_region' 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 = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'ISRE' 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_II_core_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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'attenuator' 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 = 'ribosome_entry_site' OR cvterm.name = 'UTR' OR cvterm.name = 'CDS' 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 = 'internal_ribosome_entry_site' OR cvterm.name = 'Shine_Dalgarno_sequence' OR cvterm.name = 'kozak_sequence' OR cvterm.name = 'internal_Shine_Dalgarno_sequence' 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 = 'upstream_AUG_codon' OR cvterm.name = 'AU_rich_element' OR cvterm.name = 'Bruno_response_element' OR cvterm.name = 'iron_responsive_element' OR cvterm.name = 'coding_start' OR cvterm.name = 'coding_end' OR cvterm.name = 'codon' 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 = '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 = 'cryptic_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 = 'SL3_acceptor_site' OR cvterm.name = 'SL4_acceptor_site' OR cvterm.name = 'SL5_acceptor_site' OR cvterm.name = 'SL6_acceptor_site' OR cvterm.name = 'SL7_acceptor_site' OR cvterm.name = 'SL8_acceptor_site' OR cvterm.name = 'SL9_acceptor_site' OR cvterm.name = 'SL10_accceptor_site' OR cvterm.name = 'SL11_acceptor_site' OR cvterm.name = 'SL12_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 = 'peptide_localization_signal' 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 = 'transit_peptide' OR cvterm.name = 'nuclear_localization_signal' OR cvterm.name = 'endosomal_localization_signal' OR cvterm.name = 'lysosomal_localization_signal' OR cvterm.name = 'nuclear_export_signal' OR cvterm.name = 'nuclear_rim_localization_signal' OR cvterm.name = 'cleaved_initiator_methionine' 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 = 'histone_modification' OR cvterm.name = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' 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 = 'pseudogenic_gene_segment' OR cvterm.name = 'mobile_intron' OR cvterm.name = 'extrachromosomal_mobile_genetic_element' OR cvterm.name = 'integrated_mobile_genetic_element' OR cvterm.name = 'natural_transposable_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 = '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 = 'nested_transposon' OR cvterm.name = 'LTR_retrotransposon' OR cvterm.name = 'non_LTR_retrotransposon' 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 = 'p_element' 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 = '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 = 'targeting_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 = '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 = '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 = 'arginine' 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 = 'heritable_phenotypic_marker' OR cvterm.name = 'DArT_marker' OR cvterm.name = 'nucleotide_motif' OR cvterm.name = 'DNA_motif' OR cvterm.name = 'RNA_motif' OR cvterm.name = 'PSE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'retinoic_acid_responsive_element' OR cvterm.name = 'promoter_element' OR cvterm.name = 'DCE_SI' OR cvterm.name = 'DCE_SII' OR cvterm.name = 'DCE_SIII' OR cvterm.name = 'minus_12_signal' OR cvterm.name = 'minus_24_signal' OR cvterm.name = 'GC_rich_promoter_region' 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 = 'core_promoter_element' OR cvterm.name = 'regulatory_promoter_element' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BREu_motif' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'MTE' OR cvterm.name = 'BREd_motif' OR cvterm.name = 'DCE' OR cvterm.name = 'intermediate_element' OR cvterm.name = 'RNA_polymerase_II_TATA_box' OR cvterm.name = 'RNA_polymerase_III_TATA_box' OR cvterm.name = 'A_box_type_1' OR cvterm.name = 'A_box_type_2' OR cvterm.name = 'proximal_promoter_element' OR cvterm.name = 'distal_promoter_element' 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 = 'blunt_end_restriction_enzyme_cleavage_site' OR cvterm.name = 'sticky_end_restriction_enzyme_cleavage_site' OR cvterm.name = 'modified_base' OR cvterm.name = 'epigenetically_modified_gene' OR cvterm.name = 'histone_modification' OR cvterm.name = 'methylated_base_feature' OR cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' 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 = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' OR cvterm.name = 'operon' OR cvterm.name = 'mating_type_region' 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 = 'MNP' OR cvterm.name = 'SNV' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'point_mutation' 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';
- --- ************************************************
- --- *** relation: topologically_defined_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region that is defined according to it ***
- --- *** s relations with other regions within th ***
- --- *** e same sequence. ***
- --- ************************************************
- ---
- 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_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 = 'non_LTR_retrotransposon_polymeric_tract' OR cvterm.name = 'LTR_component' OR cvterm.name = 'repeat_fragment' OR cvterm.name = 'transposon_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';
- --- ************************************************
- --- *** relation: translocation_breakpoint ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The point within a chromosome where a tr ***
- --- *** anslocation begins or ends. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: insertion_breakpoint ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The point within a chromosome where a in ***
- --- *** sertion begins or ends. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: deletion_breakpoint ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The point within a chromosome where a de ***
- --- *** letion begins or ends. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_flanking_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A flanking region located five prime of ***
- --- *** a specific region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_flanking_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A flanking region located three prime of ***
- --- *** a specific 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';
- --- ************************************************
- --- *** relation: transcribed_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An experimental region, defined by a til ***
- --- *** ing array experiment to be transcribed a ***
- --- *** t some level. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cis_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Intronic 2 bp region bordering exon. A s ***
- --- *** plice_site that adjacent_to exon and ove ***
- --- *** rlaps intron. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trans_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Primary transcript region bordering tran ***
- --- *** s-splice junction. ***
- --- ************************************************
- ---
- 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 = 'SL3_acceptor_site' OR cvterm.name = 'SL4_acceptor_site' OR cvterm.name = 'SL5_acceptor_site' OR cvterm.name = 'SL6_acceptor_site' OR cvterm.name = 'SL7_acceptor_site' OR cvterm.name = 'SL8_acceptor_site' OR cvterm.name = 'SL9_acceptor_site' OR cvterm.name = 'SL10_accceptor_site' OR cvterm.name = 'SL11_acceptor_site' OR cvterm.name = 'SL12_acceptor_site' OR cvterm.name = 'trans_splice_site';
- --- ************************************************
- --- *** relation: splice_junction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The boundary between an intron and an ex ***
- --- *** on. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: conformational_switch ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a polypeptide, involved in t ***
- --- *** he transition from one conformational st ***
- --- *** ate to another. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dye_terminator_read ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A read produced by the dye terminator me ***
- --- *** thod of sequencing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pyrosequenced_read ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A read produced by pyrosequencing techno ***
- --- *** logy. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ligation_based_read ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A read produced by ligation based sequen ***
- --- *** cing technologies. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polymerase_synthesis_read ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A read produced by the polymerase based ***
- --- *** sequence by synthesis method. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cis_regulatory_frameshift_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A structural region in an RNA molecule w ***
- --- *** hich promotes ribosomal frameshifting of ***
- --- *** cis coding sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: expressed_sequence_assembly ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence assembly derived from express ***
- --- *** ed sequences. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dna_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the molecule, in ***
- --- *** teracts selectively and non-covalently w ***
- --- *** ith DNA. ***
- --- ************************************************
- ---
- 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 = 'polypeptide_DNA_contact' OR cvterm.name = 'DNA_binding_site';
- --- ************************************************
- --- *** relation: cryptic_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is not transcribed under nor ***
- --- *** mal conditions and is not critical to no ***
- --- *** rmal cellular functioning. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_race_clone ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A three prime RACE (Rapid Amplification ***
- --- *** of cDNA Ends) clone is a cDNA clone copi ***
- --- *** ed from the 3' end of an mRNA (using a p ***
- --- *** oly-dT primer to capture the polyA tail ***
- --- *** and a gene-specific or randomly primed 5 ***
- --- *** ' primer), and spliced into a vector for ***
- --- *** propagation in a suitable host. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cassette_pseudogene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A cassette pseudogene is a kind of gene ***
- --- *** in an inactive form which may recombine ***
- --- *** at a telomeric locus to form a functiona ***
- --- *** l copy. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: alanine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: valine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: leucine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: isoleucine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: proline ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tryptophan ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: phenylalanine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: methionine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: glycine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: serine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: threonine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tyrosine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cysteine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: glutamine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: asparagine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: lysine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: arginine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW arginine AS
- SELECT
- feature_id AS arginine_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'arginine';
- --- ************************************************
- --- *** relation: histidine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: aspartic_acid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: glutamic_acid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: selenocysteine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pyrrolysine ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transcribed_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region defined by a set of transcribed ***
- --- *** sequences from the same gene or express ***
- --- *** ed pseudogene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: unigene_cluster ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of transcribed_cluster defined by ***
- --- *** a set of transcribed sequences from the ***
- --- *** a unique gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: crispr ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Clustered Palindromic Repeats interspers ***
- --- *** ed with bacteriophage derived spacer seq ***
- --- *** uences. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: insulator_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in an insulator reg ***
- --- *** ion of a nucleotide molecule, interacts ***
- --- *** selectively and non-covalently with poly ***
- --- *** peptide residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: enhancer_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the enhancer reg ***
- --- *** ion of a nucleotide molecule, interacts ***
- --- *** selectively and non-covalently with poly ***
- --- *** peptide residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: contig_collection ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A collection of contigs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: lincrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A multiexonic non-coding RNA transcribed ***
- --- *** by RNA polymerase II. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ust ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An EST spanning part or all of the untra ***
- --- *** nslated regions of a protein-coding tran ***
- --- *** script. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_ust ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A UST located in the 3'UTR of a protein- ***
- --- *** coding transcript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_ust ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An UST located in the 5'UTR of a protein ***
- --- *** -coding transcript. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rst ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tag produced from a single sequencing ***
- --- *** read from a RACE product; typically a fe ***
- --- *** w hundred base pairs long. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_rst ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tag produced from a single sequencing ***
- --- *** read from a 3'-RACE product; typically a ***
- --- *** few hundred base pairs long. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_rst ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tag produced from a single sequencing ***
- --- *** read from a 5'-RACE product; typically a ***
- --- *** few hundred base pairs long. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ust_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A match against an UST sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rst_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A match against an RST sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: primer_match ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A nucleotide match to a primer sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mirna_antiguide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of the pri miRNA that basepairs ***
- --- *** with the guide to form the hairpin. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trans_splice_junction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The boundary between the spliced leader ***
- --- *** and the first exon of the mRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: outron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a primary transcript, that i ***
- --- *** s removed via trans splicing. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: natural_plasmid ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A plasmid that occurs naturally. ***
- --- ************************************************
- ---
- 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_plasmid';
- --- ************************************************
- --- *** relation: gene_trap_construct ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene trap construct is a type of engin ***
- --- *** eered plasmid which is designed to integ ***
- --- *** rate into a genome and produce a fusion ***
- --- *** transcript between exons of the gene int ***
- --- *** o which it inserts and a reporter elemen ***
- --- *** t in the construct. Gene traps contain a ***
- --- *** splice acceptor, do not contain promote ***
- --- *** r elements for the reporter, and are mut ***
- --- *** agenic. Gene traps may be bicistronic wi ***
- --- *** th the second cassette containing a prom ***
- --- *** oter driving an a selectable marker. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: promoter_trap_construct ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A promoter trap construct is a type of e ***
- --- *** ngineered plasmid which is designed to i ***
- --- *** ntegrate into a genome and express a rep ***
- --- *** orter when inserted in close proximity t ***
- --- *** o a promoter element. Promoter traps typ ***
- --- *** ically do not contain promoter elements ***
- --- *** and are mutagenic. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: enhancer_trap_construct ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An enhancer trap construct is a type of ***
- --- *** engineered plasmid which is designed to ***
- --- *** integrate into a genome and express a re ***
- --- *** porter when the expression from a basic ***
- --- *** minimal promoter is enhanced by genomic ***
- --- *** enhancer elements. Enhancer traps contai ***
- --- *** n promoter elements and are not usually ***
- --- *** mutagenic. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pac_end ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence from the end of a P ***
- --- *** AC clone that may provide a highly speci ***
- --- *** fic marker. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rapd ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** RAPD is a 'PCR product' where a sequence ***
- --- *** variant is identified through the use o ***
- --- *** f PCR with random primers. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: shadow_enhancer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: snv ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** SNVs are single nucleotide positions in ***
- --- *** genomic DNA at which different sequence ***
- --- *** alternatives exist. ***
- --- ************************************************
- ---
- CREATE VIEW snv AS
- SELECT
- feature_id AS snv_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SNP' OR cvterm.name = 'point_mutation' 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 = 'SNV';
- --- ************************************************
- --- *** relation: x_element_combinatorial_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An X element combinatorial repeat is a r ***
- --- *** epeat region located between the X eleme ***
- --- *** nt and the telomere or adjacent Y' eleme ***
- --- *** nt. ***
- --- ************************************************
- ---
- CREATE VIEW x_element_combinatorial_repeat AS
- SELECT
- feature_id AS x_element_combinatorial_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'X_element_combinatorial_repeat';
- --- ************************************************
- --- *** relation: y_prime_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A Y' element is a repeat region (SO:0000 ***
- --- *** 657) located adjacent to telomeric repea ***
- --- *** ts or X element combinatorial repeats, e ***
- --- *** ither as a single copy or tandem repeat ***
- --- *** of two to four copies. ***
- --- ************************************************
- ---
- CREATE VIEW y_prime_element AS
- SELECT
- feature_id AS y_prime_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'Y_prime_element';
- --- ************************************************
- --- *** relation: standard_draft ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The status of a whole genome sequence, w ***
- --- *** here the data is minimally filtered or u ***
- --- *** n-filtered, from any number of sequencin ***
- --- *** g platforms, and is assembled into conti ***
- --- *** gs. Genome sequence of this quality may ***
- --- *** harbour regions of poor quality and can ***
- --- *** be relatively incomplete. ***
- --- ************************************************
- ---
- CREATE VIEW standard_draft AS
- SELECT
- feature_id AS standard_draft_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'standard_draft';
- --- ************************************************
- --- *** relation: high_quality_draft ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The status of a whole genome sequence, w ***
- --- *** here overall coverage represents at leas ***
- --- *** t 90 percent of the genome. ***
- --- ************************************************
- ---
- CREATE VIEW high_quality_draft AS
- SELECT
- feature_id AS high_quality_draft_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'high_quality_draft';
- --- ************************************************
- --- *** relation: improved_high_quality_draft ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The status of a whole genome sequence, w ***
- --- *** here additional work has been performed, ***
- --- *** using either manual or automated method ***
- --- *** s, such as gap resolution. ***
- --- ************************************************
- ---
- CREATE VIEW improved_high_quality_draft AS
- SELECT
- feature_id AS improved_high_quality_draft_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'improved_high_quality_draft';
- --- ************************************************
- --- *** relation: annotation_directed_improved_draft ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The status of a whole genome sequence,wh ***
- --- *** ere annotation, and verification of codi ***
- --- *** ng regions has occurred. ***
- --- ************************************************
- ---
- CREATE VIEW annotation_directed_improved_draft AS
- SELECT
- feature_id AS annotation_directed_improved_draft_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'annotation_directed_improved_draft';
- --- ************************************************
- --- *** relation: noncontiguous_finished ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The status of a whole genome sequence, w ***
- --- *** here the assembly is high quality, closu ***
- --- *** re approaches have been successful for m ***
- --- *** ost gaps, misassemblies and low quality ***
- --- *** regions. ***
- --- ************************************************
- ---
- CREATE VIEW noncontiguous_finished AS
- SELECT
- feature_id AS noncontiguous_finished_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'noncontiguous_finished';
- --- ************************************************
- --- *** relation: finished_genome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The status of a whole genome sequence, w ***
- --- *** ith less than 1 error per 100,000 base p ***
- --- *** airs. ***
- --- ************************************************
- ---
- CREATE VIEW finished_genome AS
- SELECT
- feature_id AS finished_genome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'finished_genome';
- --- ************************************************
- --- *** relation: intronic_regulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory region that is part of an i ***
- --- *** ntron. ***
- --- ************************************************
- ---
- CREATE VIEW intronic_regulatory_region AS
- SELECT
- feature_id AS intronic_regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intronic_regulatory_region';
- --- ************************************************
- --- *** relation: centromere_dna_element_i ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A centromere DNA Element I (CDEI) is a c ***
- --- *** onserved region, part of the centromere, ***
- --- *** consisting of a consensus region compos ***
- --- *** ed of 8-11bp which enables binding by th ***
- --- *** e centromere binding factor 1(Cbf1p). ***
- --- ************************************************
- ---
- CREATE VIEW centromere_dna_element_i AS
- SELECT
- feature_id AS centromere_dna_element_i_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'centromere_DNA_Element_I';
- --- ************************************************
- --- *** relation: centromere_dna_element_ii ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A centromere DNA Element II (CDEII) is p ***
- --- *** art a conserved region of the centromere ***
- --- *** , consisting of a consensus region that ***
- --- *** is AT-rich and ~ 75-100 bp in length. ***
- --- ************************************************
- ---
- CREATE VIEW centromere_dna_element_ii AS
- SELECT
- feature_id AS centromere_dna_element_ii_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'centromere_DNA_Element_II';
- --- ************************************************
- --- *** relation: centromere_dna_element_iii ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A centromere DNA Element I (CDEI) is a c ***
- --- *** onserved region, part of the centromere, ***
- --- *** consisting of a consensus region that c ***
- --- *** onsists of a 25-bp which enables binding ***
- --- *** by the centromere DNA binding factor 3 ***
- --- *** (CBF3) complex. ***
- --- ************************************************
- ---
- CREATE VIEW centromere_dna_element_iii AS
- SELECT
- feature_id AS centromere_dna_element_iii_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'centromere_DNA_Element_III';
- --- ************************************************
- --- *** relation: telomeric_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The telomeric repeat is a repeat region, ***
- --- *** part of the chromosome, which in yeast, ***
- --- *** is a G-rich terminal sequence of the fo ***
- --- *** rm (TG(1-3))n or more precisely ((TG)(1- ***
- --- *** 6)TG(2-3))n. ***
- --- ************************************************
- ---
- CREATE VIEW telomeric_repeat AS
- SELECT
- feature_id AS telomeric_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'telomeric_repeat';
- --- ************************************************
- --- *** relation: x_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The X element is a conserved region, of ***
- --- *** the telomere, of ~475 bp that contains a ***
- --- *** n ARS sequence and in most cases an Abf1 ***
- --- *** p binding site. ***
- --- ************************************************
- ---
- CREATE VIEW x_element AS
- SELECT
- feature_id AS x_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'X_element';
- --- ************************************************
- --- *** relation: yac_end ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence from the end of a Y ***
- --- *** AC clone that may provide a highly speci ***
- --- *** fic marker. ***
- --- ************************************************
- ---
- CREATE VIEW yac_end AS
- SELECT
- feature_id AS yac_end_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'YAC_end';
- --- ************************************************
- --- *** relation: whole_genome_sequence_status ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The status of whole genome sequence. ***
- --- ************************************************
- ---
- CREATE VIEW whole_genome_sequence_status AS
- SELECT
- feature_id AS whole_genome_sequence_status_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'standard_draft' OR cvterm.name = 'high_quality_draft' OR cvterm.name = 'improved_high_quality_draft' OR cvterm.name = 'annotation_directed_improved_draft' OR cvterm.name = 'noncontiguous_finished' OR cvterm.name = 'finished_genome' OR cvterm.name = 'whole_genome_sequence_status';
- --- ************************************************
- --- *** relation: heritable_phenotypic_marker ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A biological_region characterized as a s ***
- --- *** ingle heritable trait in a phenotype scr ***
- --- *** een. The heritable phenotype may be mapp ***
- --- *** ed to a chromosome but generally has not ***
- --- *** been characterized to a specific gene l ***
- --- *** ocus. ***
- --- ************************************************
- ---
- CREATE VIEW heritable_phenotypic_marker AS
- SELECT
- feature_id AS heritable_phenotypic_marker_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'heritable_phenotypic_marker';
- --- ************************************************
- --- *** relation: peptide_collection ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A collection of peptide sequences. ***
- --- ************************************************
- ---
- CREATE VIEW peptide_collection AS
- SELECT
- feature_id AS peptide_collection_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'peptide_collection';
- --- ************************************************
- --- *** relation: high_identity_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An experimental feature with high sequen ***
- --- *** ce identity to another sequence. ***
- --- ************************************************
- ---
- CREATE VIEW high_identity_region AS
- SELECT
- feature_id AS high_identity_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'high_identity_region';
- --- ************************************************
- --- *** relation: processed_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript for which no open reading f ***
- --- *** rame has been identified and for which n ***
- --- *** o other function has been determined. ***
- --- ************************************************
- ---
- CREATE VIEW processed_transcript AS
- SELECT
- feature_id AS processed_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'processed_transcript';
- --- ************************************************
- --- *** relation: assortment_derived_variation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome variation derived from an e ***
- --- *** vent during meiosis. ***
- --- ************************************************
- ---
- CREATE VIEW assortment_derived_variation AS
- SELECT
- feature_id AS assortment_derived_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 = 'assortment_derived_variation';
- --- ************************************************
- --- *** relation: reference_genome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A collection of sequences (often chromos ***
- --- *** omes) taken as the standard for a given ***
- --- *** organism and genome assembly. ***
- --- ************************************************
- ---
- CREATE VIEW reference_genome AS
- SELECT
- feature_id AS reference_genome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'reference_genome';
- --- ************************************************
- --- *** relation: variant_genome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A collection of sequences (often chromos ***
- --- *** omes) of an individual. ***
- --- ************************************************
- ---
- CREATE VIEW variant_genome AS
- SELECT
- feature_id AS variant_genome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosomally_aberrant_genome' OR cvterm.name = 'variant_genome';
- --- ************************************************
- --- *** relation: variant_collection ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A collection of one or more sequences of ***
- --- *** an individual. ***
- --- ************************************************
- ---
- CREATE VIEW variant_collection AS
- SELECT
- feature_id AS variant_collection_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosome_variation' OR cvterm.name = 'allele' OR cvterm.name = 'haplotype' OR cvterm.name = 'genotype' OR cvterm.name = 'diplotype' OR cvterm.name = 'assortment_derived_variation' OR cvterm.name = 'chromosome_number_variation' OR cvterm.name = 'chromosome_structure_variation' OR 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 = '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 = 'chromosomal_transposition' OR cvterm.name = 'aneuploid_chromosome' OR cvterm.name = 'intrachromosomal_mutation' OR cvterm.name = 'interchromosomal_mutation' OR cvterm.name = 'chromosomal_duplication' 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 = 'unoriented_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' OR cvterm.name = 'inversion_derived_aneuploid_chromosome' 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 = 'deficient_intrachromosomal_transposition' 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 = 'inverted_intrachromosomal_transposition' 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' 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 = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' 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 = '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 = 'polymorphic_sequence_variant' OR cvterm.name = 'variant_collection';
- --- ************************************************
- --- *** relation: alteration_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW alteration_attribute AS
- SELECT
- feature_id AS alteration_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosomal_variation_attribute' OR cvterm.name = 'insertion_attribute' OR cvterm.name = 'inversion_attribute' OR cvterm.name = 'translocaton_attribute' OR cvterm.name = 'duplication_attribute' OR cvterm.name = 'intrachromosomal' OR cvterm.name = 'interchromosomal' OR cvterm.name = 'tandem' OR cvterm.name = 'direct' OR cvterm.name = 'inverted' OR cvterm.name = 'pericentric' OR cvterm.name = 'paracentric' OR cvterm.name = 'reciprocal' OR cvterm.name = 'insertional' OR cvterm.name = 'free' OR cvterm.name = 'alteration_attribute';
- --- ************************************************
- --- *** relation: chromosomal_variation_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW chromosomal_variation_attribute AS
- SELECT
- feature_id AS chromosomal_variation_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intrachromosomal' OR cvterm.name = 'interchromosomal' OR cvterm.name = 'chromosomal_variation_attribute';
- --- ************************************************
- --- *** relation: intrachromosomal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW intrachromosomal AS
- SELECT
- feature_id AS intrachromosomal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intrachromosomal';
- --- ************************************************
- --- *** relation: interchromosomal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW interchromosomal AS
- SELECT
- feature_id AS interchromosomal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'interchromosomal';
- --- ************************************************
- --- *** relation: insertion_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A quality of a chromosomal insertion,. ***
- --- ************************************************
- ---
- CREATE VIEW insertion_attribute AS
- SELECT
- feature_id AS insertion_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tandem' OR cvterm.name = 'direct' OR cvterm.name = 'inverted' OR cvterm.name = 'insertion_attribute';
- --- ************************************************
- --- *** relation: tandem ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW tandem AS
- SELECT
- feature_id AS tandem_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tandem';
- --- ************************************************
- --- *** relation: direct ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A quality of an insertion where the inse ***
- --- *** rt is not in a cytologically inverted or ***
- --- *** ientation. ***
- --- ************************************************
- ---
- CREATE VIEW direct AS
- SELECT
- feature_id AS direct_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'direct';
- --- ************************************************
- --- *** relation: inverted ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A quality of an insertion where the inse ***
- --- *** rt is in a cytologically inverted orient ***
- --- *** ation. ***
- --- ************************************************
- ---
- CREATE VIEW inverted AS
- SELECT
- feature_id AS inverted_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inverted';
- --- ************************************************
- --- *** relation: free ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The quality of a duplication where the n ***
- --- *** ew region exists independently of the or ***
- --- *** iginal. ***
- --- ************************************************
- ---
- CREATE VIEW free AS
- SELECT
- feature_id AS free_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'free';
- --- ************************************************
- --- *** relation: inversion_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW inversion_attribute AS
- SELECT
- feature_id AS inversion_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pericentric' OR cvterm.name = 'paracentric' OR cvterm.name = 'inversion_attribute';
- --- ************************************************
- --- *** relation: pericentric ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW pericentric AS
- SELECT
- feature_id AS pericentric_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pericentric';
- --- ************************************************
- --- *** relation: paracentric ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW paracentric AS
- SELECT
- feature_id AS paracentric_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paracentric';
- --- ************************************************
- --- *** relation: translocaton_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW translocaton_attribute AS
- SELECT
- feature_id AS translocaton_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'reciprocal' OR cvterm.name = 'insertional' OR cvterm.name = 'translocaton_attribute';
- --- ************************************************
- --- *** relation: reciprocal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW reciprocal AS
- SELECT
- feature_id AS reciprocal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'reciprocal';
- --- ************************************************
- --- *** relation: insertional ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW insertional AS
- SELECT
- feature_id AS insertional_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'insertional';
- --- ************************************************
- --- *** relation: duplication_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW duplication_attribute AS
- SELECT
- feature_id AS duplication_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'free' OR cvterm.name = 'duplication_attribute';
- --- ************************************************
- --- *** relation: chromosomally_aberrant_genome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW chromosomally_aberrant_genome AS
- SELECT
- feature_id AS chromosomally_aberrant_genome_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'chromosomally_aberrant_genome';
- --- ************************************************
- --- *** relation: assembly_error_correction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence where the final nuc ***
- --- *** leotide assignment differs from the orig ***
- --- *** inal assembly due to an improvement that ***
- --- *** replaces a mistake. ***
- --- ************************************************
- ---
- CREATE VIEW assembly_error_correction AS
- SELECT
- feature_id AS assembly_error_correction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'assembly_error_correction';
- --- ************************************************
- --- *** relation: base_call_error_correction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence where the final nuc ***
- --- *** leotide assignment is different from tha ***
- --- *** t given by the base caller due to an imp ***
- --- *** rovement that replaces a mistake. ***
- --- ************************************************
- ---
- CREATE VIEW base_call_error_correction AS
- SELECT
- feature_id AS base_call_error_correction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'base_call_error_correction';
- --- ************************************************
- --- *** relation: peptide_localization_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of peptide sequence used to tar ***
- --- *** get the polypeptide molecule to a specif ***
- --- *** ic organelle. ***
- --- ************************************************
- ---
- CREATE VIEW peptide_localization_signal AS
- SELECT
- feature_id AS peptide_localization_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'signal_peptide' OR cvterm.name = 'transit_peptide' OR cvterm.name = 'nuclear_localization_signal' OR cvterm.name = 'endosomal_localization_signal' OR cvterm.name = 'lysosomal_localization_signal' OR cvterm.name = 'nuclear_export_signal' OR cvterm.name = 'nuclear_rim_localization_signal' OR cvterm.name = 'peptide_localization_signal';
- --- ************************************************
- --- *** relation: nuclear_localization_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polypeptide region that targets a poly ***
- --- *** peptide to the nucleus. ***
- --- ************************************************
- ---
- CREATE VIEW nuclear_localization_signal AS
- SELECT
- feature_id AS nuclear_localization_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclear_localization_signal';
- --- ************************************************
- --- *** relation: endosomal_localization_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polypeptide region that targets a poly ***
- --- *** peptide to the endosome. ***
- --- ************************************************
- ---
- CREATE VIEW endosomal_localization_signal AS
- SELECT
- feature_id AS endosomal_localization_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'endosomal_localization_signal';
- --- ************************************************
- --- *** relation: lysosomal_localization_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polypeptide region that targets a poly ***
- --- *** peptide to the lysosome. ***
- --- ************************************************
- ---
- CREATE VIEW lysosomal_localization_signal AS
- SELECT
- feature_id AS lysosomal_localization_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lysosomal_localization_signal';
- --- ************************************************
- --- *** relation: nuclear_export_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polypeptide region that targets a poly ***
- --- *** peptide to he cytoplasm. ***
- --- ************************************************
- ---
- CREATE VIEW nuclear_export_signal AS
- SELECT
- feature_id AS nuclear_export_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclear_export_signal';
- --- ************************************************
- --- *** relation: recombination_signal_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region recognized by a recombinase. ***
- --- ************************************************
- ---
- CREATE VIEW recombination_signal_sequence AS
- SELECT
- feature_id AS recombination_signal_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recombination_signal_sequence';
- --- ************************************************
- --- *** relation: cryptic_splice_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A splice site that is in part of the tra ***
- --- *** nscript not normally spliced. They occur ***
- --- *** via mutation or transcriptional error. ***
- --- ************************************************
- ---
- CREATE VIEW cryptic_splice_site AS
- SELECT
- feature_id AS cryptic_splice_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptic_splice_site';
- --- ************************************************
- --- *** relation: nuclear_rim_localization_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polypeptide region that targets a poly ***
- --- *** peptide to the nuclear rim. ***
- --- ************************************************
- ---
- CREATE VIEW nuclear_rim_localization_signal AS
- SELECT
- feature_id AS nuclear_rim_localization_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nuclear_rim_localization_signal';
- --- ************************************************
- --- *** relation: p_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A P_element is a DNA transposon responsi ***
- --- *** ble for hybrid dysgenesis. ***
- --- ************************************************
- ---
- CREATE VIEW p_element AS
- SELECT
- feature_id AS p_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'p_element';
- --- ************************************************
- --- *** relation: functional_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant in which the function ***
- --- *** of a gene product is altered with respe ***
- --- *** ct to a reference. ***
- --- ************************************************
- ---
- CREATE VIEW functional_variant AS
- SELECT
- feature_id AS functional_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'transcript_function_variant' OR cvterm.name = 'translational_product_function_variant' OR cvterm.name = 'level_of_transcript_variant' OR cvterm.name = 'transcript_processing_variant' OR cvterm.name = 'transcript_stability_variant' OR cvterm.name = 'transcription_variant' OR cvterm.name = 'decreased_transcript_level_variant' OR cvterm.name = 'increased_transcript_level_variant' OR cvterm.name = 'editing_variant' OR cvterm.name = 'polyadenylation_variant' OR cvterm.name = 'increased_polyadenylation_variant' OR cvterm.name = 'decreased_polyadenylation_variant' OR cvterm.name = 'decreased_transcript_stability_variant' OR cvterm.name = 'increased_transcript_stability_variant' OR cvterm.name = 'rate_of_transcription_variant' OR cvterm.name = 'increased_transcription_rate_variant' OR cvterm.name = 'decreased_transcription_rate_variant' OR cvterm.name = 'translational_product_level_variant' OR cvterm.name = 'polypeptide_function_variant' OR cvterm.name = 'decreased_translational_product_level' OR cvterm.name = 'increased_translational_product_level' OR cvterm.name = 'polypeptide_gain_of_function_variant' OR cvterm.name = 'polypeptide_localization_variant' OR cvterm.name = 'polypeptide_loss_of_function_variant' OR cvterm.name = 'polypeptide_post_translational_processing_variant' OR cvterm.name = 'inactive_ligand_binding_site' OR cvterm.name = 'polypeptide_partial_loss_of_function' OR cvterm.name = 'inactive_catalytic_site' OR cvterm.name = 'functional_variant';
- --- ************************************************
- --- *** relation: structural_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes one or m ***
- --- *** ore sequence features. ***
- --- ************************************************
- ---
- CREATE VIEW structural_variant AS
- SELECT
- feature_id AS structural_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'silent_mutation' OR cvterm.name = 'copy_number_change' OR cvterm.name = 'gene_variant' OR cvterm.name = 'regulatory_region_variant' OR cvterm.name = 'intergenic_variant' OR cvterm.name = 'upstream_gene_variant' OR cvterm.name = 'downstream_gene_variant' OR cvterm.name = 'gene_fusion' OR cvterm.name = 'splicing_variant' OR cvterm.name = 'transcript_variant' OR cvterm.name = 'translational_product_structure_variant' OR cvterm.name = 'cryptic_splice_site_variant' OR cvterm.name = 'exon_loss' OR cvterm.name = 'intron_gain' OR cvterm.name = 'splice_region_variant' OR cvterm.name = 'cryptic_splice_acceptor' OR cvterm.name = 'cryptic_splice_donor' OR cvterm.name = 'complex_change_in_transcript' OR cvterm.name = 'transcript_secondary_structure_variant' OR cvterm.name = 'nc_transcript_variant' OR cvterm.name = 'NMD_transcript_variant' OR cvterm.name = 'UTR_variant' OR cvterm.name = 'intron_variant' OR cvterm.name = 'exon_variant' OR cvterm.name = 'compensatory_transcript_secondary_structure_variant' OR cvterm.name = 'mature_miRNA_variant' OR cvterm.name = '5_prime_UTR_variant' OR cvterm.name = '3_prime_UTR_variant' OR cvterm.name = 'splice_site_variant' OR cvterm.name = 'splice_acceptor_variant' OR cvterm.name = 'splice_donor_variant' OR cvterm.name = 'splice_donor_5th_base_variant' OR cvterm.name = 'coding_sequence_variant' OR cvterm.name = 'non_coding_exon_variant' OR cvterm.name = 'codon_variant' OR cvterm.name = 'frameshift_variant' OR cvterm.name = 'inframe_variant' OR cvterm.name = 'initiator_codon_change' OR cvterm.name = 'non_synonymous_codon' OR cvterm.name = 'synonymous_codon' OR cvterm.name = 'terminal_codon_variant' OR cvterm.name = 'stop_gained' OR cvterm.name = 'missense_codon' OR cvterm.name = 'conservative_missense_codon' OR cvterm.name = 'non_conservative_missense_codon' OR cvterm.name = 'terminator_codon_variant' OR cvterm.name = 'incomplete_terminal_codon_variant' OR cvterm.name = 'stop_retained_variant' OR cvterm.name = 'stop_lost' OR cvterm.name = 'frame_restoring_variant' OR cvterm.name = 'minus_1_frameshift_variant' OR cvterm.name = 'minus_2_frameshift_variant' OR cvterm.name = 'plus_1_frameshift_variant' OR cvterm.name = 'plus_2_frameshift variant' OR cvterm.name = 'inframe_codon_gain' OR cvterm.name = 'inframe_codon_loss' OR cvterm.name = '3D_polypeptide_structure_variant' OR cvterm.name = 'complex_change_of_translational_product_variant' OR cvterm.name = 'polypeptide_sequence_variant' OR cvterm.name = 'complex_3D_structural_variant' OR cvterm.name = 'conformational_change_variant' OR cvterm.name = 'amino_acid_deletion' OR cvterm.name = 'amino_acid_insertion' OR cvterm.name = 'amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide' OR cvterm.name = 'polypeptide_fusion' OR cvterm.name = 'polypeptide_truncation' OR cvterm.name = 'conservative_amino_acid_substitution' OR cvterm.name = 'non_conservative_amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide_C_terminal' OR cvterm.name = 'elongated_polypeptide_N_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_out_of_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'elongated_out_of_frame_polypeptide_N_terminal' OR cvterm.name = 'TF_binding_site_variant' OR cvterm.name = '5KB_upstream_variant' OR cvterm.name = '2KB_upstream_variant' OR cvterm.name = '5KB_downstream_variant' OR cvterm.name = '500B_downstream_variant' OR cvterm.name = 'structural_variant';
- --- ************************************************
- --- *** relation: transcript_function_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which alters the func ***
- --- *** tioning of a transcript with respect to ***
- --- *** a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW transcript_function_variant AS
- SELECT
- feature_id AS transcript_function_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'level_of_transcript_variant' OR cvterm.name = 'transcript_processing_variant' OR cvterm.name = 'transcript_stability_variant' OR cvterm.name = 'transcription_variant' OR cvterm.name = 'decreased_transcript_level_variant' OR cvterm.name = 'increased_transcript_level_variant' OR cvterm.name = 'editing_variant' OR cvterm.name = 'polyadenylation_variant' OR cvterm.name = 'increased_polyadenylation_variant' OR cvterm.name = 'decreased_polyadenylation_variant' OR cvterm.name = 'decreased_transcript_stability_variant' OR cvterm.name = 'increased_transcript_stability_variant' OR cvterm.name = 'rate_of_transcription_variant' OR cvterm.name = 'increased_transcription_rate_variant' OR cvterm.name = 'decreased_transcription_rate_variant' OR cvterm.name = 'transcript_function_variant';
- --- ************************************************
- --- *** relation: translational_product_function_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that affects the func ***
- --- *** tioning of a translational product with ***
- --- *** respect to a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW translational_product_function_variant AS
- SELECT
- feature_id AS translational_product_function_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'translational_product_level_variant' OR cvterm.name = 'polypeptide_function_variant' OR cvterm.name = 'decreased_translational_product_level' OR cvterm.name = 'increased_translational_product_level' OR cvterm.name = 'polypeptide_gain_of_function_variant' OR cvterm.name = 'polypeptide_localization_variant' OR cvterm.name = 'polypeptide_loss_of_function_variant' OR cvterm.name = 'polypeptide_post_translational_processing_variant' OR cvterm.name = 'inactive_ligand_binding_site' OR cvterm.name = 'polypeptide_partial_loss_of_function' OR cvterm.name = 'inactive_catalytic_site' OR cvterm.name = 'translational_product_function_variant';
- --- ************************************************
- --- *** relation: level_of_transcript_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which alters the leve ***
- --- *** l of a transcript. ***
- --- ************************************************
- ---
- CREATE VIEW level_of_transcript_variant AS
- SELECT
- feature_id AS level_of_transcript_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'decreased_transcript_level_variant' OR cvterm.name = 'increased_transcript_level_variant' OR cvterm.name = 'level_of_transcript_variant';
- --- ************************************************
- --- *** relation: decreased_transcript_level_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that increases the le ***
- --- *** vel of mature, spliced and processed RNA ***
- --- *** with respect to a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW decreased_transcript_level_variant AS
- SELECT
- feature_id AS decreased_transcript_level_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'decreased_transcript_level_variant';
- --- ************************************************
- --- *** relation: increased_transcript_level_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that increases the le ***
- --- *** vel of mature, spliced and processed RNA ***
- --- *** with respect to a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW increased_transcript_level_variant AS
- SELECT
- feature_id AS increased_transcript_level_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'increased_transcript_level_variant';
- --- ************************************************
- --- *** relation: transcript_processing_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that affects the post ***
- --- *** transcriptional processing of a transcr ***
- --- *** ipt with respect to a reference sequence ***
- --- *** . ***
- --- ************************************************
- ---
- CREATE VIEW transcript_processing_variant AS
- SELECT
- feature_id AS transcript_processing_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'editing_variant' OR cvterm.name = 'polyadenylation_variant' OR cvterm.name = 'increased_polyadenylation_variant' OR cvterm.name = 'decreased_polyadenylation_variant' OR cvterm.name = 'transcript_processing_variant';
- --- ************************************************
- --- *** relation: editing_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript processing variant whereby ***
- --- *** the process of editing is disrupted with ***
- --- *** respect to the reference. ***
- --- ************************************************
- ---
- CREATE VIEW editing_variant AS
- SELECT
- feature_id AS editing_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'editing_variant';
- --- ************************************************
- --- *** relation: polyadenylation_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes polyaden ***
- --- *** ylation with respect to a reference sequ ***
- --- *** ence. ***
- --- ************************************************
- ---
- CREATE VIEW polyadenylation_variant AS
- SELECT
- feature_id AS polyadenylation_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'increased_polyadenylation_variant' OR cvterm.name = 'decreased_polyadenylation_variant' OR cvterm.name = 'polyadenylation_variant';
- --- ************************************************
- --- *** relation: transcript_stability_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A variant that changes the stability of ***
- --- *** a transcript with respect to a reference ***
- --- *** sequence. ***
- --- ************************************************
- ---
- CREATE VIEW transcript_stability_variant AS
- SELECT
- feature_id AS transcript_stability_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'decreased_transcript_stability_variant' OR cvterm.name = 'increased_transcript_stability_variant' OR cvterm.name = 'transcript_stability_variant';
- --- ************************************************
- --- *** relation: decreased_transcript_stability_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that decreases transc ***
- --- *** ript stability with respect to a referen ***
- --- *** ce sequence. ***
- --- ************************************************
- ---
- CREATE VIEW decreased_transcript_stability_variant AS
- SELECT
- feature_id AS decreased_transcript_stability_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'decreased_transcript_stability_variant';
- --- ************************************************
- --- *** relation: increased_transcript_stability_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that increases transc ***
- --- *** ript stability with respect to a referen ***
- --- *** ce sequence. ***
- --- ************************************************
- ---
- CREATE VIEW increased_transcript_stability_variant AS
- SELECT
- feature_id AS increased_transcript_stability_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'increased_transcript_stability_variant';
- --- ************************************************
- --- *** relation: transcription_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A variant that changes alters the transc ***
- --- *** ription of a transcript with respect to ***
- --- *** a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW transcription_variant AS
- SELECT
- feature_id AS transcription_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rate_of_transcription_variant' OR cvterm.name = 'increased_transcription_rate_variant' OR cvterm.name = 'decreased_transcription_rate_variant' OR cvterm.name = 'transcription_variant';
- --- ************************************************
- --- *** relation: rate_of_transcription_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes the rate ***
- --- *** of transcription with respect to a refe ***
- --- *** rence sequence. ***
- --- ************************************************
- ---
- CREATE VIEW rate_of_transcription_variant AS
- SELECT
- feature_id AS rate_of_transcription_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'increased_transcription_rate_variant' OR cvterm.name = 'decreased_transcription_rate_variant' OR cvterm.name = 'rate_of_transcription_variant';
- --- ************************************************
- --- *** relation: increased_transcription_rate_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that increases the ra ***
- --- *** te of transcription with respect to a re ***
- --- *** ference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW increased_transcription_rate_variant AS
- SELECT
- feature_id AS increased_transcription_rate_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'increased_transcription_rate_variant';
- --- ************************************************
- --- *** relation: decreased_transcription_rate_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that decreases the ra ***
- --- *** te of transcription with respect to a re ***
- --- *** ference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW decreased_transcription_rate_variant AS
- SELECT
- feature_id AS decreased_transcription_rate_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'decreased_transcription_rate_variant';
- --- ************************************************
- --- *** relation: translational_product_level_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A functional variant that changes the tr ***
- --- *** anslational product level with respect t ***
- --- *** o a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW translational_product_level_variant AS
- SELECT
- feature_id AS translational_product_level_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'decreased_translational_product_level' OR cvterm.name = 'increased_translational_product_level' OR cvterm.name = 'translational_product_level_variant';
- --- ************************************************
- --- *** relation: polypeptide_function_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which changes polypep ***
- --- *** tide functioning with respect to a refer ***
- --- *** ence sequence. ***
- --- ************************************************
- ---
- CREATE VIEW polypeptide_function_variant AS
- SELECT
- feature_id AS polypeptide_function_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_gain_of_function_variant' OR cvterm.name = 'polypeptide_localization_variant' OR cvterm.name = 'polypeptide_loss_of_function_variant' OR cvterm.name = 'polypeptide_post_translational_processing_variant' OR cvterm.name = 'inactive_ligand_binding_site' OR cvterm.name = 'polypeptide_partial_loss_of_function' OR cvterm.name = 'inactive_catalytic_site' OR cvterm.name = 'polypeptide_function_variant';
- --- ************************************************
- --- *** relation: decreased_translational_product_level ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which decreases the t ***
- --- *** ranslational product level with respect ***
- --- *** to a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW decreased_translational_product_level AS
- SELECT
- feature_id AS decreased_translational_product_level_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'decreased_translational_product_level';
- --- ************************************************
- --- *** relation: increased_translational_product_level ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which increases the t ***
- --- *** ranslational product level with respect ***
- --- *** to a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW increased_translational_product_level AS
- SELECT
- feature_id AS increased_translational_product_level_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'increased_translational_product_level';
- --- ************************************************
- --- *** relation: polypeptide_gain_of_function_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which causes gain of ***
- --- *** polypeptide function with respect to a r ***
- --- *** eference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW polypeptide_gain_of_function_variant AS
- SELECT
- feature_id AS polypeptide_gain_of_function_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_gain_of_function_variant';
- --- ************************************************
- --- *** relation: polypeptide_localization_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which changes the loc ***
- --- *** alization of a polypeptide with respect ***
- --- *** to a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW polypeptide_localization_variant AS
- SELECT
- feature_id AS polypeptide_localization_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_localization_variant';
- --- ************************************************
- --- *** relation: polypeptide_loss_of_function_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that causes the loss ***
- --- *** of a polypeptide function with respect t ***
- --- *** o a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW polypeptide_loss_of_function_variant AS
- SELECT
- feature_id AS polypeptide_loss_of_function_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inactive_ligand_binding_site' OR cvterm.name = 'polypeptide_partial_loss_of_function' OR cvterm.name = 'inactive_catalytic_site' OR cvterm.name = 'polypeptide_loss_of_function_variant';
- --- ************************************************
- --- *** relation: inactive_ligand_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that causes the inact ***
- --- *** ivation of a ligand binding site with re ***
- --- *** spect to a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW inactive_ligand_binding_site AS
- SELECT
- feature_id AS inactive_ligand_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inactive_catalytic_site' OR cvterm.name = 'inactive_ligand_binding_site';
- --- ************************************************
- --- *** relation: polypeptide_partial_loss_of_function ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that causes some but ***
- --- *** not all loss of polypeptide function wit ***
- --- *** h respect to a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW polypeptide_partial_loss_of_function AS
- SELECT
- feature_id AS polypeptide_partial_loss_of_function_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_partial_loss_of_function';
- --- ************************************************
- --- *** relation: polypeptide_post_translational_processing_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that causes a change ***
- --- *** in post translational processing of the ***
- --- *** peptide with respect to a reference sequ ***
- --- *** ence. ***
- --- ************************************************
- ---
- CREATE VIEW polypeptide_post_translational_processing_variant AS
- SELECT
- feature_id AS polypeptide_post_translational_processing_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_post_translational_processing_variant';
- --- ************************************************
- --- *** relation: copy_number_change ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant where copies of a fea ***
- --- *** ture (CNV) are either increased or decre ***
- --- *** ased. ***
- --- ************************************************
- ---
- CREATE VIEW copy_number_change AS
- SELECT
- feature_id AS copy_number_change_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'copy_number_change';
- --- ************************************************
- --- *** relation: gene_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant where the structure o ***
- --- *** f the gene is changed. ***
- --- ************************************************
- ---
- CREATE VIEW gene_variant AS
- SELECT
- feature_id AS gene_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_fusion' OR cvterm.name = 'splicing_variant' OR cvterm.name = 'transcript_variant' OR cvterm.name = 'translational_product_structure_variant' OR cvterm.name = 'cryptic_splice_site_variant' OR cvterm.name = 'exon_loss' OR cvterm.name = 'intron_gain' OR cvterm.name = 'splice_region_variant' OR cvterm.name = 'cryptic_splice_acceptor' OR cvterm.name = 'cryptic_splice_donor' OR cvterm.name = 'complex_change_in_transcript' OR cvterm.name = 'transcript_secondary_structure_variant' OR cvterm.name = 'nc_transcript_variant' OR cvterm.name = 'NMD_transcript_variant' OR cvterm.name = 'UTR_variant' OR cvterm.name = 'intron_variant' OR cvterm.name = 'exon_variant' OR cvterm.name = 'compensatory_transcript_secondary_structure_variant' OR cvterm.name = 'mature_miRNA_variant' OR cvterm.name = '5_prime_UTR_variant' OR cvterm.name = '3_prime_UTR_variant' OR cvterm.name = 'splice_site_variant' OR cvterm.name = 'splice_acceptor_variant' OR cvterm.name = 'splice_donor_variant' OR cvterm.name = 'splice_donor_5th_base_variant' OR cvterm.name = 'coding_sequence_variant' OR cvterm.name = 'non_coding_exon_variant' OR cvterm.name = 'codon_variant' OR cvterm.name = 'frameshift_variant' OR cvterm.name = 'inframe_variant' OR cvterm.name = 'initiator_codon_change' OR cvterm.name = 'non_synonymous_codon' OR cvterm.name = 'synonymous_codon' OR cvterm.name = 'terminal_codon_variant' OR cvterm.name = 'stop_gained' OR cvterm.name = 'missense_codon' OR cvterm.name = 'conservative_missense_codon' OR cvterm.name = 'non_conservative_missense_codon' OR cvterm.name = 'terminator_codon_variant' OR cvterm.name = 'incomplete_terminal_codon_variant' OR cvterm.name = 'stop_retained_variant' OR cvterm.name = 'stop_lost' OR cvterm.name = 'frame_restoring_variant' OR cvterm.name = 'minus_1_frameshift_variant' OR cvterm.name = 'minus_2_frameshift_variant' OR cvterm.name = 'plus_1_frameshift_variant' OR cvterm.name = 'plus_2_frameshift variant' OR cvterm.name = 'inframe_codon_gain' OR cvterm.name = 'inframe_codon_loss' OR cvterm.name = '3D_polypeptide_structure_variant' OR cvterm.name = 'complex_change_of_translational_product_variant' OR cvterm.name = 'polypeptide_sequence_variant' OR cvterm.name = 'complex_3D_structural_variant' OR cvterm.name = 'conformational_change_variant' OR cvterm.name = 'amino_acid_deletion' OR cvterm.name = 'amino_acid_insertion' OR cvterm.name = 'amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide' OR cvterm.name = 'polypeptide_fusion' OR cvterm.name = 'polypeptide_truncation' OR cvterm.name = 'conservative_amino_acid_substitution' OR cvterm.name = 'non_conservative_amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide_C_terminal' OR cvterm.name = 'elongated_polypeptide_N_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_out_of_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'elongated_out_of_frame_polypeptide_N_terminal' OR cvterm.name = 'gene_variant';
- --- ************************************************
- --- *** relation: gene_fusion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby a two genes h ***
- --- *** ave become joined. ***
- --- ************************************************
- ---
- CREATE VIEW gene_fusion AS
- SELECT
- feature_id AS gene_fusion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_fusion';
- --- ************************************************
- --- *** relation: regulatory_region_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant located within a regu ***
- --- *** latory region. ***
- --- ************************************************
- ---
- CREATE VIEW regulatory_region_variant AS
- SELECT
- feature_id AS regulatory_region_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'TF_binding_site_variant' OR cvterm.name = 'regulatory_region_variant';
- --- ************************************************
- --- *** relation: stop_retained_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant where at least one ba ***
- --- *** se in the terminator codon is changed, b ***
- --- *** ut the terminator remains. ***
- --- ************************************************
- ---
- CREATE VIEW stop_retained_variant AS
- SELECT
- feature_id AS stop_retained_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_retained_variant';
- --- ************************************************
- --- *** relation: splicing_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes the proc ***
- --- *** ess of splicing. ***
- --- ************************************************
- ---
- CREATE VIEW splicing_variant AS
- SELECT
- feature_id AS splicing_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptic_splice_site_variant' OR cvterm.name = 'exon_loss' OR cvterm.name = 'intron_gain' OR cvterm.name = 'splice_region_variant' OR cvterm.name = 'cryptic_splice_acceptor' OR cvterm.name = 'cryptic_splice_donor' OR cvterm.name = 'splicing_variant';
- --- ************************************************
- --- *** relation: cryptic_splice_site_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant causing a new (functi ***
- --- *** onal) splice site. ***
- --- ************************************************
- ---
- CREATE VIEW cryptic_splice_site_variant AS
- SELECT
- feature_id AS cryptic_splice_site_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptic_splice_acceptor' OR cvterm.name = 'cryptic_splice_donor' OR cvterm.name = 'cryptic_splice_site_variant';
- --- ************************************************
- --- *** relation: cryptic_splice_acceptor ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby a new splice ***
- --- *** site is created due to the activation of ***
- --- *** a new acceptor. ***
- --- ************************************************
- ---
- CREATE VIEW cryptic_splice_acceptor AS
- SELECT
- feature_id AS cryptic_splice_acceptor_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptic_splice_acceptor';
- --- ************************************************
- --- *** relation: cryptic_splice_donor ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby a new splice ***
- --- *** site is created due to the activation of ***
- --- *** a new donor. ***
- --- ************************************************
- ---
- CREATE VIEW cryptic_splice_donor AS
- SELECT
- feature_id AS cryptic_splice_donor_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'cryptic_splice_donor';
- --- ************************************************
- --- *** relation: exon_loss ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby an exon is lo ***
- --- *** st from the transcript. ***
- --- ************************************************
- ---
- CREATE VIEW exon_loss AS
- SELECT
- feature_id AS exon_loss_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'exon_loss';
- --- ************************************************
- --- *** relation: intron_gain ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby an intron is ***
- --- *** gained by the processed transcript; usua ***
- --- *** lly a result of an alteration of the don ***
- --- *** or or acceptor. ***
- --- ************************************************
- ---
- CREATE VIEW intron_gain AS
- SELECT
- feature_id AS intron_gain_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intron_gain';
- --- ************************************************
- --- *** relation: splice_acceptor_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A splice variant that changes the 2 base ***
- --- *** region at the 3' end of an intron. ***
- --- ************************************************
- ---
- CREATE VIEW splice_acceptor_variant AS
- SELECT
- feature_id AS splice_acceptor_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'splice_acceptor_variant';
- --- ************************************************
- --- *** relation: splice_donor_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A splice variant that changes the2 base ***
- --- *** region at the 5' end of an intron. ***
- --- ************************************************
- ---
- CREATE VIEW splice_donor_variant AS
- SELECT
- feature_id AS splice_donor_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'splice_donor_variant';
- --- ************************************************
- --- *** relation: transcript_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes the stru ***
- --- *** cture of the transcript. ***
- --- ************************************************
- ---
- CREATE VIEW transcript_variant AS
- SELECT
- feature_id AS transcript_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'complex_change_in_transcript' OR cvterm.name = 'transcript_secondary_structure_variant' OR cvterm.name = 'nc_transcript_variant' OR cvterm.name = 'NMD_transcript_variant' OR cvterm.name = 'UTR_variant' OR cvterm.name = 'intron_variant' OR cvterm.name = 'exon_variant' OR cvterm.name = 'compensatory_transcript_secondary_structure_variant' OR cvterm.name = 'mature_miRNA_variant' OR cvterm.name = '5_prime_UTR_variant' OR cvterm.name = '3_prime_UTR_variant' OR cvterm.name = 'splice_site_variant' OR cvterm.name = 'splice_acceptor_variant' OR cvterm.name = 'splice_donor_variant' OR cvterm.name = 'splice_donor_5th_base_variant' OR cvterm.name = 'coding_sequence_variant' OR cvterm.name = 'non_coding_exon_variant' OR cvterm.name = 'codon_variant' OR cvterm.name = 'frameshift_variant' OR cvterm.name = 'inframe_variant' OR cvterm.name = 'initiator_codon_change' OR cvterm.name = 'non_synonymous_codon' OR cvterm.name = 'synonymous_codon' OR cvterm.name = 'terminal_codon_variant' OR cvterm.name = 'stop_gained' OR cvterm.name = 'missense_codon' OR cvterm.name = 'conservative_missense_codon' OR cvterm.name = 'non_conservative_missense_codon' OR cvterm.name = 'terminator_codon_variant' OR cvterm.name = 'incomplete_terminal_codon_variant' OR cvterm.name = 'stop_retained_variant' OR cvterm.name = 'stop_lost' OR cvterm.name = 'frame_restoring_variant' OR cvterm.name = 'minus_1_frameshift_variant' OR cvterm.name = 'minus_2_frameshift_variant' OR cvterm.name = 'plus_1_frameshift_variant' OR cvterm.name = 'plus_2_frameshift variant' OR cvterm.name = 'inframe_codon_gain' OR cvterm.name = 'inframe_codon_loss' OR cvterm.name = 'transcript_variant';
- --- ************************************************
- --- *** relation: complex_change_in_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript variant with a complex INDE ***
- --- *** L- Insertion or deletion that spans an e ***
- --- *** xon/intron border or a coding sequence/U ***
- --- *** TR border. ***
- --- ************************************************
- ---
- CREATE VIEW complex_change_in_transcript AS
- SELECT
- feature_id AS complex_change_in_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'complex_change_in_transcript';
- --- ************************************************
- --- *** relation: stop_lost ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant where at least one ba ***
- --- *** se of the terminator codon (stop) is cha ***
- --- *** nged, resulting in an elongated transcri ***
- --- *** pt. ***
- --- ************************************************
- ---
- CREATE VIEW stop_lost AS
- SELECT
- feature_id AS stop_lost_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_lost';
- --- ************************************************
- --- *** relation: coding_sequence_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes the codi ***
- --- *** ng sequence. ***
- --- ************************************************
- ---
- CREATE VIEW coding_sequence_variant AS
- SELECT
- feature_id AS coding_sequence_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'codon_variant' OR cvterm.name = 'frameshift_variant' OR cvterm.name = 'inframe_variant' OR cvterm.name = 'initiator_codon_change' OR cvterm.name = 'non_synonymous_codon' OR cvterm.name = 'synonymous_codon' OR cvterm.name = 'terminal_codon_variant' OR cvterm.name = 'stop_gained' OR cvterm.name = 'missense_codon' OR cvterm.name = 'conservative_missense_codon' OR cvterm.name = 'non_conservative_missense_codon' OR cvterm.name = 'terminator_codon_variant' OR cvterm.name = 'incomplete_terminal_codon_variant' OR cvterm.name = 'stop_retained_variant' OR cvterm.name = 'stop_lost' OR cvterm.name = 'frame_restoring_variant' OR cvterm.name = 'minus_1_frameshift_variant' OR cvterm.name = 'minus_2_frameshift_variant' OR cvterm.name = 'plus_1_frameshift_variant' OR cvterm.name = 'plus_2_frameshift variant' OR cvterm.name = 'inframe_codon_gain' OR cvterm.name = 'inframe_codon_loss' OR cvterm.name = 'coding_sequence_variant';
- --- ************************************************
- --- *** relation: codon_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes at least ***
- --- *** one base in a codon. ***
- --- ************************************************
- ---
- CREATE VIEW codon_variant AS
- SELECT
- feature_id AS codon_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'initiator_codon_change' OR cvterm.name = 'non_synonymous_codon' OR cvterm.name = 'synonymous_codon' OR cvterm.name = 'terminal_codon_variant' OR cvterm.name = 'stop_gained' OR cvterm.name = 'missense_codon' OR cvterm.name = 'conservative_missense_codon' OR cvterm.name = 'non_conservative_missense_codon' OR cvterm.name = 'terminator_codon_variant' OR cvterm.name = 'incomplete_terminal_codon_variant' OR cvterm.name = 'stop_retained_variant' OR cvterm.name = 'stop_lost' OR cvterm.name = 'codon_variant';
- --- ************************************************
- --- *** relation: initiator_codon_change ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A codon variant that changes at least on ***
- --- *** e base of the first codon of a transcrip ***
- --- *** t. ***
- --- ************************************************
- ---
- CREATE VIEW initiator_codon_change AS
- SELECT
- feature_id AS initiator_codon_change_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'initiator_codon_change';
- --- ************************************************
- --- *** relation: non_synonymous_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby at least one ***
- --- *** base of a codon is changed resulting in ***
- --- *** a codon that encodes for a different ami ***
- --- *** no acid or stop codon. ***
- --- ************************************************
- ---
- CREATE VIEW non_synonymous_codon AS
- SELECT
- feature_id AS non_synonymous_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_gained' OR cvterm.name = 'missense_codon' OR cvterm.name = 'conservative_missense_codon' OR cvterm.name = 'non_conservative_missense_codon' OR cvterm.name = 'non_synonymous_codon';
- --- ************************************************
- --- *** relation: conservative_missense_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby at least one ***
- --- *** base of a codon is changed resulting in ***
- --- *** a codon that encodes for a different but ***
- --- *** similar amino acid. These variants may ***
- --- *** or may not be deleterious. ***
- --- ************************************************
- ---
- CREATE VIEW conservative_missense_codon AS
- SELECT
- feature_id AS conservative_missense_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'conservative_missense_codon';
- --- ************************************************
- --- *** relation: non_conservative_missense_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby at least one ***
- --- *** base of a codon is changed resulting in ***
- --- *** a codon that encodes for an amino acid w ***
- --- *** ith different biochemical properties. ***
- --- ************************************************
- ---
- CREATE VIEW non_conservative_missense_codon AS
- SELECT
- feature_id AS non_conservative_missense_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_conservative_missense_codon';
- --- ************************************************
- --- *** relation: stop_gained ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby at least one ***
- --- *** base of a codon is changed, resulting in ***
- --- *** a premature stop codon, leading to a sh ***
- --- *** ortened transcript. ***
- --- ************************************************
- ---
- CREATE VIEW stop_gained AS
- SELECT
- feature_id AS stop_gained_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_gained';
- --- ************************************************
- --- *** relation: synonymous_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby a base of a c ***
- --- *** odon is changed, but there is no resulti ***
- --- *** ng change to the encoded amino acid. ***
- --- ************************************************
- ---
- CREATE VIEW synonymous_codon AS
- SELECT
- feature_id AS synonymous_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'synonymous_codon';
- --- ************************************************
- --- *** relation: frameshift_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which causes a disrup ***
- --- *** tion of the translational reading frame, ***
- --- *** because the number of nucleotides inser ***
- --- *** ted or deleted is not a multiple of thre ***
- --- *** e. ***
- --- ************************************************
- ---
- CREATE VIEW frameshift_variant AS
- SELECT
- feature_id AS frameshift_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'frame_restoring_variant' OR cvterm.name = 'minus_1_frameshift_variant' OR cvterm.name = 'minus_2_frameshift_variant' OR cvterm.name = 'plus_1_frameshift_variant' OR cvterm.name = 'plus_2_frameshift variant' OR cvterm.name = 'frameshift_variant';
- --- ************************************************
- --- *** relation: terminator_codon_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby at least one ***
- --- *** of the bases in the terminator codon is ***
- --- *** changed. ***
- --- ************************************************
- ---
- CREATE VIEW terminator_codon_variant AS
- SELECT
- feature_id AS terminator_codon_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'stop_retained_variant' OR cvterm.name = 'stop_lost' OR cvterm.name = 'terminator_codon_variant';
- --- ************************************************
- --- *** relation: frame_restoring_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that reverts the sequ ***
- --- *** ence of a previous frameshift mutation b ***
- --- *** ack to the initial frame. ***
- --- ************************************************
- ---
- CREATE VIEW frame_restoring_variant AS
- SELECT
- feature_id AS frame_restoring_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'frame_restoring_variant';
- --- ************************************************
- --- *** relation: minus_1_frameshift_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which causes a disrup ***
- --- *** tion of the translational reading frame, ***
- --- *** by shifting one base ahead. ***
- --- ************************************************
- ---
- CREATE VIEW minus_1_frameshift_variant AS
- SELECT
- feature_id AS minus_1_frameshift_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_1_frameshift_variant';
- --- ************************************************
- --- *** relation: minus_2_frameshift_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW minus_2_frameshift_variant AS
- SELECT
- feature_id AS minus_2_frameshift_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_2_frameshift_variant';
- --- ************************************************
- --- *** relation: plus_1_frameshift_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which causes a disrup ***
- --- *** tion of the translational reading frame, ***
- --- *** by shifting one base backward. ***
- --- ************************************************
- ---
- CREATE VIEW plus_1_frameshift_variant AS
- SELECT
- feature_id AS plus_1_frameshift_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plus_1_frameshift_variant';
- --- ************************************************
- --- *** relation: plus_2_frameshift_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW plus_2_frameshift_variant AS
- SELECT
- feature_id AS plus_2_frameshift_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'plus_2_frameshift variant';
- --- ************************************************
- --- *** relation: transcript_secondary_structure_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant within a transcript t ***
- --- *** hat changes the secondary structure of t ***
- --- *** he RNA product. ***
- --- ************************************************
- ---
- CREATE VIEW transcript_secondary_structure_variant AS
- SELECT
- feature_id AS transcript_secondary_structure_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'compensatory_transcript_secondary_structure_variant' OR cvterm.name = 'transcript_secondary_structure_variant';
- --- ************************************************
- --- *** relation: compensatory_transcript_secondary_structure_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A secondary structure variant that compe ***
- --- *** nsate for the change made by a previous ***
- --- *** variant. ***
- --- ************************************************
- ---
- CREATE VIEW compensatory_transcript_secondary_structure_variant AS
- SELECT
- feature_id AS compensatory_transcript_secondary_structure_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'compensatory_transcript_secondary_structure_variant';
- --- ************************************************
- --- *** relation: translational_product_structure_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant within the transcript ***
- --- *** that changes the structure of the trans ***
- --- *** lational product. ***
- --- ************************************************
- ---
- CREATE VIEW translational_product_structure_variant AS
- SELECT
- feature_id AS translational_product_structure_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '3D_polypeptide_structure_variant' OR cvterm.name = 'complex_change_of_translational_product_variant' OR cvterm.name = 'polypeptide_sequence_variant' OR cvterm.name = 'complex_3D_structural_variant' OR cvterm.name = 'conformational_change_variant' OR cvterm.name = 'amino_acid_deletion' OR cvterm.name = 'amino_acid_insertion' OR cvterm.name = 'amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide' OR cvterm.name = 'polypeptide_fusion' OR cvterm.name = 'polypeptide_truncation' OR cvterm.name = 'conservative_amino_acid_substitution' OR cvterm.name = 'non_conservative_amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide_C_terminal' OR cvterm.name = 'elongated_polypeptide_N_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_out_of_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'elongated_out_of_frame_polypeptide_N_terminal' OR cvterm.name = 'translational_product_structure_variant';
- --- ************************************************
- --- *** relation: threed_polypeptide_structure_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes the resu ***
- --- *** lting polypeptide structure. ***
- --- ************************************************
- ---
- CREATE VIEW threed_polypeptide_structure_variant AS
- SELECT
- feature_id AS threed_polypeptide_structure_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'complex_3D_structural_variant' OR cvterm.name = 'conformational_change_variant' OR cvterm.name = '3D_polypeptide_structure_variant';
- --- ************************************************
- --- *** relation: complex_3d_structural_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes the resu ***
- --- *** lting polypeptide structure. ***
- --- ************************************************
- ---
- CREATE VIEW complex_3d_structural_variant AS
- SELECT
- feature_id AS complex_3d_structural_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'complex_3D_structural_variant';
- --- ************************************************
- --- *** relation: conformational_change_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant in the CDS region tha ***
- --- *** t causes a conformational change in the ***
- --- *** resulting polypeptide sequence. ***
- --- ************************************************
- ---
- CREATE VIEW conformational_change_variant AS
- SELECT
- feature_id AS conformational_change_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'conformational_change_variant';
- --- ************************************************
- --- *** relation: complex_change_of_translational_product_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW complex_change_of_translational_product_variant AS
- SELECT
- feature_id AS complex_change_of_translational_product_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'complex_change_of_translational_product_variant';
- --- ************************************************
- --- *** relation: polypeptide_sequence_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant with in the CDS that ***
- --- *** causes a change in the resulting polypep ***
- --- *** tide sequence. ***
- --- ************************************************
- ---
- CREATE VIEW polypeptide_sequence_variant AS
- SELECT
- feature_id AS polypeptide_sequence_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'amino_acid_deletion' OR cvterm.name = 'amino_acid_insertion' OR cvterm.name = 'amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide' OR cvterm.name = 'polypeptide_fusion' OR cvterm.name = 'polypeptide_truncation' OR cvterm.name = 'conservative_amino_acid_substitution' OR cvterm.name = 'non_conservative_amino_acid_substitution' OR cvterm.name = 'elongated_polypeptide_C_terminal' OR cvterm.name = 'elongated_polypeptide_N_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_out_of_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'elongated_out_of_frame_polypeptide_N_terminal' OR cvterm.name = 'polypeptide_sequence_variant';
- --- ************************************************
- --- *** relation: amino_acid_deletion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant within a CDS resultin ***
- --- *** g in the loss of an amino acid from the ***
- --- *** resulting polypeptide. ***
- --- ************************************************
- ---
- CREATE VIEW amino_acid_deletion AS
- SELECT
- feature_id AS amino_acid_deletion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'amino_acid_deletion';
- --- ************************************************
- --- *** relation: amino_acid_insertion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant within a CDS resultin ***
- --- *** g in the gain of an amino acid to the re ***
- --- *** sulting polypeptide. ***
- --- ************************************************
- ---
- CREATE VIEW amino_acid_insertion AS
- SELECT
- feature_id AS amino_acid_insertion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'amino_acid_insertion';
- --- ************************************************
- --- *** relation: amino_acid_substitution ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant of a codon resulting ***
- --- *** in the substitution of one amino acid fo ***
- --- *** r another in the resulting polypeptide. ***
- --- ************************************************
- ---
- CREATE VIEW amino_acid_substitution AS
- SELECT
- feature_id AS amino_acid_substitution_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'conservative_amino_acid_substitution' OR cvterm.name = 'non_conservative_amino_acid_substitution' OR cvterm.name = 'amino_acid_substitution';
- --- ************************************************
- --- *** relation: conservative_amino_acid_substitution ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant of a codon causing th ***
- --- *** e substitution of a similar amino acid f ***
- --- *** or another in the resulting polypeptide. ***
- --- ************************************************
- ---
- CREATE VIEW conservative_amino_acid_substitution AS
- SELECT
- feature_id AS conservative_amino_acid_substitution_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'conservative_amino_acid_substitution';
- --- ************************************************
- --- *** relation: non_conservative_amino_acid_substitution ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant of a codon causing th ***
- --- *** e substitution of a non conservative ami ***
- --- *** no acid for another in the resulting pol ***
- --- *** ypeptide. ***
- --- ************************************************
- ---
- CREATE VIEW non_conservative_amino_acid_substitution AS
- SELECT
- feature_id AS non_conservative_amino_acid_substitution_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_conservative_amino_acid_substitution';
- --- ************************************************
- --- *** relation: elongated_polypeptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant with in the CDS that ***
- --- *** causes elongation of the resulting polyp ***
- --- *** eptide sequence. ***
- --- ************************************************
- ---
- CREATE VIEW elongated_polypeptide AS
- SELECT
- feature_id AS elongated_polypeptide_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'elongated_polypeptide_C_terminal' OR cvterm.name = 'elongated_polypeptide_N_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_out_of_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_in_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'elongated_out_of_frame_polypeptide_N_terminal' OR cvterm.name = 'elongated_polypeptide';
- --- ************************************************
- --- *** relation: elongated_polypeptide_c_terminal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant with in the CDS that ***
- --- *** causes elongation of the resulting polyp ***
- --- *** eptide sequence at the C terminus. ***
- --- ************************************************
- ---
- CREATE VIEW elongated_polypeptide_c_terminal AS
- SELECT
- feature_id AS elongated_polypeptide_c_terminal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'elongated_in_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_out_of_frame_polypeptide_C_terminal' OR cvterm.name = 'elongated_polypeptide_C_terminal';
- --- ************************************************
- --- *** relation: elongated_polypeptide_n_terminal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant with in the CDS that ***
- --- *** causes elongation of the resulting polyp ***
- --- *** eptide sequence at the N terminus. ***
- --- ************************************************
- ---
- CREATE VIEW elongated_polypeptide_n_terminal AS
- SELECT
- feature_id AS elongated_polypeptide_n_terminal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'elongated_in_frame_polypeptide_N_terminal_elongation' OR cvterm.name = 'elongated_out_of_frame_polypeptide_N_terminal' OR cvterm.name = 'elongated_polypeptide_N_terminal';
- --- ************************************************
- --- *** relation: elongated_in_frame_polypeptide_c_terminal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant with in the CDS that ***
- --- *** causes in frame elongation of the result ***
- --- *** ing polypeptide sequence at the C termin ***
- --- *** us. ***
- --- ************************************************
- ---
- CREATE VIEW elongated_in_frame_polypeptide_c_terminal AS
- SELECT
- feature_id AS elongated_in_frame_polypeptide_c_terminal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'elongated_in_frame_polypeptide_C_terminal';
- --- ************************************************
- --- *** relation: elongated_out_of_frame_polypeptide_c_terminal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant with in the CDS that ***
- --- *** causes out of frame elongation of the re ***
- --- *** sulting polypeptide sequence at the C te ***
- --- *** rminus. ***
- --- ************************************************
- ---
- CREATE VIEW elongated_out_of_frame_polypeptide_c_terminal AS
- SELECT
- feature_id AS elongated_out_of_frame_polypeptide_c_terminal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'elongated_out_of_frame_polypeptide_C_terminal';
- --- ************************************************
- --- *** relation: elongated_in_frame_polypeptide_n_terminal_elongation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant with in the CDS that ***
- --- *** causes in frame elongation of the result ***
- --- *** ing polypeptide sequence at the N termin ***
- --- *** us. ***
- --- ************************************************
- ---
- CREATE VIEW elongated_in_frame_polypeptide_n_terminal_elongation AS
- SELECT
- feature_id AS elongated_in_frame_polypeptide_n_terminal_elongation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'elongated_in_frame_polypeptide_N_terminal_elongation';
- --- ************************************************
- --- *** relation: elongated_out_of_frame_polypeptide_n_terminal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant with in the CDS that ***
- --- *** causes out of frame elongation of the re ***
- --- *** sulting polypeptide sequence at the N te ***
- --- *** rminus. ***
- --- ************************************************
- ---
- CREATE VIEW elongated_out_of_frame_polypeptide_n_terminal AS
- SELECT
- feature_id AS elongated_out_of_frame_polypeptide_n_terminal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'elongated_out_of_frame_polypeptide_N_terminal';
- --- ************************************************
- --- *** relation: polypeptide_fusion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that causes a fusion ***
- --- *** of two polypeptide sequences. ***
- --- ************************************************
- ---
- CREATE VIEW polypeptide_fusion AS
- SELECT
- feature_id AS polypeptide_fusion_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_fusion';
- --- ************************************************
- --- *** relation: polypeptide_truncation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant of the CD that causes ***
- --- *** a truncation of the resulting polypepti ***
- --- *** de. ***
- --- ************************************************
- ---
- CREATE VIEW polypeptide_truncation AS
- SELECT
- feature_id AS polypeptide_truncation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_truncation';
- --- ************************************************
- --- *** relation: inactive_catalytic_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that causes the inact ***
- --- *** ivation of a catalytic site with respect ***
- --- *** to a reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW inactive_catalytic_site AS
- SELECT
- feature_id AS inactive_catalytic_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inactive_catalytic_site';
- --- ************************************************
- --- *** relation: nc_transcript_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript variant of a non coding RNA ***
- --- *** gene. ***
- --- ************************************************
- ---
- CREATE VIEW nc_transcript_variant AS
- SELECT
- feature_id AS nc_transcript_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mature_miRNA_variant' OR cvterm.name = 'nc_transcript_variant';
- --- ************************************************
- --- *** relation: mature_mirna_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript variant located with the se ***
- --- *** quence of the mature miRNA. ***
- --- ************************************************
- ---
- CREATE VIEW mature_mirna_variant AS
- SELECT
- feature_id AS mature_mirna_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mature_miRNA_variant';
- --- ************************************************
- --- *** relation: nmd_transcript_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A variant in a transcript that is the ta ***
- --- *** rget of NMD. ***
- --- ************************************************
- ---
- CREATE VIEW nmd_transcript_variant AS
- SELECT
- feature_id AS nmd_transcript_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'NMD_transcript_variant';
- --- ************************************************
- --- *** relation: utr_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript variant that is located wit ***
- --- *** hin the UTR. ***
- --- ************************************************
- ---
- CREATE VIEW utr_variant AS
- SELECT
- feature_id AS utr_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '5_prime_UTR_variant' OR cvterm.name = '3_prime_UTR_variant' OR cvterm.name = 'UTR_variant';
- --- ************************************************
- --- *** relation: five_prime_utr_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A UTR variant of the 5' UTR. ***
- --- ************************************************
- ---
- CREATE VIEW five_prime_utr_variant AS
- SELECT
- feature_id AS five_prime_utr_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '5_prime_UTR_variant';
- --- ************************************************
- --- *** relation: three_prime_utr_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A UTR variant of the 3' UTR. ***
- --- ************************************************
- ---
- CREATE VIEW three_prime_utr_variant AS
- SELECT
- feature_id AS three_prime_utr_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '3_prime_UTR_variant';
- --- ************************************************
- --- *** relation: terminal_codon_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A codon variant that changes at least on ***
- --- *** e base of the last codon of the transcri ***
- --- *** pt. ***
- --- ************************************************
- ---
- CREATE VIEW terminal_codon_variant AS
- SELECT
- feature_id AS terminal_codon_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'terminator_codon_variant' OR cvterm.name = 'incomplete_terminal_codon_variant' OR cvterm.name = 'stop_retained_variant' OR cvterm.name = 'stop_lost' OR cvterm.name = 'terminal_codon_variant';
- --- ************************************************
- --- *** relation: incomplete_terminal_codon_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant where at least one ba ***
- --- *** se of the final codon of an incompletely ***
- --- *** annotated transcript is changed. ***
- --- ************************************************
- ---
- CREATE VIEW incomplete_terminal_codon_variant AS
- SELECT
- feature_id AS incomplete_terminal_codon_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'incomplete_terminal_codon_variant';
- --- ************************************************
- --- *** relation: intron_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript variant occurring within an ***
- --- *** intron. ***
- --- ************************************************
- ---
- CREATE VIEW intron_variant AS
- SELECT
- feature_id AS intron_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'splice_site_variant' OR cvterm.name = 'splice_acceptor_variant' OR cvterm.name = 'splice_donor_variant' OR cvterm.name = 'splice_donor_5th_base_variant' OR cvterm.name = 'intron_variant';
- --- ************************************************
- --- *** relation: intergenic_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant located in the interg ***
- --- *** enic region, between genes. ***
- --- ************************************************
- ---
- CREATE VIEW intergenic_variant AS
- SELECT
- feature_id AS intergenic_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intergenic_variant';
- --- ************************************************
- --- *** relation: splice_site_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes the firs ***
- --- *** t two or last two bases of an intron, or ***
- --- *** the 5th base from the start of the intr ***
- --- *** on in the orientation of the transcript. ***
- --- ************************************************
- ---
- CREATE VIEW splice_site_variant AS
- SELECT
- feature_id AS splice_site_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'splice_acceptor_variant' OR cvterm.name = 'splice_donor_variant' OR cvterm.name = 'splice_donor_5th_base_variant' OR cvterm.name = 'splice_site_variant';
- --- ************************************************
- --- *** relation: splice_region_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant in which a change has ***
- --- *** occurred within the region of the splic ***
- --- *** e site, either within 1-3 bases of the e ***
- --- *** xon or 3-8 bases of the intron. ***
- --- ************************************************
- ---
- CREATE VIEW splice_region_variant AS
- SELECT
- feature_id AS splice_region_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'splice_region_variant';
- --- ************************************************
- --- *** relation: upstream_gene_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant located 5' of a gene. ***
- --- ************************************************
- ---
- CREATE VIEW upstream_gene_variant AS
- SELECT
- feature_id AS upstream_gene_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '5KB_upstream_variant' OR cvterm.name = '2KB_upstream_variant' OR cvterm.name = 'upstream_gene_variant';
- --- ************************************************
- --- *** relation: downstream_gene_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant located 3' of a gene. ***
- --- ************************************************
- ---
- CREATE VIEW downstream_gene_variant AS
- SELECT
- feature_id AS downstream_gene_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '5KB_downstream_variant' OR cvterm.name = '500B_downstream_variant' OR cvterm.name = 'downstream_gene_variant';
- --- ************************************************
- --- *** relation: fivekb_downstream_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant located within 5 KB o ***
- --- *** f the end of a gene. ***
- --- ************************************************
- ---
- CREATE VIEW fivekb_downstream_variant AS
- SELECT
- feature_id AS fivekb_downstream_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '500B_downstream_variant' OR cvterm.name = '5KB_downstream_variant';
- --- ************************************************
- --- *** relation: fivehundred_b_downstream_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant located within a half ***
- --- *** KB of the end of a gene. ***
- --- ************************************************
- ---
- CREATE VIEW fivehundred_b_downstream_variant AS
- SELECT
- feature_id AS fivehundred_b_downstream_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '500B_downstream_variant';
- --- ************************************************
- --- *** relation: fivekb_upstream_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant located within 5KB 5' ***
- --- *** of a gene. ***
- --- ************************************************
- ---
- CREATE VIEW fivekb_upstream_variant AS
- SELECT
- feature_id AS fivekb_upstream_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '2KB_upstream_variant' OR cvterm.name = '5KB_upstream_variant';
- --- ************************************************
- --- *** relation: twokb_upstream_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant located within 2KB 5' ***
- --- *** of a gene. ***
- --- ************************************************
- ---
- CREATE VIEW twokb_upstream_variant AS
- SELECT
- feature_id AS twokb_upstream_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = '2KB_upstream_variant';
- --- ************************************************
- --- *** relation: rrna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes for ribosomal RNA. ***
- --- ************************************************
- ---
- CREATE VIEW rrna_gene AS
- SELECT
- feature_id AS rrna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rRNA_gene';
- --- ************************************************
- --- *** relation: pirna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes for an piwi associat ***
- --- *** ed RNA. ***
- --- ************************************************
- ---
- CREATE VIEW pirna_gene AS
- SELECT
- feature_id AS pirna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'piRNA_gene';
- --- ************************************************
- --- *** relation: rnase_p_rna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes an RNase P RNA. ***
- --- ************************************************
- ---
- CREATE VIEW rnase_p_rna_gene AS
- SELECT
- feature_id AS rnase_p_rna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNase_P_RNA_gene';
- --- ************************************************
- --- *** relation: rnase_mrp_rna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes a RNase_MRP_RNA. ***
- --- ************************************************
- ---
- CREATE VIEW rnase_mrp_rna_gene AS
- SELECT
- feature_id AS rnase_mrp_rna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNase_MRP_RNA_gene';
- --- ************************************************
- --- *** relation: lincrna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that encodes large intervening no ***
- --- *** n-coding RNA. ***
- --- ************************************************
- ---
- CREATE VIEW lincrna_gene AS
- SELECT
- feature_id AS lincrna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lincRNA_gene';
- --- ************************************************
- --- *** relation: mathematically_defined_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A mathematically defined repeat (MDR) is ***
- --- *** a experimental feature that is determin ***
- --- *** ed by querying overlapping oligomers of ***
- --- *** length k against a database of shotgun s ***
- --- *** equence data and identifying regions in ***
- --- *** the query sequence that exceed a statist ***
- --- *** ically determined threshold of repetitiv ***
- --- *** eness. ***
- --- ************************************************
- ---
- CREATE VIEW mathematically_defined_repeat AS
- SELECT
- feature_id AS mathematically_defined_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mathematically_defined_repeat';
- --- ************************************************
- --- *** relation: telomerase_rna_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A telomerase RNA gene is a non coding RN ***
- --- *** A gene the RNA product of which is a com ***
- --- *** ponent of telomerase. ***
- --- ************************************************
- ---
- CREATE VIEW telomerase_rna_gene AS
- SELECT
- feature_id AS telomerase_rna_gene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'telomerase_RNA_gene';
- --- ************************************************
- --- *** relation: targeting_vector ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An engineered vector that is able to tak ***
- --- *** e part in homologous recombination in a ***
- --- *** host with the intent of introducing site ***
- --- *** specific genomic modifications. ***
- --- ************************************************
- ---
- CREATE VIEW targeting_vector AS
- SELECT
- feature_id AS targeting_vector_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'targeting_vector';
- --- ************************************************
- --- *** relation: genetic_marker ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A measurable sequence feature that varie ***
- --- *** s within a population. ***
- --- ************************************************
- ---
- CREATE VIEW genetic_marker AS
- SELECT
- feature_id AS genetic_marker_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'heritable_phenotypic_marker' OR cvterm.name = 'DArT_marker' OR cvterm.name = 'genetic_marker';
- --- ************************************************
- --- *** relation: dart_marker ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A genetic marker, discovered using Diver ***
- --- *** sity Arrays Technology (DArT) technology ***
- --- *** . ***
- --- ************************************************
- ---
- CREATE VIEW dart_marker AS
- SELECT
- feature_id AS dart_marker_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DArT_marker';
- --- ************************************************
- --- *** relation: kozak_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of ribosome entry site, specific ***
- --- *** to Eukaryotic organisms that overlaps pa ***
- --- *** rt of both 5' UTR and CDS sequence. ***
- --- ************************************************
- ---
- CREATE VIEW kozak_sequence AS
- SELECT
- feature_id AS kozak_sequence_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'kozak_sequence';
- --- ************************************************
- --- *** relation: nested_transposon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transposon that is disrupted by the in ***
- --- *** sertion of another element. ***
- --- ************************************************
- ---
- CREATE VIEW nested_transposon AS
- SELECT
- feature_id AS nested_transposon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nested_transposon';
- --- ************************************************
- --- *** relation: nested_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A repeat that is disrupted by the insert ***
- --- *** ion of another element. ***
- --- ************************************************
- ---
- CREATE VIEW nested_repeat AS
- SELECT
- feature_id AS nested_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nested_tandem_repeat' OR cvterm.name = 'nested_repeat';
- --- ************************************************
- --- *** relation: inframe_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which does not cause ***
- --- *** a disruption of the translational readin ***
- --- *** g frame. ***
- --- ************************************************
- ---
- CREATE VIEW inframe_variant AS
- SELECT
- feature_id AS inframe_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inframe_codon_gain' OR cvterm.name = 'inframe_codon_loss' OR cvterm.name = 'inframe_variant';
- --- ************************************************
- --- *** relation: inframe_codon_gain ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which gains a codon, ***
- --- *** and does not cause a disruption of the t ***
- --- *** ranslational reading frame. ***
- --- ************************************************
- ---
- CREATE VIEW inframe_codon_gain AS
- SELECT
- feature_id AS inframe_codon_gain_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inframe_codon_gain';
- --- ************************************************
- --- *** relation: inframe_codon_loss ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant which loses a codon, ***
- --- *** and does not cause a disruption of the t ***
- --- *** ranslational reading frame. ***
- --- ************************************************
- ---
- CREATE VIEW inframe_codon_loss AS
- SELECT
- feature_id AS inframe_codon_loss_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'inframe_codon_loss';
- --- ************************************************
- --- *** relation: retinoic_acid_responsive_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcription factor binding site of v ***
- --- *** ariable direct repeats of the sequence P ***
- --- *** uGGTCA spaced by five nucleotides (DR5) ***
- --- *** found in the promoters of retinoic acid- ***
- --- *** responsive genes, to which retinoic acid ***
- --- *** receptors bind. ***
- --- ************************************************
- ---
- CREATE VIEW retinoic_acid_responsive_element AS
- SELECT
- feature_id AS retinoic_acid_responsive_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'retinoic_acid_responsive_element';
- --- ************************************************
- --- *** relation: nucleotide_to_protein_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the nucleotide m ***
- --- *** olecule, interacts selectively and non-c ***
- --- *** ovalently with polypeptide residues. ***
- --- ************************************************
- ---
- CREATE VIEW nucleotide_to_protein_binding_site AS
- SELECT
- feature_id AS nucleotide_to_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 = 'nucleotide_to_protein_binding_site';
- --- ************************************************
- --- *** relation: nucleotide_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the molecule, in ***
- --- *** teracts selectively and non-covalently w ***
- --- *** ith nucleotide residues. ***
- --- ************************************************
- ---
- CREATE VIEW nucleotide_binding_site AS
- SELECT
- feature_id AS nucleotide_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'miRNA_target_site' OR cvterm.name = 'DNA_binding_site' OR cvterm.name = 'primer_binding_site' OR cvterm.name = 'polypeptide_DNA_contact' OR cvterm.name = 'nucleotide_binding_site';
- --- ************************************************
- --- *** relation: metal_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the molecule, in ***
- --- *** teracts selectively and non-covalently w ***
- --- *** ith metal ions. ***
- --- ************************************************
- ---
- CREATE VIEW metal_binding_site AS
- SELECT
- feature_id AS metal_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_metal_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 = 'metal_binding_site';
- --- ************************************************
- --- *** relation: ligand_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the molecule, in ***
- --- *** teracts selectively and non-covalently w ***
- --- *** ith a small molecule such as a drug, or ***
- --- *** hormone. ***
- --- ************************************************
- ---
- CREATE VIEW ligand_binding_site AS
- SELECT
- feature_id AS ligand_binding_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polypeptide_ligand_contact' OR cvterm.name = 'ligand_binding_site';
- --- ************************************************
- --- *** relation: nested_tandem_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An NTR is a nested repeat of two distinc ***
- --- *** t tandem motifs interspersed with each o ***
- --- *** ther. ***
- --- ************************************************
- ---
- CREATE VIEW nested_tandem_repeat AS
- SELECT
- feature_id AS nested_tandem_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nested_tandem_repeat';
- --- ************************************************
- --- *** relation: promoter_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW promoter_element AS
- SELECT
- feature_id AS promoter_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'GC_rich_promoter_region' 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 = 'core_promoter_element' OR cvterm.name = 'regulatory_promoter_element' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BREu_motif' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'MTE' OR cvterm.name = 'BREd_motif' OR cvterm.name = 'DCE' OR cvterm.name = 'intermediate_element' OR cvterm.name = 'RNA_polymerase_II_TATA_box' OR cvterm.name = 'RNA_polymerase_III_TATA_box' OR cvterm.name = 'A_box_type_1' OR cvterm.name = 'A_box_type_2' OR cvterm.name = 'proximal_promoter_element' OR cvterm.name = 'distal_promoter_element' OR cvterm.name = 'promoter_element';
- --- ************************************************
- --- *** relation: core_promoter_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW core_promoter_element AS
- SELECT
- feature_id AS core_promoter_element_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 = 'BREu_motif' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'MTE' OR cvterm.name = 'BREd_motif' OR cvterm.name = 'DCE' OR cvterm.name = 'intermediate_element' OR cvterm.name = 'RNA_polymerase_II_TATA_box' OR cvterm.name = 'RNA_polymerase_III_TATA_box' OR cvterm.name = 'A_box_type_1' OR cvterm.name = 'A_box_type_2' OR cvterm.name = 'core_promoter_element';
- --- ************************************************
- --- *** relation: rna_polymerase_ii_tata_box ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A TATA box core promoter of a gene trans ***
- --- *** cribed by RNA polymerase II. ***
- --- ************************************************
- ---
- CREATE VIEW rna_polymerase_ii_tata_box AS
- SELECT
- feature_id AS rna_polymerase_ii_tata_box_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNA_polymerase_II_TATA_box';
- --- ************************************************
- --- *** relation: rna_polymerase_iii_tata_box ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A TATA box core promoter of a gene trans ***
- --- *** cribed by RNA polymerase III. ***
- --- ************************************************
- ---
- CREATE VIEW rna_polymerase_iii_tata_box AS
- SELECT
- feature_id AS rna_polymerase_iii_tata_box_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNA_polymerase_III_TATA_box';
- --- ************************************************
- --- *** relation: bred_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A core TRNA polymerase II promoter eleme ***
- --- *** nt with consensus (G/A)T(T/G/A)(T/A)(G/T ***
- --- *** )(T/G)(T/G). ***
- --- ************************************************
- ---
- CREATE VIEW bred_motif AS
- SELECT
- feature_id AS bred_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'BREd_motif';
- --- ************************************************
- --- *** relation: dce ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A discontinuous core element of RNA poly ***
- --- *** merase II transcribed genes, situated do ***
- --- *** wnstream of the TSS. It is composed of t ***
- --- *** hree sub elements: SI, SII and SIII. ***
- --- ************************************************
- ---
- CREATE VIEW dce AS
- SELECT
- feature_id AS dce_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DCE';
- --- ************************************************
- --- *** relation: dce_si ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sub element of the DCE core promoter e ***
- --- *** lement, with consensus sequence CTTC. ***
- --- ************************************************
- ---
- CREATE VIEW dce_si AS
- SELECT
- feature_id AS dce_si_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DCE_SI';
- --- ************************************************
- --- *** relation: dce_sii ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sub element of the DCE core promoter e ***
- --- *** lement with consensus sequence CTGT. ***
- --- ************************************************
- ---
- CREATE VIEW dce_sii AS
- SELECT
- feature_id AS dce_sii_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DCE_SII';
- --- ************************************************
- --- *** relation: dce_siii ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sub element of the DCE core promoter e ***
- --- *** lement with consensus sequence AGC. ***
- --- ************************************************
- ---
- CREATE VIEW dce_siii AS
- SELECT
- feature_id AS dce_siii_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'DCE_SIII';
- --- ************************************************
- --- *** relation: proximal_promoter_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW proximal_promoter_element AS
- SELECT
- feature_id AS proximal_promoter_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'proximal_promoter_element';
- --- ************************************************
- --- *** relation: rnapol_ii_core_promoter ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The minimal portion of the promoter requ ***
- --- *** ired to properly initiate transcription ***
- --- *** in RNA polymerase II transcribed genes. ***
- --- ************************************************
- ---
- CREATE VIEW rnapol_ii_core_promoter AS
- SELECT
- feature_id AS rnapol_ii_core_promoter_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'RNApol_II_core_promoter';
- --- ************************************************
- --- *** relation: distal_promoter_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW distal_promoter_element AS
- SELECT
- feature_id AS distal_promoter_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'distal_promoter_element';
- --- ************************************************
- --- *** relation: bacterial_rnapol_promoter_sigma_70 ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW bacterial_rnapol_promoter_sigma_70 AS
- SELECT
- feature_id AS bacterial_rnapol_promoter_sigma_70_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bacterial_RNApol_promoter_sigma_70';
- --- ************************************************
- --- *** relation: bacterial_rnapol_promoter_sigma54 ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW bacterial_rnapol_promoter_sigma54 AS
- SELECT
- feature_id AS bacterial_rnapol_promoter_sigma54_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'bacterial_RNApol_promoter_sigma54';
- --- ************************************************
- --- *** relation: minus_12_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A conserved region about 12-bp upstream ***
- --- *** of the start point of bacterial transcri ***
- --- *** ption units, involved with sigma factor ***
- --- *** 54. ***
- --- ************************************************
- ---
- CREATE VIEW minus_12_signal AS
- SELECT
- feature_id AS minus_12_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_12_signal';
- --- ************************************************
- --- *** relation: minus_24_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A conserved region about 12-bp upstream ***
- --- *** of the start point of bacterial transcri ***
- --- *** ption units, involved with sigma factor ***
- --- *** 54. ***
- --- ************************************************
- ---
- CREATE VIEW minus_24_signal AS
- SELECT
- feature_id AS minus_24_signal_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'minus_24_signal';
- --- ************************************************
- --- *** relation: a_box_type_1 ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An A box within an RNA polymerase III ty ***
- --- *** pe 1 promoter. ***
- --- ************************************************
- ---
- CREATE VIEW a_box_type_1 AS
- SELECT
- feature_id AS a_box_type_1_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'A_box_type_1';
- --- ************************************************
- --- *** relation: a_box_type_2 ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An A box within an RNA polymerase III ty ***
- --- *** pe 2 promoter. ***
- --- ************************************************
- ---
- CREATE VIEW a_box_type_2 AS
- SELECT
- feature_id AS a_box_type_2_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'A_box_type_2';
- --- ************************************************
- --- *** relation: intermediate_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A core promoter region of RNA polymerase ***
- --- *** III type 1 promoters. ***
- --- ************************************************
- ---
- CREATE VIEW intermediate_element AS
- SELECT
- feature_id AS intermediate_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'intermediate_element';
- --- ************************************************
- --- *** relation: regulatory_promoter_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A promoter element that is not part of t ***
- --- *** he core promoter, but provides the promo ***
- --- *** ter with a specific regulatory region. ***
- --- ************************************************
- ---
- CREATE VIEW regulatory_promoter_element AS
- SELECT
- feature_id AS regulatory_promoter_element_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'proximal_promoter_element' OR cvterm.name = 'distal_promoter_element' OR cvterm.name = 'regulatory_promoter_element';
- --- ************************************************
- --- *** relation: transcription_regulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory region that is involved in ***
- --- *** the control of the process of transcript ***
- --- *** ion. ***
- --- ************************************************
- ---
- CREATE VIEW transcription_regulatory_region AS
- SELECT
- feature_id AS transcription_regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE 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 = 'intronic_regulatory_region' 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 = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'ISRE' 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_II_core_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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'transcription_regulatory_region';
- --- ************************************************
- --- *** relation: translation_regulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory region that is involved in ***
- --- *** the control of the process of translatio ***
- --- *** n. ***
- --- ************************************************
- ---
- CREATE VIEW translation_regulatory_region AS
- SELECT
- feature_id AS translation_regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'attenuator' OR cvterm.name = 'translation_regulatory_region';
- --- ************************************************
- --- *** relation: recombination_regulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory region that is involved in ***
- --- *** the control of the process of recombinat ***
- --- *** ion. ***
- --- ************************************************
- ---
- CREATE VIEW recombination_regulatory_region AS
- SELECT
- feature_id AS recombination_regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'recombination_regulatory_region';
- --- ************************************************
- --- *** relation: replication_regulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regulatory region that is involved in ***
- --- *** the control of the process of nucleotide ***
- --- *** replication. ***
- --- ************************************************
- ---
- CREATE VIEW replication_regulatory_region AS
- SELECT
- feature_id AS replication_regulatory_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'replication_regulatory_region';
- --- ************************************************
- --- *** relation: sequence_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence motif is a nucleotide or amin ***
- --- *** o-acid sequence pattern that may have bi ***
- --- *** ological significance. ***
- --- ************************************************
- ---
- CREATE VIEW sequence_motif AS
- SELECT
- feature_id AS sequence_motif_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'nucleotide_motif' OR cvterm.name = 'DNA_motif' OR cvterm.name = 'RNA_motif' OR cvterm.name = 'PSE_motif' OR cvterm.name = 'CAAT_signal' OR cvterm.name = 'minus_10_signal' OR cvterm.name = 'minus_35_signal' OR cvterm.name = 'DRE_motif' OR cvterm.name = 'E_box_motif' OR cvterm.name = 'INR1_motif' OR cvterm.name = 'GAGA_motif' OR cvterm.name = 'octamer_motif' OR cvterm.name = 'retinoic_acid_responsive_element' OR cvterm.name = 'promoter_element' OR cvterm.name = 'DCE_SI' OR cvterm.name = 'DCE_SII' OR cvterm.name = 'DCE_SIII' OR cvterm.name = 'minus_12_signal' OR cvterm.name = 'minus_24_signal' OR cvterm.name = 'GC_rich_promoter_region' 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 = 'core_promoter_element' OR cvterm.name = 'regulatory_promoter_element' OR cvterm.name = 'INR_motif' OR cvterm.name = 'DPE_motif' OR cvterm.name = 'BREu_motif' OR cvterm.name = 'TATA_box' OR cvterm.name = 'A_box' OR cvterm.name = 'B_box' OR cvterm.name = 'C_box' OR cvterm.name = 'MTE' OR cvterm.name = 'BREd_motif' OR cvterm.name = 'DCE' OR cvterm.name = 'intermediate_element' OR cvterm.name = 'RNA_polymerase_II_TATA_box' OR cvterm.name = 'RNA_polymerase_III_TATA_box' OR cvterm.name = 'A_box_type_1' OR cvterm.name = 'A_box_type_2' OR cvterm.name = 'proximal_promoter_element' OR cvterm.name = 'distal_promoter_element' 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 = 'sequence_motif';
- --- ************************************************
- --- *** relation: experimental_feature_attribute ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute of an experimentally derive ***
- --- *** d feature. ***
- --- ************************************************
- ---
- CREATE VIEW experimental_feature_attribute AS
- SELECT
- feature_id AS experimental_feature_attribute_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'score' OR cvterm.name = 'quality_value' OR cvterm.name = 'experimental_feature_attribute';
- --- ************************************************
- --- *** relation: score ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The score of an experimentally derived f ***
- --- *** eature such as a p-value. ***
- --- ************************************************
- ---
- CREATE VIEW score AS
- SELECT
- feature_id AS score_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'score';
- --- ************************************************
- --- *** relation: quality_value ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An experimental feature attribute that d ***
- --- *** efines the quality of the feature in a q ***
- --- *** uantitative way, such as a phred quality ***
- --- *** score. ***
- --- ************************************************
- ---
- CREATE VIEW quality_value AS
- SELECT
- feature_id AS quality_value_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'quality_value';
- --- ************************************************
- --- *** relation: restriction_enzyme_recognition_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The nucleotide region (usually a palindr ***
- --- *** ome) that is recognized by a restriction ***
- --- *** enzyme. This may or may not be equal to ***
- --- *** the restriction enzyme binding site. ***
- --- ************************************************
- ---
- CREATE VIEW restriction_enzyme_recognition_site AS
- SELECT
- feature_id AS restriction_enzyme_recognition_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'blunt_end_restriction_enzyme_cleavage_site' OR cvterm.name = 'sticky_end_restriction_enzyme_cleavage_site' OR cvterm.name = 'restriction_enzyme_recognition_site';
- --- ************************************************
- --- *** relation: restriction_enzyme_cleavage_junction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The boundary at which a restriction enzy ***
- --- *** me breaks the nucleotide sequence. ***
- --- ************************************************
- ---
- CREATE VIEW restriction_enzyme_cleavage_junction AS
- SELECT
- feature_id AS restriction_enzyme_cleavage_junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'blunt_end_restriction_enzyme_cleavage_junction' OR cvterm.name = 'single_strand_restriction_enzyme_cleavage_site' OR cvterm.name = 'five_prime_restriction_enzyme_junction' OR cvterm.name = 'three_prime_restriction_enzyme_junction' OR cvterm.name = 'restriction_enzyme_cleavage_junction';
- --- ************************************************
- --- *** relation: five_prime_restriction_enzyme_junction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The restriction enzyme cleavage junction ***
- --- *** on the 5' strand of the nucleotide sequ ***
- --- *** ence. ***
- --- ************************************************
- ---
- CREATE VIEW five_prime_restriction_enzyme_junction AS
- SELECT
- feature_id AS five_prime_restriction_enzyme_junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_restriction_enzyme_junction';
- --- ************************************************
- --- *** relation: three_prime_restriction_enzyme_junction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW three_prime_restriction_enzyme_junction AS
- SELECT
- feature_id AS three_prime_restriction_enzyme_junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'three_prime_restriction_enzyme_junction';
- --- ************************************************
- --- *** relation: blunt_end_restriction_enzyme_cleavage_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW blunt_end_restriction_enzyme_cleavage_site AS
- SELECT
- feature_id AS blunt_end_restriction_enzyme_cleavage_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'blunt_end_restriction_enzyme_cleavage_site';
- --- ************************************************
- --- *** relation: sticky_end_restriction_enzyme_cleavage_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW sticky_end_restriction_enzyme_cleavage_site AS
- SELECT
- feature_id AS sticky_end_restriction_enzyme_cleavage_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'sticky_end_restriction_enzyme_cleavage_site';
- --- ************************************************
- --- *** relation: blunt_end_restriction_enzyme_cleavage_junction ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A restriction enzyme cleavage site where ***
- --- *** both strands are cut at the same positi ***
- --- *** on. ***
- --- ************************************************
- ---
- CREATE VIEW blunt_end_restriction_enzyme_cleavage_junction AS
- SELECT
- feature_id AS blunt_end_restriction_enzyme_cleavage_junction_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'blunt_end_restriction_enzyme_cleavage_junction';
- --- ************************************************
- --- *** relation: single_strand_restriction_enzyme_cleavage_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A restriction enzyme cleavage site where ***
- --- *** by only one strand is cut. ***
- --- ************************************************
- ---
- CREATE VIEW single_strand_restriction_enzyme_cleavage_site AS
- SELECT
- feature_id AS single_strand_restriction_enzyme_cleavage_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'five_prime_restriction_enzyme_junction' OR cvterm.name = 'three_prime_restriction_enzyme_junction' OR cvterm.name = 'single_strand_restriction_enzyme_cleavage_site';
- --- ************************************************
- --- *** relation: restriction_enzyme_single_strand_overhang ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A terminal region of DNA sequence where ***
- --- *** the end of the region is not blunt ended ***
- --- *** . ***
- --- ************************************************
- ---
- CREATE VIEW restriction_enzyme_single_strand_overhang AS
- SELECT
- feature_id AS restriction_enzyme_single_strand_overhang_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'restriction_enzyme_single_strand_overhang';
- --- ************************************************
- --- *** relation: experimentally_defined_binding_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region that has been implicated in bin ***
- --- *** ding although the exact coordinates of b ***
- --- *** inding may be unknown. ***
- --- ************************************************
- ---
- CREATE VIEW experimentally_defined_binding_region AS
- SELECT
- feature_id AS experimentally_defined_binding_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CHiP_seq_region' OR cvterm.name = 'experimentally_defined_binding_region';
- --- ************************************************
- --- *** relation: chip_seq_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence identified by CHiP ***
- --- *** seq technology to contain a protein bind ***
- --- *** ing site. ***
- --- ************************************************
- ---
- CREATE VIEW chip_seq_region AS
- SELECT
- feature_id AS chip_seq_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'CHiP_seq_region';
- --- ************************************************
- --- *** relation: aspe_primer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** "A primer containing an SNV at the 3' en ***
- --- *** d for accurate genotyping. ***
- --- ************************************************
- ---
- CREATE VIEW aspe_primer AS
- SELECT
- feature_id AS aspe_primer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ASPE_primer';
- --- ************************************************
- --- *** relation: dcaps_primer ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primer with one or more mis-matches to ***
- --- *** the DNA template corresponding to a pos ***
- --- *** ition within a restriction enzyme recogn ***
- --- *** ition site. ***
- --- ************************************************
- ---
- CREATE VIEW dcaps_primer AS
- SELECT
- feature_id AS dcaps_primer_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'dCAPS_primer';
- --- ************************************************
- --- *** relation: histone_modification ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Histone modification is a post translati ***
- --- *** onally modified region whereby residues ***
- --- *** of the histone protein are modified by m ***
- --- *** ethylation, acetylation, phosphorylation ***
- --- *** , ubiquitination, sumoylation, citrullin ***
- --- *** ation, or ADP-ribosylation. ***
- --- ************************************************
- ---
- CREATE VIEW histone_modification AS
- SELECT
- feature_id AS histone_modification_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' OR cvterm.name = 'histone_modification';
- --- ************************************************
- --- *** relation: histone_methylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A histone modification site where the mo ***
- --- *** dification is the methylation of the res ***
- --- *** idue. ***
- --- ************************************************
- ---
- CREATE VIEW histone_methylation_site AS
- SELECT
- feature_id AS histone_methylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'histone_methylation_site';
- --- ************************************************
- --- *** relation: histone_acetylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A histone modification where the modific ***
- --- *** ation is the acylation of the residue. ***
- --- ************************************************
- ---
- CREATE VIEW histone_acetylation_site AS
- SELECT
- feature_id AS histone_acetylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'histone_acetylation_site';
- --- ************************************************
- --- *** relation: h3k9_acetylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 9th residue (a lysine), from th ***
- --- *** e start of the H3 histone protein is acy ***
- --- *** lated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k9_acetylation_site AS
- SELECT
- feature_id AS h3k9_acetylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K9_acetylation_site';
- --- ************************************************
- --- *** relation: h3k14_acetylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 14th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is ac ***
- --- *** ylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k14_acetylation_site AS
- SELECT
- feature_id AS h3k14_acetylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K14_acetylation_site';
- --- ************************************************
- --- *** relation: h3k4_monomethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification, whereby ***
- --- *** the 4th residue (a lysine), from the sta ***
- --- *** rt of the H3 protein is mono-methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k4_monomethylation_site AS
- SELECT
- feature_id AS h3k4_monomethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K4_monomethylation_site';
- --- ************************************************
- --- *** relation: h3k4_trimethylation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 4th residue (a lysine), from th ***
- --- *** e start of the H3 protein is tri-methyla ***
- --- *** ted. ***
- --- ************************************************
- ---
- CREATE VIEW h3k4_trimethylation AS
- SELECT
- feature_id AS h3k4_trimethylation_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K4_trimethylation';
- --- ************************************************
- --- *** relation: h3k9_trimethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 9th residue (a lysine), from th ***
- --- *** e start of the H3 histone protein is tri ***
- --- *** -methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k9_trimethylation_site AS
- SELECT
- feature_id AS h3k9_trimethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K9_trimethylation_site';
- --- ************************************************
- --- *** relation: h3k27_monomethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 27th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is mo ***
- --- *** no-methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k27_monomethylation_site AS
- SELECT
- feature_id AS h3k27_monomethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K27_monomethylation_site';
- --- ************************************************
- --- *** relation: h3k27_trimethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 27th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is tr ***
- --- *** i-methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k27_trimethylation_site AS
- SELECT
- feature_id AS h3k27_trimethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K27_trimethylation_site';
- --- ************************************************
- --- *** relation: h3k79_monomethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 79th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is mo ***
- --- *** no- methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k79_monomethylation_site AS
- SELECT
- feature_id AS h3k79_monomethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K79_monomethylation_site';
- --- ************************************************
- --- *** relation: h3k79_dimethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 79th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is di ***
- --- *** -methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k79_dimethylation_site AS
- SELECT
- feature_id AS h3k79_dimethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K79_dimethylation_site';
- --- ************************************************
- --- *** relation: h3k79_trimethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 79th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is tr ***
- --- *** i-methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k79_trimethylation_site AS
- SELECT
- feature_id AS h3k79_trimethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K79_trimethylation_site';
- --- ************************************************
- --- *** relation: h4k20_monomethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 20th residue (a lysine), from t ***
- --- *** he start of the H34histone protein is mo ***
- --- *** no-methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h4k20_monomethylation_site AS
- SELECT
- feature_id AS h4k20_monomethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H4K20_monomethylation_site';
- --- ************************************************
- --- *** relation: h2bk5_monomethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 5th residue (a lysine), from th ***
- --- *** e start of the H2B protein is methylated ***
- --- *** . ***
- --- ************************************************
- ---
- CREATE VIEW h2bk5_monomethylation_site AS
- SELECT
- feature_id AS h2bk5_monomethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H2BK5_monomethylation_site';
- --- ************************************************
- --- *** relation: isre ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An ISRE is a transcriptional cis regulat ***
- --- *** ory region, containing the consensus reg ***
- --- *** ion: YAGTTTC(A/T)YTTTYCC, responsible fo ***
- --- *** r increased transcription via interferon ***
- --- *** binding. ***
- --- ************************************************
- ---
- CREATE VIEW isre AS
- SELECT
- feature_id AS isre_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'ISRE';
- --- ************************************************
- --- *** relation: histone_ubiqitination_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A histone modification site where ubiqui ***
- --- *** tin may be added. ***
- --- ************************************************
- ---
- CREATE VIEW histone_ubiqitination_site AS
- SELECT
- feature_id AS histone_ubiqitination_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'histone_ubiqitination_site';
- --- ************************************************
- --- *** relation: h2b_ubiquitination_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A histone modification site on H2B where ***
- --- *** ubiquitin may be added. ***
- --- ************************************************
- ---
- CREATE VIEW h2b_ubiquitination_site AS
- SELECT
- feature_id AS h2b_ubiquitination_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H2B_ubiquitination_site';
- --- ************************************************
- --- *** relation: h3k18_acetylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 14th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is ac ***
- --- *** ylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k18_acetylation_site AS
- SELECT
- feature_id AS h3k18_acetylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K18_acetylation_site';
- --- ************************************************
- --- *** relation: h3k23_acylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification, whereby ***
- --- *** the 23rd residue (a lysine), from the st ***
- --- *** art of the H3 histone protein is acylate ***
- --- *** d. ***
- --- ************************************************
- ---
- CREATE VIEW h3k23_acylation_site AS
- SELECT
- feature_id AS h3k23_acylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K23_acylation site';
- --- ************************************************
- --- *** relation: epigenetically_modified_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A biological region implicated in inheri ***
- --- *** ted changes caused by mechanisms other t ***
- --- *** han changes in the underlying DNA sequen ***
- --- *** ce. ***
- --- ************************************************
- ---
- CREATE VIEW epigenetically_modified_region AS
- SELECT
- feature_id AS epigenetically_modified_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'modified_base' OR cvterm.name = 'epigenetically_modified_gene' OR cvterm.name = 'histone_modification' OR cvterm.name = 'methylated_base_feature' OR cvterm.name = 'methylated_C' OR cvterm.name = 'methylated_A' 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 = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' OR cvterm.name = 'epigenetically_modified_region';
- --- ************************************************
- --- *** relation: h3k27_acylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 27th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is ac ***
- --- *** ylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k27_acylation_site AS
- SELECT
- feature_id AS h3k27_acylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K27_acylation_site';
- --- ************************************************
- --- *** relation: h3k36_monomethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 36th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is mo ***
- --- *** no-methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k36_monomethylation_site AS
- SELECT
- feature_id AS h3k36_monomethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K36_monomethylation_site';
- --- ************************************************
- --- *** relation: h3k36_dimethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 36th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is di ***
- --- *** methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k36_dimethylation_site AS
- SELECT
- feature_id AS h3k36_dimethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K36_dimethylation_site';
- --- ************************************************
- --- *** relation: h3k36_trimethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 36th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is tr ***
- --- *** i-methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k36_trimethylation_site AS
- SELECT
- feature_id AS h3k36_trimethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K36_trimethylation_site';
- --- ************************************************
- --- *** relation: h3k4_dimethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 4th residue (a lysine), from th ***
- --- *** e start of the H3 histone protein is di- ***
- --- *** methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k4_dimethylation_site AS
- SELECT
- feature_id AS h3k4_dimethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K4_dimethylation_site';
- --- ************************************************
- --- *** relation: h3k27_dimethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 27th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is di ***
- --- *** -methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k27_dimethylation_site AS
- SELECT
- feature_id AS h3k27_dimethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K27_dimethylation_site';
- --- ************************************************
- --- *** relation: h3k9_monomethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 9th residue (a lysine), from th ***
- --- *** e start of the H3 histone protein is mon ***
- --- *** o-methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k9_monomethylation_site AS
- SELECT
- feature_id AS h3k9_monomethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K9_monomethylation_site';
- --- ************************************************
- --- *** relation: h3k9_dimethylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 9th residue (a lysine), from th ***
- --- *** e start of the H3 histone protein may be ***
- --- *** dimethylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k9_dimethylation_site AS
- SELECT
- feature_id AS h3k9_dimethylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K9_dimethylation_site';
- --- ************************************************
- --- *** relation: h4k16_acylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 16th residue (a lysine), from t ***
- --- *** he start of the H4 histone protein is ac ***
- --- *** ylated. ***
- --- ************************************************
- ---
- CREATE VIEW h4k16_acylation_site AS
- SELECT
- feature_id AS h4k16_acylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H4K16_acylation_site';
- --- ************************************************
- --- *** relation: h4k5_acylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 5th residue (a lysine), from th ***
- --- *** e start of the H4 histone protein is acy ***
- --- *** lated. ***
- --- ************************************************
- ---
- CREATE VIEW h4k5_acylation_site AS
- SELECT
- feature_id AS h4k5_acylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H4K5_acylation_site';
- --- ************************************************
- --- *** relation: h4k8_acylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 8th residue (a lysine), from th ***
- --- *** e start of the H4 histone protein is acy ***
- --- *** lated. ***
- --- ************************************************
- ---
- CREATE VIEW h4k8_acylation_site AS
- SELECT
- feature_id AS h4k8_acylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H4K8_acylation site';
- --- ************************************************
- --- *** relation: h3k27_methylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 27th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is me ***
- --- *** thylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k27_methylation_site AS
- SELECT
- feature_id AS h3k27_methylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K27_methylation_site';
- --- ************************************************
- --- *** relation: h3k36_methylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 36th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is me ***
- --- *** thylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k36_methylation_site AS
- SELECT
- feature_id AS h3k36_methylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K36_methylation_site';
- --- ************************************************
- --- *** relation: h3k4_methylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification, whereby ***
- --- *** the 4th residue (a lysine), from the sta ***
- --- *** rt of the H3 protein is methylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k4_methylation_site AS
- SELECT
- feature_id AS h3k4_methylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K4_methylation_site';
- --- ************************************************
- --- *** relation: h3k79_methylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 79th residue (a lysine), from t ***
- --- *** he start of the H3 histone protein is me ***
- --- *** thylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k79_methylation_site AS
- SELECT
- feature_id AS h3k79_methylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K79_methylation_site';
- --- ************************************************
- --- *** relation: h3k9_methylation_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of histone modification site, whe ***
- --- *** reby the 9th residue (a lysine), from th ***
- --- *** e start of the H3 histone protein is met ***
- --- *** hylated. ***
- --- ************************************************
- ---
- CREATE VIEW h3k9_methylation_site AS
- SELECT
- feature_id AS h3k9_methylation_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_methylation_site';
- --- ************************************************
- --- *** relation: histone_acylation_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A histone modification, whereby the hist ***
- --- *** one protein is acylated at multiple site ***
- --- *** s in a region. ***
- --- ************************************************
- ---
- CREATE VIEW histone_acylation_region AS
- SELECT
- feature_id AS histone_acylation_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H4K_acylation_region' OR cvterm.name = 'histone_acylation_region';
- --- ************************************************
- --- *** relation: h4k_acylation_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of the H4 histone whereby multi ***
- --- *** ple lysines are acylated. ***
- --- ************************************************
- ---
- CREATE VIEW h4k_acylation_region AS
- SELECT
- feature_id AS h4k_acylation_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'H4K_acylation_region';
- --- ************************************************
- --- *** relation: gene_with_non_canonical_start_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene with a start codon other than AUG ***
- --- *** . ***
- --- ************************************************
- ---
- CREATE VIEW gene_with_non_canonical_start_codon AS
- SELECT
- feature_id AS gene_with_non_canonical_start_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_start_codon_CUG' OR cvterm.name = 'gene_with_non_canonical_start_codon';
- --- ************************************************
- --- *** relation: gene_with_start_codon_cug ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene with a translational start codon ***
- --- *** of CUG. ***
- --- ************************************************
- ---
- CREATE VIEW gene_with_start_codon_cug AS
- SELECT
- feature_id AS gene_with_start_codon_cug_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'gene_with_start_codon_CUG';
- --- ************************************************
- --- *** relation: pseudogenic_gene_segment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene segment which when incorporated b ***
- --- *** y somatic recombination in the final gen ***
- --- *** e transcript results in a nonfunctional ***
- --- *** product. ***
- --- ************************************************
- ---
- CREATE VIEW pseudogenic_gene_segment AS
- SELECT
- feature_id AS pseudogenic_gene_segment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudogenic_gene_segment';
- --- ************************************************
- --- *** relation: copy_number_gain ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence alteration whereby the copy n ***
- --- *** umber of a given regions is greater than ***
- --- *** the reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW copy_number_gain AS
- SELECT
- feature_id AS copy_number_gain_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'copy_number_gain';
- --- ************************************************
- --- *** relation: copy_number_loss ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence alteration whereby the copy n ***
- --- *** umber of a given region is less than the ***
- --- *** reference sequence. ***
- --- ************************************************
- ---
- CREATE VIEW copy_number_loss AS
- SELECT
- feature_id AS copy_number_loss_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'copy_number_loss';
- --- ************************************************
- --- *** relation: upd ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Uniparental disomy is a sequence_alterat ***
- --- *** ion where a diploid individual receives ***
- --- *** two copies for all or part of a chromoso ***
- --- *** me from one parent and no copies of the ***
- --- *** same chromosome or region from the other ***
- --- *** parent. ***
- --- ************************************************
- ---
- CREATE VIEW upd AS
- SELECT
- feature_id AS upd_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'maternal_uniparental_disomy' OR cvterm.name = 'paternal_uniparental_disomy' OR cvterm.name = 'UPD';
- --- ************************************************
- --- *** relation: maternal_uniparental_disomy ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Uniparental disomy is a sequence_alterat ***
- --- *** ion where a diploid individual receives ***
- --- *** two copies for all or part of a chromoso ***
- --- *** me from the mother and no copies of the ***
- --- *** same chromosome or region from the fathe ***
- --- *** r. ***
- --- ************************************************
- ---
- CREATE VIEW maternal_uniparental_disomy AS
- SELECT
- feature_id AS maternal_uniparental_disomy_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'maternal_uniparental_disomy';
- --- ************************************************
- --- *** relation: paternal_uniparental_disomy ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Uniparental disomy is a sequence_alterat ***
- --- *** ion where a diploid individual receives ***
- --- *** two copies for all or part of a chromoso ***
- --- *** me from the father and no copies of the ***
- --- *** same chromosome or region from the mothe ***
- --- *** r. ***
- --- ************************************************
- ---
- CREATE VIEW paternal_uniparental_disomy AS
- SELECT
- feature_id AS paternal_uniparental_disomy_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paternal_uniparental_disomy';
- --- ************************************************
- --- *** relation: open_chromatin_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A DNA sequence that in the normal state ***
- --- *** of the chromosome corresponds to an unfo ***
- --- *** lded, un-complexed stretch of double-str ***
- --- *** anded DNA. ***
- --- ************************************************
- ---
- CREATE VIEW open_chromatin_region AS
- SELECT
- feature_id AS open_chromatin_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'open_chromatin_region';
- --- ************************************************
- --- *** relation: sl3_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 3 RNA leader sequence to the 5' end of a ***
- --- *** n mRNA. SL3 acceptor sites occur in gene ***
- --- *** s in internal segments of polycistronic ***
- --- *** transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl3_acceptor_site AS
- SELECT
- feature_id AS sl3_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL3_acceptor_site';
- --- ************************************************
- --- *** relation: sl4_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 4 RNA leader sequence to the 5' end of a ***
- --- *** n mRNA. SL4 acceptor sites occur in gene ***
- --- *** s in internal segments of polycistronic ***
- --- *** transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl4_acceptor_site AS
- SELECT
- feature_id AS sl4_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL4_acceptor_site';
- --- ************************************************
- --- *** relation: sl5_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 5 RNA leader sequence to the 5' end of a ***
- --- *** n mRNA. SL5 acceptor sites occur in gene ***
- --- *** s in internal segments of polycistronic ***
- --- *** transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl5_acceptor_site AS
- SELECT
- feature_id AS sl5_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL5_acceptor_site';
- --- ************************************************
- --- *** relation: sl6_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 6 RNA leader sequence to the 5' end of a ***
- --- *** n mRNA. SL6 acceptor sites occur in gene ***
- --- *** s in internal segments of polycistronic ***
- --- *** transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl6_acceptor_site AS
- SELECT
- feature_id AS sl6_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL6_acceptor_site';
- --- ************************************************
- --- *** relation: sl7_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 7 RNA leader sequence to the 5' end of a ***
- --- *** n mRNA. SL7 acceptor sites occur in gene ***
- --- *** s in internal segments of polycistronic ***
- --- *** transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl7_acceptor_site AS
- SELECT
- feature_id AS sl7_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL7_acceptor_site';
- --- ************************************************
- --- *** relation: sl8_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 8 RNA leader sequence to the 5' end of a ***
- --- *** n mRNA. SL8 acceptor sites occur in gene ***
- --- *** s in internal segments of polycistronic ***
- --- *** transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl8_acceptor_site AS
- SELECT
- feature_id AS sl8_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL8_acceptor_site';
- --- ************************************************
- --- *** relation: sl9_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 9 RNA leader sequence to the 5' end of a ***
- --- *** n mRNA. SL9 acceptor sites occur in gene ***
- --- *** s in internal segments of polycistronic ***
- --- *** transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl9_acceptor_site AS
- SELECT
- feature_id AS sl9_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL9_acceptor_site';
- --- ************************************************
- --- *** relation: sl10_accceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 10 RNA leader sequence to the 5' end of ***
- --- *** an mRNA. SL10 acceptor sites occur in ge ***
- --- *** nes in internal segments of polycistroni ***
- --- *** c transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl10_accceptor_site AS
- SELECT
- feature_id AS sl10_accceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL10_accceptor_site';
- --- ************************************************
- --- *** relation: sl11_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 11 RNA leader sequence to the 5' end of ***
- --- *** an mRNA. SL11 acceptor sites occur in ge ***
- --- *** nes in internal segments of polycistroni ***
- --- *** c transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl11_acceptor_site AS
- SELECT
- feature_id AS sl11_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL11_acceptor_site';
- --- ************************************************
- --- *** relation: sl12_acceptor_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A SL2_acceptor_site which appends the SL ***
- --- *** 12 RNA leader sequence to the 5' end of ***
- --- *** an mRNA. SL12 acceptor sites occur in ge ***
- --- *** nes in internal segments of polycistroni ***
- --- *** c transcripts. ***
- --- ************************************************
- ---
- CREATE VIEW sl12_acceptor_site AS
- SELECT
- feature_id AS sl12_acceptor_site_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'SL12_acceptor_site';
- --- ************************************************
- --- *** relation: duplicated_pseudogene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A pseudogene that arose via gene duplica ***
- --- *** tion. Generally duplicated pseudogenes h ***
- --- *** ave the same structure as the original g ***
- --- *** ene, including intron-exon structure and ***
- --- *** some regulatory sequence. ***
- --- ************************************************
- ---
- CREATE VIEW duplicated_pseudogene AS
- SELECT
- feature_id AS duplicated_pseudogene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'duplicated_pseudogene';
- --- ************************************************
- --- *** relation: unitary_pseudogene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A pseudogene, deactivated from original ***
- --- *** state by mutation, fixed in a population ***
- --- *** . ***
- --- ************************************************
- ---
- CREATE VIEW unitary_pseudogene AS
- SELECT
- feature_id AS unitary_pseudogene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unitary_pseudogene';
- --- ************************************************
- --- *** relation: non_processed_pseudogene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A pseudogene that arose from a means oth ***
- --- *** er than retrotransposition. ***
- --- ************************************************
- ---
- CREATE VIEW non_processed_pseudogene AS
- SELECT
- feature_id AS non_processed_pseudogene_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pseudogene_by_unequal_crossing_over' OR cvterm.name = 'nuclear_mt_pseudogene' OR cvterm.name = 'cassette_pseudogene' OR cvterm.name = 'duplicated_pseudogene' OR cvterm.name = 'unitary_pseudogene' OR cvterm.name = 'non_processed_pseudogene';
- --- ************************************************
- --- *** relation: variant_quality ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A dependent entity that inheres in a bea ***
- --- *** rer, a sequence variant. ***
- --- ************************************************
- ---
- CREATE VIEW variant_quality AS
- SELECT
- feature_id AS variant_quality_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'variant_origin' OR cvterm.name = 'variant_frequency' OR cvterm.name = 'variant_phenotype' OR cvterm.name = 'maternal_variant' OR cvterm.name = 'paternal_variant' OR cvterm.name = 'somatic_variant' OR cvterm.name = 'germline_variant' OR cvterm.name = 'pedigree_specific_variant' OR cvterm.name = 'population_specific_variant' OR cvterm.name = 'de_novo_variant' OR cvterm.name = 'unique_variant' OR cvterm.name = 'rare_variant' OR cvterm.name = 'polymorphic_variant' OR cvterm.name = 'common_variant' OR cvterm.name = 'fixed_variant' OR cvterm.name = 'benign_variant' OR cvterm.name = 'disease_associated_variant' OR cvterm.name = 'disease_causing_variant' OR cvterm.name = 'lethal_variant' OR cvterm.name = 'quantitative_variant' OR cvterm.name = 'variant_quality';
- --- ************************************************
- --- *** relation: variant_origin ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A quality inhering in a variant by virtu ***
- --- *** e of its origin. ***
- --- ************************************************
- ---
- CREATE VIEW variant_origin AS
- SELECT
- feature_id AS variant_origin_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'maternal_variant' OR cvterm.name = 'paternal_variant' OR cvterm.name = 'somatic_variant' OR cvterm.name = 'germline_variant' OR cvterm.name = 'pedigree_specific_variant' OR cvterm.name = 'population_specific_variant' OR cvterm.name = 'de_novo_variant' OR cvterm.name = 'variant_origin';
- --- ************************************************
- --- *** relation: variant_frequency ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A physical quality which inheres to the ***
- --- *** variant by virtue of the number instance ***
- --- *** s of the variant within a population. ***
- --- ************************************************
- ---
- CREATE VIEW variant_frequency AS
- SELECT
- feature_id AS variant_frequency_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unique_variant' OR cvterm.name = 'rare_variant' OR cvterm.name = 'polymorphic_variant' OR cvterm.name = 'common_variant' OR cvterm.name = 'fixed_variant' OR cvterm.name = 'variant_frequency';
- --- ************************************************
- --- *** relation: unique_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A physical quality which inheres to the ***
- --- *** variant by virtue of the number instance ***
- --- *** s of the variant within a population. ***
- --- ************************************************
- ---
- CREATE VIEW unique_variant AS
- SELECT
- feature_id AS unique_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unique_variant';
- --- ************************************************
- --- *** relation: rare_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW rare_variant AS
- SELECT
- feature_id AS rare_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'rare_variant';
- --- ************************************************
- --- *** relation: polymorphic_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW polymorphic_variant AS
- SELECT
- feature_id AS polymorphic_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'polymorphic_variant';
- --- ************************************************
- --- *** relation: common_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW common_variant AS
- SELECT
- feature_id AS common_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'common_variant';
- --- ************************************************
- --- *** relation: fixed_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW fixed_variant AS
- SELECT
- feature_id AS fixed_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'fixed_variant';
- --- ************************************************
- --- *** relation: variant_phenotype ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A quality inhering in a variant by virtu ***
- --- *** e of its phenotype. ***
- --- ************************************************
- ---
- CREATE VIEW variant_phenotype AS
- SELECT
- feature_id AS variant_phenotype_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'benign_variant' OR cvterm.name = 'disease_associated_variant' OR cvterm.name = 'disease_causing_variant' OR cvterm.name = 'lethal_variant' OR cvterm.name = 'quantitative_variant' OR cvterm.name = 'variant_phenotype';
- --- ************************************************
- --- *** relation: benign_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW benign_variant AS
- SELECT
- feature_id AS benign_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'benign_variant';
- --- ************************************************
- --- *** relation: disease_associated_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW disease_associated_variant AS
- SELECT
- feature_id AS disease_associated_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'disease_associated_variant';
- --- ************************************************
- --- *** relation: disease_causing_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW disease_causing_variant AS
- SELECT
- feature_id AS disease_causing_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'disease_causing_variant';
- --- ************************************************
- --- *** relation: lethal_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW lethal_variant AS
- SELECT
- feature_id AS lethal_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'lethal_variant';
- --- ************************************************
- --- *** relation: quantitative_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW quantitative_variant AS
- SELECT
- feature_id AS quantitative_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'quantitative_variant';
- --- ************************************************
- --- *** relation: maternal_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW maternal_variant AS
- SELECT
- feature_id AS maternal_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'maternal_variant';
- --- ************************************************
- --- *** relation: paternal_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW paternal_variant AS
- SELECT
- feature_id AS paternal_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paternal_variant';
- --- ************************************************
- --- *** relation: somatic_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW somatic_variant AS
- SELECT
- feature_id AS somatic_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'somatic_variant';
- --- ************************************************
- --- *** relation: germline_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW germline_variant AS
- SELECT
- feature_id AS germline_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'germline_variant';
- --- ************************************************
- --- *** relation: pedigree_specific_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW pedigree_specific_variant AS
- SELECT
- feature_id AS pedigree_specific_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'pedigree_specific_variant';
- --- ************************************************
- --- *** relation: population_specific_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW population_specific_variant AS
- SELECT
- feature_id AS population_specific_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'population_specific_variant';
- --- ************************************************
- --- *** relation: de_novo_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW de_novo_variant AS
- SELECT
- feature_id AS de_novo_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'de_novo_variant';
- --- ************************************************
- --- *** relation: tf_binding_site_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant located within a tran ***
- --- *** scription factor binding site. ***
- --- ************************************************
- ---
- CREATE VIEW tf_binding_site_variant AS
- SELECT
- feature_id AS tf_binding_site_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'TF_binding_site_variant';
- --- ************************************************
- --- *** relation: missense_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant whereby at least one ***
- --- *** base of a codon is changed resulting in ***
- --- *** a codon that encodes for a different ami ***
- --- *** no acid. ***
- --- ************************************************
- ---
- CREATE VIEW missense_codon AS
- SELECT
- feature_id AS missense_codon_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'conservative_missense_codon' OR cvterm.name = 'non_conservative_missense_codon' OR cvterm.name = 'missense_codon';
- --- ************************************************
- --- *** relation: complex_structural_alteration ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A structural sequence alteration where t ***
- --- *** here are multiple equally plausible expl ***
- --- *** anations for the change. ***
- --- ************************************************
- ---
- CREATE VIEW complex_structural_alteration AS
- SELECT
- feature_id AS complex_structural_alteration_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'complex_structural_alteration';
- --- ************************************************
- --- *** relation: structural_alteration ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW structural_alteration AS
- SELECT
- feature_id AS structural_alteration_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'complex_structural_alteration' OR cvterm.name = 'structural_alteration';
- --- ************************************************
- --- *** relation: loss_of_heterozygosity ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- CREATE VIEW loss_of_heterozygosity AS
- SELECT
- feature_id AS loss_of_heterozygosity_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'loss_of_heterozygosity';
- --- ************************************************
- --- *** relation: splice_donor_5th_base_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that causes a change ***
- --- *** at the 5th base pair after the start of ***
- --- *** the intron in the orientation of the tra ***
- --- *** nscript. ***
- --- ************************************************
- ---
- CREATE VIEW splice_donor_5th_base_variant AS
- SELECT
- feature_id AS splice_donor_5th_base_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'splice_donor_5th_base_variant';
- --- ************************************************
- --- *** relation: u_box ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An U-box is a conserved T-rich region up ***
- --- *** stream of a retroviral polypurine tract ***
- --- *** that is involved in PPT primer creation ***
- --- *** during reverse transcription. ***
- --- ************************************************
- ---
- CREATE VIEW u_box AS
- SELECT
- feature_id AS u_box_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'U_box';
- --- ************************************************
- --- *** relation: mating_type_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A specialized region in the genomes of s ***
- --- *** ome yeast and fungi, the genes of which ***
- --- *** regulate mating type. ***
- --- ************************************************
- ---
- CREATE VIEW mating_type_region AS
- SELECT
- feature_id AS mating_type_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'mating_type_region';
- --- ************************************************
- --- *** relation: paired_end_fragment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An assembly region that has been sequenc ***
- --- *** ed from both ends resulting in a read_pa ***
- --- *** ir (mate_pair). ***
- --- ************************************************
- ---
- CREATE VIEW paired_end_fragment AS
- SELECT
- feature_id AS paired_end_fragment_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'paired_end_fragment';
- --- ************************************************
- --- *** relation: exon_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes exon seq ***
- --- *** uence. ***
- --- ************************************************
- ---
- CREATE VIEW exon_variant AS
- SELECT
- feature_id AS exon_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'coding_sequence_variant' OR cvterm.name = 'non_coding_exon_variant' OR cvterm.name = 'codon_variant' OR cvterm.name = 'frameshift_variant' OR cvterm.name = 'inframe_variant' OR cvterm.name = 'initiator_codon_change' OR cvterm.name = 'non_synonymous_codon' OR cvterm.name = 'synonymous_codon' OR cvterm.name = 'terminal_codon_variant' OR cvterm.name = 'stop_gained' OR cvterm.name = 'missense_codon' OR cvterm.name = 'conservative_missense_codon' OR cvterm.name = 'non_conservative_missense_codon' OR cvterm.name = 'terminator_codon_variant' OR cvterm.name = 'incomplete_terminal_codon_variant' OR cvterm.name = 'stop_retained_variant' OR cvterm.name = 'stop_lost' OR cvterm.name = 'frame_restoring_variant' OR cvterm.name = 'minus_1_frameshift_variant' OR cvterm.name = 'minus_2_frameshift_variant' OR cvterm.name = 'plus_1_frameshift_variant' OR cvterm.name = 'plus_2_frameshift variant' OR cvterm.name = 'inframe_codon_gain' OR cvterm.name = 'inframe_codon_loss' OR cvterm.name = 'exon_variant';
- --- ************************************************
- --- *** relation: non_coding_exon_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence variant that changes non-codi ***
- --- *** ng exon sequence. ***
- --- ************************************************
- ---
- CREATE VIEW non_coding_exon_variant AS
- SELECT
- feature_id AS non_coding_exon_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'non_coding_exon_variant';
- --- ************************************************
- --- *** relation: clone_end ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A read from an end of the clone sequence ***
- --- *** . ***
- --- ************************************************
- ---
- CREATE VIEW clone_end AS
- SELECT
- feature_id AS clone_end_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'clone_end';
- --- ************************************************
- --- *** relation: point_centromere ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A point centromere is a relatively small ***
- --- *** centromere (about 125 bp DNA) in discre ***
- --- *** te sequence, found in some yeast includi ***
- --- *** ng S. cerevisiae. ***
- --- ************************************************
- ---
- CREATE VIEW point_centromere AS
- SELECT
- feature_id AS point_centromere_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'point_centromere';
- --- ************************************************
- --- *** relation: regional_centromere ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A regional centromere is a large modular ***
- --- *** centromere found in fission yeast and h ***
- --- *** igher eukaryotes. It consist of a centra ***
- --- *** l core region flanked by inverted inner ***
- --- *** and outer repeat regions. ***
- --- ************************************************
- ---
- CREATE VIEW regional_centromere AS
- SELECT
- feature_id AS regional_centromere_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'regional_centromere';
- --- ************************************************
- --- *** relation: regional_centromere_central_core ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A conserved region within the central re ***
- --- *** gion of a modular centromere, where the ***
- --- *** kinetochore is formed. ***
- --- ************************************************
- ---
- CREATE VIEW regional_centromere_central_core AS
- SELECT
- feature_id AS regional_centromere_central_core_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'regional_centromere_central_core';
- --- ************************************************
- --- *** relation: centromeric_repeat ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A repeat region found within the modular ***
- --- *** centromere. ***
- --- ************************************************
- ---
- CREATE VIEW centromeric_repeat AS
- SELECT
- feature_id AS centromeric_repeat_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'regional_centromere_inner_repeat_region' OR cvterm.name = 'regional_centromere_outer_repeat_region' OR cvterm.name = 'centromeric_repeat';
- --- ************************************************
- --- *** relation: regional_centromere_inner_repeat_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The inner repeat region of a modular cen ***
- --- *** tromere. This region is adjacent to the ***
- --- *** central core, on each chromosome arm. ***
- --- ************************************************
- ---
- CREATE VIEW regional_centromere_inner_repeat_region AS
- SELECT
- feature_id AS regional_centromere_inner_repeat_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'regional_centromere_inner_repeat_region';
- --- ************************************************
- --- *** relation: regional_centromere_outer_repeat_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The heterochromatic outer repeat region ***
- --- *** of a modular centromere. These repeats e ***
- --- *** xist in tandem arrays on both chromosome ***
- --- *** arms. ***
- --- ************************************************
- ---
- CREATE VIEW regional_centromere_outer_repeat_region AS
- SELECT
- feature_id AS regional_centromere_outer_repeat_region_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'regional_centromere_outer_repeat_region';
- --- ************************************************
- --- *** relation: tasirna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence of a 21 nucleotide double s ***
- --- *** tranded, polyadenylated non coding RNA, ***
- --- *** transcribed from the TAS gene. ***
- --- ************************************************
- ---
- CREATE VIEW tasirna AS
- SELECT
- feature_id AS tasirna_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tasiRNA';
- --- ************************************************
- --- *** relation: tasirna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding a tasiRNA. ***
- --- ************************************************
- ---
- CREATE VIEW tasirna_primary_transcript AS
- SELECT
- feature_id AS tasirna_primary_transcript_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tasiRNA_primary_transcript';
- --- ************************************************
- --- *** relation: increased_polyadenylation_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript processing variant whereby ***
- --- *** polyadenylation of the encoded transcrip ***
- --- *** t is increased with respect to the refer ***
- --- *** ence. ***
- --- ************************************************
- ---
- CREATE VIEW increased_polyadenylation_variant AS
- SELECT
- feature_id AS increased_polyadenylation_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'increased_polyadenylation_variant';
- --- ************************************************
- --- *** relation: decreased_polyadenylation_variant ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript processing variant whereby ***
- --- *** polyadenylation of the encoded transcrip ***
- --- *** t is decreased with respect to the refer ***
- --- *** ence. ***
- --- ************************************************
- ---
- CREATE VIEW decreased_polyadenylation_variant AS
- SELECT
- feature_id AS decreased_polyadenylation_variant_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'decreased_polyadenylation_variant';
- --- ************************************************
- --- *** relation: regulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of sequence that is involved in ***
- --- *** the control of a biological process. ***
- --- ************************************************
- ---
- 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 = 'transcription_regulatory_region' OR cvterm.name = 'translation_regulatory_region' OR cvterm.name = 'recombination_regulatory_region' OR cvterm.name = 'replication_regulatory_region' 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 = 'intronic_regulatory_region' 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 = 'operator' OR cvterm.name = 'bacterial_RNApol_promoter' OR cvterm.name = 'bacterial_terminator' OR cvterm.name = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'ISRE' 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_II_core_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 = 'bacterial_RNApol_promoter_sigma_70' OR cvterm.name = 'bacterial_RNApol_promoter_sigma54' 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 = 'silencer' OR cvterm.name = 'enhancer_bound_by_factor' OR cvterm.name = 'shadow_enhancer' OR cvterm.name = 'splice_enhancer' OR cvterm.name = 'intronic_splice_enhancer' OR cvterm.name = 'exonic_splice_enhancer' OR cvterm.name = 'attenuator' OR cvterm.name = 'regulatory_region';
- --- ************************************************
- --- *** relation: u14_snorna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The primary transcript of an evolutionar ***
- --- *** ily conserved eukaryotic low molecular w ***
- --- *** eight RNA capable of intermolecular hybr ***
- --- *** idization with both homologous and heter ***
- --- *** ologous 18S rRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: methylation_guide_snorna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A snoRNA that specifies the site of 2'-O ***
- --- *** -ribose methylation in an RNA molecule b ***
- --- *** y base pairing with a short sequence aro ***
- --- *** und the target residue. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: rrna_cleavage_rna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An ncRNA that is part of a ribonucleopro ***
- --- *** tein that cleaves the primary pre-rRNA t ***
- --- *** ranscript in the process of producing ma ***
- --- *** ture rRNA molecules. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: exon_of_single_exon_gene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An exon that is the only exon in a gene. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cassette_array_member ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_cassette_member ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_subarray_member ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: primer_binding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Non-covalent primer binding site for ini ***
- --- *** tiation of replication, transcription, o ***
- --- *** r reverse transcription. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_array ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An array includes two or more genes, or ***
- --- *** two or more gene subarrays, contiguously ***
- --- *** arranged where the individual genes, or ***
- --- *** subarrays, are either identical in sequ ***
- --- *** ence, or essentially so. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_subarray ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A subarray is, by defintition, a member ***
- --- *** of a gene array (SO:0005851); the member ***
- --- *** s of a subarray may differ substantially ***
- --- *** in sequence, but are closely related in ***
- --- *** function. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_cassette ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that can be substituted for a rel ***
- --- *** ated gene at a different site in the gen ***
- --- *** ome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_cassette_array ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An array of non-functional genes whose m ***
- --- *** embers, when captured by recombination f ***
- --- *** orm functional genes. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_group ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A collection of related genes. ***
- --- ************************************************
- ---
- 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 = 'mating_type_region' 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';
- --- ************************************************
- --- *** relation: selenocysteine_trna_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript encoding seryl tRNA ***
- --- *** (SO:000269). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: selenocysteinyl_trna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tRNA sequence that has a selenocystein ***
- --- *** e anticodon, and a 3' selenocysteine bin ***
- --- *** ding region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: syntenic_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region in which two or more pairs of h ***
- --- *** omologous markers occur on the same chro ***
- --- *** mosome in two or more species. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: biochemical_region_of_peptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of a peptide that is involved i ***
- --- *** n a biochemical function. ***
- --- ************************************************
- ---
- 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 = 'histone_modification' OR cvterm.name = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' 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';
- --- ************************************************
- --- *** relation: molecular_contact_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region that is involved a contact with ***
- --- *** another molecule. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: intrinsically_unstructured_polypeptide_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A region of polypeptide chain with high ***
- --- *** conformational flexibility. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: catmat_left_handed_three ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of 3 consecutive residues with d ***
- --- *** ihedral angles as follows: res i: phi -9 ***
- --- *** 0 bounds -120 to -60, res i: psi -10 bou ***
- --- *** nds -50 to 30, res i+1: phi -75 bounds - ***
- --- *** 100 to -50, res i+1: psi 140 bounds 110 ***
- --- *** to 170. An extra restriction of the leng ***
- --- *** th of the O to O distance would be usefu ***
- --- *** l, that it be less than 5 Angstrom. More ***
- --- *** precisely these two oxygens are the mai ***
- --- *** n chain carbonyl oxygen atoms of residue ***
- --- *** s i-1 and i+1. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: catmat_left_handed_four ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of 4 consecutive residues with d ***
- --- *** ihedral angles as follows: res i: phi -9 ***
- --- *** 0 bounds -120 to -60, res i psi -10 boun ***
- --- *** ds -50 to 30, res i+1: phi -90 bounds -1 ***
- --- *** 20 to -60, res i+1: psi -10 bounds -50 t ***
- --- *** o 30, res i+2: phi -75 bounds -100 to -5 ***
- --- *** 0, res i+2: psi 140 bounds 110 to 170. ***
- --- *** The extra restriction of the length of t ***
- --- *** he O to O distance is similar, that it b ***
- --- *** e less than 5 Angstrom. In this case the ***
- --- *** se two Oxygen atoms are the main chain c ***
- --- *** arbonyl oxygen atoms of residues i-1 and ***
- --- *** i+2. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: catmat_right_handed_three ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of 3 consecutive residues with d ***
- --- *** ihedral angles as follows: res i: phi -9 ***
- --- *** 0 bounds -120 to -60, res i: psi -10 bou ***
- --- *** nds -50 to 30, res i+1: phi -75 bounds - ***
- --- *** 100 to -50, res i+1: psi 140 bounds 110 ***
- --- *** to 170. An extra restriction of the leng ***
- --- *** th of the O to O distance would be usefu ***
- --- *** l, that it be less than 5 Angstrom. More ***
- --- *** precisely these two oxygens are the mai ***
- --- *** n chain carbonyl oxygen atoms of residue ***
- --- *** s i-1 and i+1. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: catmat_right_handed_four ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of 4 consecutive residues with d ***
- --- *** ihedral angles as follows: res i: phi -9 ***
- --- *** 0 bounds -120 to -60, res i: psi -10 bou ***
- --- *** nds -50 to 30, res i+1: phi -90 bounds - ***
- --- *** 120 to -60, res i+1: psi -10 bounds -50 ***
- --- *** to 30, res i+2: phi -75 bounds -100 to - ***
- --- *** 50, res i+2: psi 140 bounds 110 to 170. ***
- --- *** The extra restriction of the length of t ***
- --- *** he O to O distance is similar, that it b ***
- --- *** e less than 5 Angstrom. In this case the ***
- --- *** se two Oxygen atoms are the main chain c ***
- --- *** arbonyl oxygen atoms of residues i-1 and ***
- --- *** i+2. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: alpha_beta_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A motif of five consecutive residues and ***
- --- *** two H-bonds in which: H-bond between CO ***
- --- *** of residue(i) and NH of residue(i+4), H ***
- --- *** -bond between CO of residue(i) and NH of ***
- --- *** residue(i+3),Phi angles of residues(i+1 ***
- --- *** ), (i+2) and (i+3) are negative. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: lipoprotein_signal_peptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A peptide that acts as a signal for both ***
- --- *** membrane translocation and lipid attach ***
- --- *** ment in prokaryotes. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: no_output ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An experimental region wherean analysis ***
- --- *** has been run and not produced any annota ***
- --- *** tion. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cleaved_peptide_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The cleaved_peptide_regon is the a regio ***
- --- *** n of peptide sequence that is cleaved du ***
- --- *** ring maturation. ***
- --- ************************************************
- ---
- 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 = 'cleaved_initiator_methionine' 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';
- --- ************************************************
- --- *** relation: peptide_coil ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Irregular, unstructured regions of a pro ***
- --- *** tein's backbone, as distinct from the re ***
- --- *** gular region (namely alpha helix and bet ***
- --- *** a strand - characterised by specific pat ***
- --- *** terns of main-chain hydrogen bonds). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: hydrophobic_region_of_peptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Hydrophobic regions are regions with a l ***
- --- *** ow affinity for water. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: n_terminal_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The amino-terminal positively-charged re ***
- --- *** gion of a signal peptide (approx 1-5 aa) ***
- --- *** . ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_terminal_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The more polar, carboxy-terminal region ***
- --- *** of the signal peptide (approx 3-7 aa). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: central_hydrophobic_region_of_signal_peptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The central, hydrophobic region of the s ***
- --- *** ignal peptide (approx 7-15 aa). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_conserved_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A conserved motif is a short (up to 20 a ***
- --- *** mino acids) region of biological interes ***
- --- *** t that is conserved in different protein ***
- --- *** s. They may or may not have functional o ***
- --- *** r structural significance within the pro ***
- --- *** teins in which they are found. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_binding_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polypeptide binding motif is a short ( ***
- --- *** up to 20 amino acids) polypeptide region ***
- --- *** of biological interest that contains on ***
- --- *** e or more amino acids experimentally sho ***
- --- *** wn to bind to a ligand. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_catalytic_motif ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A polypeptide catalytic motif is a short ***
- --- *** (up to 20 amino acids) polypeptide regi ***
- --- *** on that contains one or more active site ***
- --- *** residues. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_dna_contact ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A binding site that, in the polypeptide ***
- --- *** molecule, interacts selectively and non- ***
- --- *** covalently with DNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: polypeptide_conserved_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A subsection of sequence with biological ***
- --- *** interest that is conserved in different ***
- --- *** proteins. They may or may not have func ***
- --- *** tional or structural significance within ***
- --- *** the proteins in which they are found. ***
- --- ************************************************
- ---
- 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 = 'histone_modification' OR cvterm.name = 'histone_methylation_site' OR cvterm.name = 'histone_acetylation_site' OR cvterm.name = 'histone_ubiqitination_site' OR cvterm.name = 'histone_acylation_region' OR cvterm.name = 'H4K20_monomethylation_site' OR cvterm.name = 'H2BK5_monomethylation_site' OR cvterm.name = 'H3K27_methylation_site' OR cvterm.name = 'H3K36_methylation_site' OR cvterm.name = 'H3K4_methylation_site' OR cvterm.name = 'H3K79_methylation_site' OR cvterm.name = 'H3K9_methylation_site' OR cvterm.name = 'H3K27_monomethylation_site' OR cvterm.name = 'H3K27_trimethylation_site' OR cvterm.name = 'H3K27_dimethylation_site' OR cvterm.name = 'H3K36_monomethylation_site' OR cvterm.name = 'H3K36_dimethylation_site' OR cvterm.name = 'H3K36_trimethylation_site' OR cvterm.name = 'H3K4_monomethylation_site' OR cvterm.name = 'H3K4_trimethylation' OR cvterm.name = 'H3K4_dimethylation_site' OR cvterm.name = 'H3K79_monomethylation_site' OR cvterm.name = 'H3K79_dimethylation_site' OR cvterm.name = 'H3K79_trimethylation_site' OR cvterm.name = 'H3K9_trimethylation_site' OR cvterm.name = 'H3K9_monomethylation_site' OR cvterm.name = 'H3K9_dimethylation_site' OR cvterm.name = 'H3K9_acetylation_site' OR cvterm.name = 'H3K14_acetylation_site' OR cvterm.name = 'H3K18_acetylation_site' OR cvterm.name = 'H3K23_acylation site' OR cvterm.name = 'H3K27_acylation_site' OR cvterm.name = 'H4K16_acylation_site' OR cvterm.name = 'H4K5_acylation_site' OR cvterm.name = 'H4K8_acylation site' OR cvterm.name = 'H2B_ubiquitination_site' OR cvterm.name = 'H4K_acylation_region' 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';
- --- ************************************************
- --- *** relation: substitution ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence alteration where the length o ***
- --- *** f the change in the variant is the same ***
- --- *** as that of the reference. ***
- --- ************************************************
- ---
- 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 = 'MNP' OR cvterm.name = 'SNV' OR cvterm.name = 'complex_substitution' OR cvterm.name = 'simple_sequence_length_variation' OR cvterm.name = 'SNP' OR cvterm.name = 'point_mutation' 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';
- --- ************************************************
- --- *** relation: complex_substitution ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** When no simple or well defined DNA mutat ***
- --- *** ion event describes the observed DNA cha ***
- --- *** nge, the keyword "complex" should be use ***
- --- *** d. Usually there are multiple equally pl ***
- --- *** ausible explanations for the change. ***
- --- ************************************************
- ---
- 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 = 'complex_substitution';
- --- ************************************************
- --- *** relation: point_mutation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A single nucleotide change which has occ ***
- --- *** urred at the same position of a correspo ***
- --- *** nding nucleotide in a reference 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 = 'point_mutation';
- --- ************************************************
- --- *** relation: transition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Change of a pyrimidine nucleotide, C or ***
- --- *** T, into an other pyrimidine nucleotide, ***
- --- *** or change of a purine nucleotide, A or G ***
- --- *** , into an other purine nucleotide. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pyrimidine_transition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A substitution of a pyrimidine, C or T, ***
- --- *** for another pyrimidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_to_t_transition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transition of a cytidine to a thymine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_to_t_transition_at_pcpg_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The transition of cytidine to thymine oc ***
- --- *** curring at a pCpG site as a consequence ***
- --- *** of the spontaneous deamination of 5'-met ***
- --- *** hylcytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: t_to_c_transition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: purine_transition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A substitution of a purine, A or G, for ***
- --- *** another purine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: a_to_g_transition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transition of an adenine to a guanine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: g_to_a_transition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transition of a guanine to an adenine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Change of a pyrimidine nucleotide, C or ***
- --- *** T, into a purine nucleotide, A or G, or ***
- --- *** vice versa. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pyrimidine_to_purine_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Change of a pyrimidine nucleotide, C or ***
- --- *** T, into a purine nucleotide, A or G. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_to_a_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transversion from cytidine to adenine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: c_to_g_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: t_to_a_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transversion from T to A. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: t_to_g_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transversion from T to G. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: purine_to_pyrimidine_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Change of a purine nucleotide, A or G , ***
- --- *** into a pyrimidine nucleotide C or T. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: a_to_c_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transversion from adenine to cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: a_to_t_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transversion from adenine to thymine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: g_to_c_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transversion from guanine to cytidine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: g_to_t_transversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transversion from guanine to thymine. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: intrachromosomal_mutation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal structure variation within ***
- --- *** a single chromosome. ***
- --- ************************************************
- ---
- 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 = 'deficient_intrachromosomal_transposition' 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 = 'inverted_intrachromosomal_transposition' 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' OR cvterm.name = 'inverted_ring_chromosome' OR cvterm.name = 'free_ring_duplication' OR cvterm.name = 'intrachromosomal_mutation';
- --- ************************************************
- --- *** relation: chromosomal_deletion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An incomplete chromosome. ***
- --- ************************************************
- ---
- 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 = 'deficient_intrachromosomal_transposition' 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 = 'chromosomal_deletion';
- --- ************************************************
- --- *** relation: chromosomal_inversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An interchromosomal mutation where a reg ***
- --- *** ion of the chromosome is inverted with r ***
- --- *** espect to wild type. ***
- --- ************************************************
- ---
- 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 = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'chromosomal_inversion';
- --- ************************************************
- --- *** relation: interchromosomal_mutation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal structure variation whereb ***
- --- *** y more than one chromosome is involved. ***
- --- ************************************************
- ---
- 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 = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' OR cvterm.name = 'interchromosomal_mutation';
- --- ************************************************
- --- *** relation: indel ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A sequence alteration which included an ***
- --- *** insertion and a deletion, affecting 2 or ***
- --- *** more bases. ***
- --- ************************************************
- ---
- 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 = 'indel';
- --- ************************************************
- --- *** relation: duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** One or more nucleotides are added betwee ***
- --- *** n two adjacent nucleotides in the sequen ***
- --- *** ce; the inserted sequence derives from, ***
- --- *** or is identical in sequence to, nucleoti ***
- --- *** des adjacent to insertion point. ***
- --- ************************************************
- ---
- CREATE VIEW duplication AS
- SELECT
- feature_id AS duplication_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'tandem_duplication' OR cvterm.name = 'direct_tandem_duplication' OR cvterm.name = 'inverted_tandem_duplication' OR cvterm.name = 'duplication';
- --- ************************************************
- --- *** relation: inversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A continuous nucleotide sequence is inve ***
- --- *** rted in the same position. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosomal_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An extra chromosome. ***
- --- ************************************************
- ---
- 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' 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';
- --- ************************************************
- --- *** relation: intrachromosomal_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A duplication that occurred within a chr ***
- --- *** omosome. ***
- --- ************************************************
- ---
- 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' OR cvterm.name = 'intrachromosomal_duplication';
- --- ************************************************
- --- *** relation: direct_tandem_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tandem duplication where the individua ***
- --- *** l regions are in the same orientation. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inverted_tandem_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A tandem duplication where the individua ***
- --- *** l regions are not in the same orientatio ***
- --- *** n. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: intrachromosomal_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome structure variation whereby ***
- --- *** a transposition occurred within a chrom ***
- --- *** osome. ***
- --- ************************************************
- ---
- 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 = 'unoriented_intrachromosomal_transposition' OR cvterm.name = 'intrachromosomal_transposition';
- --- ************************************************
- --- *** relation: compound_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome structure variant where a m ***
- --- *** onocentric element is caused by the fusi ***
- --- *** on of two chromosome arms. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: robertsonian_fusion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non reciprocal translocation whereby t ***
- --- *** he participating chromosomes break at th ***
- --- *** eir centromeres and the long arms fuse t ***
- --- *** o form a single chromosome with a single ***
- --- *** centromere. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosomal_translocation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An interchromosomal mutation. Rearrangem ***
- --- *** ents that alter the pairing of telomeres ***
- --- *** are classified as translocations. ***
- --- ************************************************
- ---
- 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 = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'chromosomal_translocation';
- --- ************************************************
- --- *** relation: ring_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A ring chromosome is a chromosome whose ***
- --- *** arms have fused together to form a ring, ***
- --- *** often with the loss of the ends of the ***
- --- *** chromosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: pericentric_inversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal inversion that includes th ***
- --- *** e centromere. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: paracentric_inversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal inversion that does not in ***
- --- *** clude the centromere. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: reciprocal_chromosomal_translocation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal translocation with two bre ***
- --- *** aks; two chromosome segments have simply ***
- --- *** been exchanged. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: autosynaptic_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An autosynaptic chromosome is the aneupl ***
- --- *** oid product of recombination between a p ***
- --- *** ericentric inversion and a cytologically ***
- --- *** wild-type chromosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: homo_compound_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A compound chromosome whereby two copies ***
- --- *** of the same chromosomal arm attached to ***
- --- *** a common centromere. The chromosome is ***
- --- *** diploid for the arm involved. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: hetero_compound_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A compound chromosome whereby two arms f ***
- --- *** rom different chromosomes are connected ***
- --- *** through the centromere of one of them. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosome_fission ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome that occurred by the divisi ***
- --- *** on of a larger 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';
- --- ************************************************
- --- *** relation: dexstrosynaptic_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An autosynaptic chromosome carrying the ***
- --- *** two right (D = dextro) telomeres. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: laevosynaptic_chromosome ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** LS is an autosynaptic chromosome carryin ***
- --- *** g the two left (L = levo) telomeres. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: free_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome structure variation whereby ***
- --- *** the duplicated sequences are carried as ***
- --- *** a free centric element. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: free_ring_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A ring chromosome which is a copy of ano ***
- --- *** ther chromosome. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: complex_chromosomal_mutation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome structure variant with 4 or ***
- --- *** more breakpoints. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: deficient_translocation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal deletion whereby a translo ***
- --- *** cation occurs in which one of the four b ***
- --- *** roken ends loses a segment before re-joi ***
- --- *** ning. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inversion_cum_translocation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal translocation whereby the ***
- --- *** first two breaks are in the same chromos ***
- --- *** ome, and the region between them is rejo ***
- --- *** ined in inverted order to the other side ***
- --- *** of the first break, such that both side ***
- --- *** s of break one are present on the same c ***
- --- *** hromosome. The remaining free ends are j ***
- --- *** oined as a translocation with those resu ***
- --- *** lting from the third break. ***
- --- ************************************************
- ---
- 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 = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'inversion_cum_translocation';
- --- ************************************************
- --- *** relation: bipartite_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An interchromosomal mutation whereby the ***
- --- *** (large) region between the first two br ***
- --- *** eaks listed is lost, and the two flankin ***
- --- *** g segments (one of them centric) are joi ***
- --- *** ned as a translocation to the free ends ***
- --- *** resulting from the third break. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cyclic_translocation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal translocation whereby thre ***
- --- *** e breaks occurred in three different chr ***
- --- *** omosomes. The centric segment resulting ***
- --- *** from the first break listed is joined to ***
- --- *** the acentric segment resulting from the ***
- --- *** second, rather than the third. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: bipartite_inversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal inversion caused by three ***
- --- *** breaks in the same chromosome; both cent ***
- --- *** ral segments are inverted in place (i.e. ***
- --- *** , they are not transposed). ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: uninvert_insert_dup ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An insertional duplication where a copy ***
- --- *** of the segment between the first two bre ***
- --- *** aks listed is inserted at the third brea ***
- --- *** k; the insertion is in cytologically the ***
- --- *** same orientation as its flanking segmen ***
- --- *** ts. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: inverted_insertional_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An insertional duplication where a copy ***
- --- *** of the segment between the first two bre ***
- --- *** aks listed is inserted at the third brea ***
- --- *** k; the insertion is in cytologically inv ***
- --- *** erted orientation with respect to its fl ***
- --- *** anking segments. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: insertional_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome duplication involving the i ***
- --- *** nsertion of a duplicated region (as oppo ***
- --- *** sed to a free 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';
- --- ************************************************
- --- *** relation: interchromosomal_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosome structure variation whereby ***
- --- *** a transposition occurred between chromo ***
- --- *** somes. ***
- --- ************************************************
- ---
- 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 = 'unoriented_interchromosomal_transposition' OR cvterm.name = 'interchromosomal_transposition';
- --- ************************************************
- --- *** relation: invert_inter_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An interchromosomal transposition whereb ***
- --- *** y a copy of the segment between the firs ***
- --- *** t two breaks listed is inserted at the t ***
- --- *** hird break; the insertion is in cytologi ***
- --- *** cally inverted orientation with respect ***
- --- *** to its flanking segment. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: uninvert_inter_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An interchromosomal transition where the ***
- --- *** segment between the first two breaks li ***
- --- *** sted is removed and inserted at the thir ***
- --- *** d break; the insertion is in cytological ***
- --- *** ly the same orientation as its flanking ***
- --- *** segments. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: invert_intra_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intrachromosomal transposition whereb ***
- --- *** y the segment between the first two brea ***
- --- *** ks listed is removed and inserted at the ***
- --- *** third break; the insertion is in cytolo ***
- --- *** gically inverted orientation with respec ***
- --- *** t to its flanking segments. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: uninvert_intra_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intrachromosomal transposition whereb ***
- --- *** y the segment between the first two brea ***
- --- *** ks listed is removed and inserted at the ***
- --- *** third break; the insertion is in cytolo ***
- --- *** gically the same orientation as its flan ***
- --- *** king segments. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: unorient_insert_dup ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An insertional duplication where a copy ***
- --- *** of the segment between the first two bre ***
- --- *** aks listed is inserted at the third brea ***
- --- *** k; the orientation of the insertion with ***
- --- *** respect to its flanking segments is not ***
- --- *** recorded. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: unoriented_interchromosomal_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An interchromosomal transposition whereb ***
- --- *** y a copy of the segment between the firs ***
- --- *** t two breaks listed is inserted at the t ***
- --- *** hird break; the orientation of the inser ***
- --- *** tion with respect to its flanking segmen ***
- --- *** ts is not recorded. ***
- --- ************************************************
- ---
- CREATE VIEW unoriented_interchromosomal_transposition AS
- SELECT
- feature_id AS unoriented_interchromosomal_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unoriented_interchromosomal_transposition';
- --- ************************************************
- --- *** relation: unoriented_intrachromosomal_transposition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intrachromosomal transposition whereb ***
- --- *** y the segment between the first two brea ***
- --- *** ks listed is removed and inserted at the ***
- --- *** third break; the orientation of the ins ***
- --- *** ertion with respect to its flanking segm ***
- --- *** ents is not recorded. ***
- --- ************************************************
- ---
- CREATE VIEW unoriented_intrachromosomal_transposition AS
- SELECT
- feature_id AS unoriented_intrachromosomal_transposition_id,
- feature.*
- FROM
- feature INNER JOIN cvterm ON (feature.type_id = cvterm.cvterm_id)
- WHERE cvterm.name = 'unoriented_intrachromosomal_transposition';
- --- ************************************************
- --- *** relation: uncharacterised_chromosomal_mutation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: deficient_inversion ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A chromosomal deletion whereby three bre ***
- --- *** aks occur in the same chromosome; one ce ***
- --- *** ntral region is lost, and the other is i ***
- --- *** nverted. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: tandem_duplication ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A duplication consisting of 2 identical ***
- --- *** adjacent regions. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: partially_characterised_chromosomal_mutation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosome_number_variation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A kind of chromosome variation where the ***
- --- *** chromosome complement is not an exact m ***
- --- *** ultiple of the haploid number. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: chromosome_structure_variation ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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 = 'chromosomal_transposition' OR cvterm.name = 'aneuploid_chromosome' OR cvterm.name = 'intrachromosomal_mutation' OR cvterm.name = 'interchromosomal_mutation' OR cvterm.name = 'chromosomal_duplication' 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 = 'unoriented_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' OR cvterm.name = 'inversion_derived_aneuploid_chromosome' 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 = 'deficient_intrachromosomal_transposition' 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 = 'inverted_intrachromosomal_transposition' 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' 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 = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'deficient_interchromosomal_transposition' OR cvterm.name = 'inverted_interchromosomal_transposition' OR cvterm.name = 'uninverted_interchromosomal_transposition' OR cvterm.name = 'unoriented_interchromosomal_transposition' 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 = 'bipartite_duplication' OR cvterm.name = 'deficient_intrachromosomal_transposition' OR cvterm.name = 'inverted_intrachromosomal_transposition' OR cvterm.name = 'uninverted_intrachromosomal_transposition' OR cvterm.name = 'unoriented_intrachromosomal_transposition' 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 = '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';
- --- ************************************************
- --- *** relation: alternatively_spliced_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A transcript that is alternatively splic ***
- --- *** ed. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: encodes_1_polypeptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is alternately spliced, but ***
- --- *** encodes only one polypeptide. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: encodes_greater_than_1_polypeptide ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is alternately spliced, and ***
- --- *** encodes more than one 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';
- --- ************************************************
- --- *** relation: encodes_different_polypeptides_different_stop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is alternately spliced, and ***
- --- *** encodes more than one polypeptide, that ***
- --- *** have overlapping peptide sequences, but ***
- --- *** use different stop codons. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: encodes_overlapping_peptides_different_start ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is alternately spliced, and ***
- --- *** encodes more than one polypeptide, that ***
- --- *** have overlapping peptide sequences, but ***
- --- *** use different start codons. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: encodes_disjoint_polypeptides ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is alternately spliced, and ***
- --- *** encodes more than one polypeptide, that ***
- --- *** do not have overlapping peptide sequence ***
- --- *** s. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: encodes_overlapping_polypeptides_different_start_and_stop ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is alternately spliced, and ***
- --- *** encodes more than one polypeptide, that ***
- --- *** have overlapping peptide sequences, but ***
- --- *** use different start and stop codons. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: encodes_overlapping_peptides ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene that is alternately spliced, and ***
- --- *** encodes more than one polypeptide, that ***
- --- *** have overlapping peptide sequences. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cryptogene ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A maxicircle gene so extensively edited ***
- --- *** that it cannot be matched to its edited ***
- --- *** mRNA sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: dicistronic_primary_transcript ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A primary transcript that has the qualit ***
- --- *** y dicistronic. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: member_of_regulon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cds_independently_known ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A CDS with the evidence status of being ***
- --- *** independently known. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: orphan_cds ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A CDS whose predicted amino acid sequenc ***
- --- *** e is unsupported by any experimental evi ***
- --- *** dence or by any match with any other kno ***
- --- *** wn sequence. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cds_supported_by_domain_match_data ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A CDS that is supported by domain simila ***
- --- *** rity. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cds_supported_by_sequence_similarity_data ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A CDS that is supported by sequence simi ***
- --- *** larity 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';
- --- ************************************************
- --- *** relation: cds_predicted ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A CDS that is predicted. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: cds_supported_by_est_or_cdna_data ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A CDS that is supported by similarity to ***
- --- *** EST or cDNA data. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: internal_shine_dalgarno_sequence ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A Shine-Dalgarno sequence that stimulate ***
- --- *** s recoding through interactions with the ***
- --- *** anti-Shine-Dalgarno in the RNA of small ***
- --- *** ribosomal subunits of translating ribos ***
- --- *** omes. The signal is only operative in Ba ***
- --- *** cteria. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recoded_mrna ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence of a mature mRNA transcript ***
- --- *** , modified before translation or during ***
- --- *** translation, usually by special cis-acti ***
- --- *** ng signals. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: minus_1_translationally_frameshifted ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a translational ***
- --- *** frameshift of -1. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: plus_1_translationally_frameshifted ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An attribute describing a translational ***
- --- *** frameshift of +1. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mrna_recoded_by_translational_bypass ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recoded_mRNA where translation was sus ***
- --- *** pended at a particular codon and resumed ***
- --- *** at a particular non-overlapping downstr ***
- --- *** eam codon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: mrna_recoded_by_codon_redefinition ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recoded_mRNA that was modified by an a ***
- --- *** lteration of codon meaning. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: recoding_stimulatory_region ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A site in an mRNA sequence that stimulat ***
- --- *** es the recoding of a region in the same ***
- --- *** mRNA. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: four_bp_start_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non-canonical start codon with 4 base ***
- --- *** pairs. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: archaeal_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intron characteristic of Archaeal tRN ***
- --- *** A and rRNA genes, where intron transcrip ***
- --- *** t generates a bulge-helix-bulge motif th ***
- --- *** at is recognised by a splicing endoribon ***
- --- *** uclease. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: trna_intron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** An intron found in tRNA that is spliced ***
- --- *** via endonucleolytic cleavage and ligatio ***
- --- *** n rather than transesterification. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: ctg_start_codon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A non-canonical start codon of sequence ***
- --- *** CTG. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: secis_element ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The incorporation of selenocysteine into ***
- --- *** a protein sequence is directed by an in ***
- --- *** -frame UGA codon (usually a stop codon) ***
- --- *** within the coding region of the mRNA. Se ***
- --- *** lenoprotein mRNAs contain a conserved se ***
- --- *** condary structure in the 3' UTR that is ***
- --- *** required for the distinction of UGA stop ***
- --- *** from UGA selenocysteine. The selenocyst ***
- --- *** eine insertion sequence (SECIS) is aroun ***
- --- *** d 60 nt in length and adopts a hairpin s ***
- --- *** tructure which is sufficiently well-defi ***
- --- *** ned and conserved to act as a computatio ***
- --- *** nal screen for selenoprotein genes. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: retron ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Sequence coding for a short, single-stra ***
- --- *** nded, DNA sequence via a retrotransposed ***
- --- *** RNA intermediate; characteristic of som ***
- --- *** e microbial genomes. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_recoding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The recoding stimulatory signal located ***
- --- *** downstream of the recoding site. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_stem_loop_structure ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recoding stimulatory region, the stem- ***
- --- *** loop secondary structural element is dow ***
- --- *** nstream of the redefined region. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: five_prime_recoding_site ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The recoding stimulatory signal located ***
- --- *** upstream of the recoding site. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: flanking_three_prime_quadruplet_recoding_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** Four base pair sequence immediately down ***
- --- *** stream of the redefined region. The rede ***
- --- *** fined region is a frameshift site. The q ***
- --- *** uadruplet is 2 overlapping codons. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: uag_stop_codon_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A stop codon signal for a UAG stop codon ***
- --- *** redefinition. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: uaa_stop_codon_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A stop codon signal for a UAA stop codon ***
- --- *** redefinition. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: regulon ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A group of genes, whether linked as a cl ***
- --- *** uster or not, that respond to a common r ***
- --- *** egulatory 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';
- --- ************************************************
- --- *** relation: uga_stop_codon_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A stop codon signal for a UGA stop codon ***
- --- *** redefinition. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: three_prime_repeat_recoding_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recoding stimulatory signal, downstrea ***
- --- *** m sequence important for recoding that c ***
- --- *** ontains repetitive elements. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: distant_three_prime_recoding_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recoding signal that is found many hun ***
- --- *** dreds of nucleotides 3' of a redefined s ***
- --- *** top codon. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: stop_codon_signal ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A recoding stimulatory signal that is a ***
- --- *** stop codon and has effect on efficiency ***
- --- *** of recoding. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: databank_entry ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** The sequence referred to by an entry in ***
- --- *** a databank such as Genbank or SwissProt. ***
- --- ************************************************
- ---
- 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';
- --- ************************************************
- --- *** relation: gene_segment ***
- --- *** relation type: VIEW ***
- --- *** ***
- --- *** A gene component region which acts as a ***
- --- *** recombinational unit of a gene whose fun ***
- --- *** ctional form is generated through somati ***
- --- *** c recombination. ***
- --- ************************************************
- ---
- 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 = 'pseudogenic_gene_segment' OR 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 ('transcription_variant','transcription_variant');
- 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 ('elongated_out_of_frame_polypeptide_n_terminal','elongated_out_of_frame_polypeptide_n_terminal');
- 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 ('rna_polymerase_ii_tata_box','rna_polymerase_ii_tata_box');
- 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 ('sequence_motif','sequence_motif');
- 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 ('d_dj_j_c_cluster','d_dj_j_c_cluster');
- 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 ('bound_by_factor','bound_by_factor');
- 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 ('dinucleotide_repeat_microsatellite_feature','dinucleotide_repeat_microsatellite_feature');
- 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 ('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','so_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 ('x_element','x_element');
- 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 ('variant_phenotype','variant_phenotype');
- 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 ('sl12_acceptor_site','sl12_acceptor_site');
- 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 ('3_prime_utr_variant','three_prime_utr_variant');
- 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 ('upstream_gene_variant','upstream_gene_variant');
- 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 ('polypeptide_post_translational_processing_variant','polypeptide_post_translational_processing_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('2kb_upstream_variant','twokb_upstream_variant');
- 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 ('blunt_end_restriction_enzyme_cleavage_site','blunt_end_restriction_enzyme_cleavage_site');
- 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 ('polypeptide_tungsten_ion_contact_site','polypeptide_tungsten_ion_contact_site');
- 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 ('d_dj_c_cluster','d_dj_c_cluster');
- 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 ('polypeptide_nest_right_left_motif','polypeptide_nest_right_left_motif');
- 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 ('leucoplast_gene','leucoplast_gene');
- 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 ('trans_spliced_transcript','trans_spliced_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inverted','inverted');
- 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 ('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 ('improved_high_quality_draft','improved_high_quality_draft');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('copy_number_gain','copy_number_gain');
- 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 ('sl8_acceptor_site','sl8_acceptor_site');
- 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 ('h3k79_methylation_site','h3k79_methylation_site');
- 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 ('centromere_dna_element_ii','centromere_dna_element_ii');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('alteration_attribute','alteration_attribute');
- 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 ('polypeptide_fusion','polypeptide_fusion');
- 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 ('increased_polyadenylation_variant','increased_polyadenylation_variant');
- 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 ('paracentric','paracentric');
- 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 ('a_box_type_2','a_box_type_2');
- 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 ('two_prime_o_ribosyladenosine_phosphate','two_prime_o_riboA_phosphate');
- 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 ('copy_number_change','copy_number_change');
- 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 ('endosomal_localization_signal','endosomal_localization_signal');
- 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 ('scrna_primary_transcript','scrna_primary_transcript');
- 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 ('somatic_variant','somatic_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('duplication','duplication');
- 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 ('polypeptide_cobalt_ion_contact_site','polypeptide_cobalt_ion_contact_site');
- 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 ('inversion','inversion');
- 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 ('tyrosine_trna_primary_transcript','tyrosine_trna_primary_transcript');
- 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 ('frt_flanked','frt_flanked');
- 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 ('coding_region_of_exon','coding_region_of_exon');
- 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 ('decreased_transcription_rate_variant','decreased_transcription_rate_variant');
- 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 ('rnase_p_rna_gene','rnase_p_rna_gene');
- 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 ('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 ('non_conservative_missense_codon','non_conservative_missense_codon');
- 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 ('processed_transcript','processed_transcript');
- 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 ('cryptic_splice_site','cryptic_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('pseudogenic_gene_segment','pseudogenic_gene_segment');
- 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 ('rnase_mrp_rna_gene','rnase_mrp_rna_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('structural_alteration','structural_alteration');
- 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 ('nested_tandem_repeat','nested_tandem_repeat');
- 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 ('non_canonical_three_prime_splice_site','non_canonical_three_prime_splice_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('gene_with_non_canonical_start_codon','gene_with_non_canonical_start_codon');
- 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 ('h3k27_trimethylation_site','h3k27_trimethylation_site');
- 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 ('bred_motif','bred_motif');
- 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 ('translational_product_function_variant','translational_product_function_variant');
- 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 ('snv','snv');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('direct','direct');
- 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 ('chromosomal_transposition','chromosomal_transposition');
- 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 ('cryptic_splice_site_variant','cryptic_splice_site_variant');
- 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 ('pedigree_specific_variant','pedigree_specific_variant');
- 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 ('histone_modification','histone_modification');
- 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_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 ('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 ('amino_acid_insertion','amino_acid_insertion');
- 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 ('non_coding_exon_variant','non_coding_exon_variant');
- 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 ('sl5_acceptor_site','sl5_acceptor_site');
- 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 ('pseudouridine','pseudouridine');
- 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 ('transcriptionally_constitutive','transcriptionally_constitutive');
- 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 ('variant_origin','variant_origin');
- 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 ('mirna','mirna');
- 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 ('inr1_motif','inr1_motif');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h2b_ubiquitination_site','h2b_ubiquitination_site');
- 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 ('floxed','floxed');
- 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 ('utr_variant','utr_variant');
- 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 ('transcription_regulatory_region','transcription_regulatory_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 ('five_prime_ltr_component','five_prime_ltr_component');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('histone_acylation_region','histone_acylation_region');
- 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 ('chromosome_part','chromosome_part');
- 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 ('phenylalanyl_trna','phenylalanyl_trna');
- 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 ('gc_rich_promoter_region','gc_rich_promoter_region');
- 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 ('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 ('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 ('regulatory_region_variant','regulatory_region_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h3k9_dimethylation_site','h3k9_dimethylation_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('stop_gained','stop_gained');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('telomerase_rna_gene','telomerase_rna_gene');
- 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 ('microarray_oligo','microarray_oligo');
- 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 ('plus_1_frameshift_variant','plus_1_frameshift_variant');
- 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 ('three_prime_stem_loop_structure','three_prime_stem_loop_structure');
- 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 ('exon_loss','exon_loss');
- 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 ('free','free');
- 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 ('h4k5_acylation_site','h4k5_acylation_site');
- 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 ('nmd_transcript_variant','nmd_transcript_variant');
- 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 ('mathematically_defined_repeat','mathematically_defined_repeat');
- 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 ('translational_product_structure_variant','translational_product_structure_variant');
- 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 ('increased_transcript_stability_variant','increased_transcript_stability_variant');
- 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 ('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 ('restriction_enzyme_recognition_site','restriction_enzyme_recognition_site');
- 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 ('centromere_dna_element_i','centromere_dna_element_i');
- 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 ('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 ('increased_translational_product_level','increased_translational_product_level');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('translational_product_level_variant','translational_product_level_variant');
- 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 ('chromosomally_aberrant_genome','chromosomally_aberrant_genome');
- 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 ('bidirectional_promoter','bidirectional_promoter');
- 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 ('utr_intron','utr_intron');
- 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 ('complex_change_in_transcript','complex_change_in_transcript');
- 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 ('duplication_attribute','duplication_attribute');
- 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 ('three_prime_restriction_enzyme_junction','three_prime_restriction_enzyme_junction');
- 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 ('intrachromosomal','intrachromosomal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nuclear_localization_signal','nuclear_localization_signal');
- 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 ('plus_2_frameshift variant','plus_2_frameshift_variant');
- 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 ('standard_draft','standard_draft');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h3k79_dimethylation_site','h3k79_dimethylation_site');
- 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 ('epigenetically_modified_region','epigenetically_modified_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 ('intergenic_variant','intergenic_variant');
- 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 ('stop_lost','stop_lost');
- 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 ('increased_transcription_rate_variant','increased_transcription_rate_variant');
- 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 ('complex_3d_structural_variant','complex_3d_structural_variant');
- 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 ('tasirna_primary_transcript','tasirna_primary_transcript');
- 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 ('translation_regulatory_region','translation_regulatory_region');
- 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 ('amino_acid_deletion','amino_acid_deletion');
- 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 ('dce','dce');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('quantitative_variant','quantitative_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lysosomal_localization_signal','lysosomal_localization_signal');
- 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 ('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 ('h3k9_acetylation_site','h3k9_acetylation_site');
- 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 ('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 ('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 ('inframe_codon_loss','inframe_codon_loss');
- 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 ('functional_variant','functional_variant');
- 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 ('transcript_stability_variant','transcript_stability_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('5kb_upstream_variant','fivekb_upstream_variant');
- 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 ('intron_variant','intron_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('regional_centromere_outer_repeat_region','regional_centromere_outer_repeat_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('replication_regulatory_region','replication_regulatory_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('mating_type_region','mating_type_region');
- 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 ('polypeptide_domain','polypeptide_domain');
- 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 ('fusion_gene','fusion_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcript_function_variant','transcript_function_variant');
- 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 ('arginyl_trna','arginyl_trna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('compensatory_transcript_secondary_structure_variant','compensatory_transcript_secondary_structure_variant');
- 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 ('uninverted_intrachromosomal_transposition','uninvert_intra_transposition');
- 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 ('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 ('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 ('schellmann_loop','schellmann_loop');
- 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 ('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 ('foldback_element','foldback_element');
- 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 ('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 ('histone_ubiqitination_site','histone_ubiqitination_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('complex_structural_alteration','complex_structural_alteration');
- 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 ('polya_sequence','polya_sequence');
- 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 ('homologous','homologous');
- 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 ('h2bk5_monomethylation_site','h2bk5_monomethylation_site');
- 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 ('sirna','sirna');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dart_marker','dart_marker');
- 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 ('plus_1_translationally_frameshifted','plus_1_translationally_frameshifted');
- 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 ('five_prime_noncoding_exon','five_prime_noncoding_exon');
- 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 ('beta_strand','beta_strand');
- 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 ('one_methyladenosine','one_methyladenosine');
- 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 ('asx_motif','asx_motif');
- 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 ('coding_exon','coding_exon');
- 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 ('five_formylcytidine','five_formylcytidine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h3k27_dimethylation_site','h3k27_dimethylation_site');
- 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 ('mitochondrial_chromosome','mitochondrial_chromosome');
- 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 ('n2_7_2prirme_o_trimethylguanosine','n2_7_2prirme_o_trimethylguanosine');
- 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 ('propeptide_cleavage_site','propeptide_cleavage_site');
- 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 ('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 ('rrna_5_8s','rrna_5_8s');
- 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 ('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 ('polypeptide_loss_of_function_variant','polypeptide_loss_of_function_variant');
- 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 ('whole_genome_sequence_status','whole_genome_sequence_status');
- 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 ('common_variant','common_variant');
- 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 ('major_tss','major_tss');
- 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 ('loss_of_heterozygosity','loss_of_heterozygosity');
- 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 ('translocaton_attribute','translocaton_attribute');
- 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 ('terminal_codon_variant','terminal_codon_variant');
- 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 ('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 ('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 ('bound_by_nucleic_acid','bound_by_nucleic_acid');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('peptide_localization_signal','peptide_localization_signal');
- 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 ('h3k27_acylation_site','h3k27_acylation_site');
- 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 ('ligand_binding_site','ligand_binding_site');
- 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 ('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 ('foreign','so_foreign');
- 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 ('u_box','u_box');
- 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 ('insertion_attribute','insertion_attribute');
- 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 ('chip_seq_region','chip_seq_region');
- 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 ('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 ('lethal_variant','lethal_variant');
- 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 ('h3k36_trimethylation_site','h3k36_trimethylation_site');
- 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 ('finished_genome','finished_genome');
- 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 ('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 ('sl9_acceptor_site','sl9_acceptor_site');
- 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 ('retinoic_acid_responsive_element','retinoic_acid_responsive_element');
- 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 ('chromoplast_gene','chromoplast_gene');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dcaps_primer','dcaps_primer');
- 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 ('splice_acceptor_variant','splice_acceptor_variant');
- 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 ('terminator_codon_variant','terminator_codon_variant');
- 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 ('tandem','tandem');
- 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 ('dmv4_motif','dmv4_motif');
- 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 ('dce_siii','dce_siii');
- 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 ('polypeptide_truncation','polypeptide_truncation');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h3k14_acetylation_site','h3k14_acetylation_site');
- 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 ('sl7_acceptor_site','sl7_acceptor_site');
- 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 ('stop_retained_variant','stop_retained_variant');
- 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 ('500b_downstream_variant','fivehundred_b_downstream_variant');
- 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 ('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 ('rnapol_ii_core_promoter','rnapol_ii_core_promoter');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h3k9_methylation_site','h3k9_methylation_site');
- 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 ('assortment_derived_variation','assortment_derived_variation');
- 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 ('nested_transposon','nested_transposon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('tf_binding_site_variant','tf_binding_site_variant');
- 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 ('elongated_out_of_frame_polypeptide_c_terminal','elongated_out_of_frame_polypeptide_c_terminal');
- 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 ('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 ('h3k23_acylation site','h3k23_acylation_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('maternal_variant','maternal_variant');
- 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 ('experimental_feature_attribute','experimental_feature_attribute');
- 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 ('intron_gain','intron_gain');
- 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 ('conservative_amino_acid_substitution','conservative_amino_acid_substitution');
- 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 ('noncontiguous_finished','noncontiguous_finished');
- 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 ('upd','upd');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('conservative_missense_codon','conservative_missense_codon');
- 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 ('distal_promoter_element','distal_promoter_element');
- 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 ('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 ('h3k4_trimethylation','h3k4_trimethylation');
- 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 ('disease_associated_variant','disease_associated_variant');
- 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 ('copy_number_loss','copy_number_loss');
- 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_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 ('elongated_in_frame_polypeptide_c_terminal','elongated_in_frame_polypeptide_c_terminal');
- 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 ('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 ('variant_frequency','variant_frequency');
- 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 ('inframe_codon_gain','inframe_codon_gain');
- 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 ('sl3_acceptor_site','sl3_acceptor_site');
- 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 ('fixed_variant','fixed_variant');
- 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 ('polypeptide_gain_of_function_variant','polypeptide_gain_of_function_variant');
- 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 ('sticky_end_restriction_enzyme_cleavage_site','sticky_end_restriction_enzyme_cleavage_site');
- 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 ('polypeptide_manganese_ion_contact_site','polypeptide_manganese_ion_contact_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h4k16_acylation_site','h4k16_acylation_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 ('three_prime_coding_exon_coding_region','three_prime_coding_exon_coding_region');
- 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 ('complex_change_of_translational_product_variant','complex_change_of_translational_product_variant');
- 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 ('inframe_variant','inframe_variant');
- 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 ('polypeptide_localization_variant','polypeptide_localization_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dce_si','dce_si');
- 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 ('h3k27_methylation_site','h3k27_methylation_site');
- 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 ('elongated_polypeptide_n_terminal','elongated_polypeptide_n_terminal');
- 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 ('breu_motif','breu_motif');
- 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 ('h3k9_monomethylation_site','h3k9_monomethylation_site');
- 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 ('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 ('decreased_transcript_level_variant','decreased_transcript_level_variant');
- 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 ('polyadenylation_variant','polyadenylation_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rna_polymerase_iii_tata_box','rna_polymerase_iii_tata_box');
- 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 ('h3k18_acetylation_site','h3k18_acetylation_site');
- 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 ('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 ('h3k27_monomethylation_site','h3k27_monomethylation_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('minus_2_frameshift_variant','minus_2_frameshift_variant');
- 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 ('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 ('variant_collection','variant_collection');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('cryptic_splice_donor','cryptic_splice_donor');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('assembly_error_correction','assembly_error_correction');
- 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 ('h3k4_monomethylation_site','h3k4_monomethylation_site');
- 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 ('peptide_collection','peptide_collection');
- 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 ('pirna_gene','pirna_gene');
- 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 ('cryptic_splice_acceptor','cryptic_splice_acceptor');
- 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 ('arginine','arginine');
- 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 ('h4k8_acylation site','h4k8_acylation_site');
- 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 ('irrinv_site','irrinv_site');
- 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 ('base_call_error_correction','base_call_error_correction');
- 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 ('linear_single_stranded_rna_chromosome','linear_single_stranded_rna_chromosome');
- 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 ('proximal_promoter_element','proximal_promoter_element');
- 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 ('promoter_trap_construct','promoter_trap_construct');
- 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 ('seven_methylguanosine','seven_methylguanosine');
- 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 ('tmrna','tmrna');
- 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 ('synonymous_codon','synonymous_codon');
- 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 ('sl4_acceptor_site','sl4_acceptor_site');
- 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 ('consensus','consensus');
- 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 ('tss_region','tss_region');
- 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 ('unitary_pseudogene','unitary_pseudogene');
- 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 ('integron','integron');
- 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 ('recombination_signal_sequence','recombination_signal_sequence');
- 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 ('v_j_cluster','v_j_cluster');
- 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 ('recombination_regulatory_region','recombination_regulatory_region');
- 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 ('restriction_enzyme_cleavage_junction','restriction_enzyme_cleavage_junction');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('blunt_end_restriction_enzyme_cleavage_junction','blunt_end_restriction_enzyme_cleavage_junction');
- 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 ('dmv2_motif','dmv2_motif');
- 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 ('antisense_rna','antisense_rna');
- 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 ('n6_glycinylcarbamoyladenosine','n6_glycinylcarbamoyladenosine');
- 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 ('three_prime_cis_splice_site','three_prime_cis_splice_site');
- 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 ('inverted_ring_chromosome','inverted_ring_chromosome');
- 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 ('linear_double_stranded_dna_chromosome','linear_double_stranded_dna_chromosome');
- 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 ('bruno_response_element','bruno_response_element');
- 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 ('c_to_a_transversion','c_to_a_transversion');
- 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 ('distant_three_prime_recoding_signal','distant_three_prime_recoding_signal');
- 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 ('p_element','p_element');
- 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 ('gene_fusion','gene_fusion');
- 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 ('codon_redefined','codon_redefined');
- 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_variant','codon_variant');
- 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 ('rho_dependent_bacterial_terminator','rho_dependent_bacterial_terminator');
- 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 ('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 ('internal_guide_sequence','internal_guide_sequence');
- 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 ('u5_three_prime_ltr_region','u5_three_prime_ltr_region');
- 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 ('trans_spliced','trans_spliced');
- 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 ('leucine','leucine');
- 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 ('five_isopentenylaminomethyl_uridine','five_isopentenylaminomethyl_uridine');
- 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 ('two_methylthio_n6_threonyl_carbamoyladenosine','two_methylthio_n6_threonyl_carbamoyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('decreased_polyadenylation_variant','decreased_polyadenylation_variant');
- 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 ('dna_constraint_sequence','dna_constraint_sequence');
- 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 ('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 ('rrna_25s','rrna_25s');
- 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 ('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 ('modified_uridine','modified_uridine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('dce_sii','dce_sii');
- 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 ('lysyl_trna','lysyl_trna');
- 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 ('h4k20_monomethylation_site','h4k20_monomethylation_site');
- 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 ('alternatively_spliced_transcript','alternatively_spliced_transcript');
- 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 ('scrna_encoding','scrna_encoding');
- 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 ('clone','clone');
- 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 ('gene_subarray','gene_subarray');
- 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 ('dicistronic_transcript','dicistronic_transcript');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('inactive_ligand_binding_site','inactive_ligand_binding_site');
- 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 ('sl6_acceptor_site','sl6_acceptor_site');
- 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 ('targeting_vector','targeting_vector');
- 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 ('modified_l_serine','modified_l_serine');
- 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 ('three_prime_repeat_recoding_signal','three_prime_repeat_recoding_signal');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rate_of_transcription_variant','rate_of_transcription_variant');
- 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 ('polypeptide_binding_motif','polypeptide_binding_motif');
- 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 ('a_box','a_box');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('splicing_variant','splicing_variant');
- 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 ('paternal_uniparental_disomy','paternal_uniparental_disomy');
- 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 ('score','score');
- 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 ('downstream_gene_variant','downstream_gene_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('sl10_accceptor_site','sl10_accceptor_site');
- 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 ('a_box_type_1','a_box_type_1');
- 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 ('rare_variant','rare_variant');
- 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 ('regional_centromere_central_core','regional_centromere_central_core');
- 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 ('nc_transcript_variant','nc_transcript_variant');
- 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 ('decreased_translational_product_level','decreased_translational_product_level');
- 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 ('coding_sequence_variant','coding_sequence_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_partial_loss_of_function','polypeptide_partial_loss_of_function');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('five_prime_restriction_enzyme_junction','five_prime_restriction_enzyme_junction');
- 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 ('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 ('disease_causing_variant','disease_causing_variant');
- 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 ('duplicated_pseudogene','duplicated_pseudogene');
- 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 ('five_prime_five_prime_overlap','five_prime_five_prime_overlap');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('polypeptide_function_variant','polypeptide_function_variant');
- 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 ('variant_genome','variant_genome');
- 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 ('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 ('mature_mirna_variant','mature_mirna_variant');
- 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 ('epigenetically_modified','epigenetically_modified');
- 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 ('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 ('incomplete_terminal_codon_variant','incomplete_terminal_codon_variant');
- 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 ('editing_variant','editing_variant');
- 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 ('high_quality_draft','high_quality_draft');
- 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 ('elongated_polypeptide','elongated_polypeptide');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('unique_variant','unique_variant');
- 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 ('inversion_attribute','inversion_attribute');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('nucleotide_binding_site','nucleotide_binding_site');
- 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 ('non_synonymous_codon','non_synonymous_codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('5kb_downstream_variant','fivekb_downstream_variant');
- 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 ('paired_end_fragment','paired_end_fragment');
- 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 ('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 ('amino_acid_substitution','amino_acid_substitution');
- 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 ('x_element_combinatorial_repeat','x_element_combinatorial_repeat');
- 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 ('h3k4_methylation_site','h3k4_methylation_site');
- 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 ('h3k79_monomethylation_site','h3k79_monomethylation_site');
- 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 ('regional_centromere','regional_centromere');
- 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 ('reference_genome','reference_genome');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('unoriented_interchromosomal_transposition','unoriented_interchromosomal_transposition');
- 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 ('annotation_directed_improved_draft','annotation_directed_improved_draft');
- 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 ('3d_polypeptide_structure_variant','threed_polypeptide_structure_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 ('transcript_processing_variant','transcript_processing_variant');
- 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 ('maternal_uniparental_disomy','maternal_uniparental_disomy');
- 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 ('splice_site_variant','splice_site_variant');
- 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 ('chromosomal_variation_attribute','chromosomal_variation_attribute');
- 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 ('centromeric_repeat','centromeric_repeat');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('rrna_gene','rrna_gene');
- 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 ('exon_variant','exon_variant');
- 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 ('telomeric_repeat','telomeric_repeat');
- 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 ('gene_with_start_codon_cug','gene_with_start_codon_cug');
- 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 ('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 ('h3k79_trimethylation_site','h3k79_trimethylation_site');
- 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 ('unoriented_intrachromosomal_transposition','unoriented_intrachromosomal_transposition');
- 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 ('tasirna','tasirna');
- 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 ('regional_centromere_inner_repeat_region','regional_centromere_inner_repeat_region');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('yac_end','yac_end');
- 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 ('intronic_regulatory_region','intronic_regulatory_region');
- 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 ('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 ('h3k4_dimethylation_site','h3k4_dimethylation_site');
- 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 ('decreased_transcript_stability_variant','decreased_transcript_stability_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('lincrna_gene','lincrna_gene');
- 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 ('sl11_acceptor_site','sl11_acceptor_site');
- 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 ('modified_base','modified_base');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('elongated_polypeptide_c_terminal','elongated_polypeptide_c_terminal');
- 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 ('elongated_in_frame_polypeptide_n_terminal_elongation','elongated_in_frame_polypeptide_n_terminal_elongation');
- 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 ('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 ('pericentric','pericentric');
- 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 ('clone_end','clone_end');
- 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 ('missense_codon','missense_codon');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('bacterial_rnapol_promoter_sigma54','bacterial_rnapol_promoter_sigma54');
- 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 ('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 ('non_conservative_amino_acid_substitution','non_conservative_amino_acid_substitution');
- 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 ('h3k36_methylation_site','h3k36_methylation_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcript_variant','transcript_variant');
- 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 ('initiator_codon_change','initiator_codon_change');
- 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 ('polymorphic_variant','polymorphic_variant');
- 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 ('single_strand_restriction_enzyme_cleavage_site','single_strand_restriction_enzyme_cleavage_site');
- 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 ('minus_24_signal','minus_24_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 ('h4k_acylation_region','h4k_acylation_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 ('inactive_catalytic_site','inactive_catalytic_site');
- 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 ('nested_repeat','nested_repeat');
- 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 ('high_identity_region','high_identity_region');
- 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 ('nuclear_rim_localization_signal','nuclear_rim_localization_signal');
- 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 ('5_prime_utr_variant','five_prime_utr_variant');
- 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 ('reciprocal','reciprocal');
- 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 ('variant_quality','variant_quality');
- 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 ('y_prime_element','y_prime_element');
- 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 ('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 ('h3k9_trimethylation_site','h3k9_trimethylation_site');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('transcript_secondary_structure_variant','transcript_secondary_structure_variant');
- 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 ('splice_donor_5th_base_variant','splice_donor_5th_base_variant');
- 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 ('nucleotide_to_protein_binding_site','nucleotide_to_protein_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 ('minus_12_signal','minus_12_signal');
- 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 ('de_novo_variant','de_novo_variant');
- 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 ('open_chromatin_region','open_chromatin_region');
- 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 ('heritable_phenotypic_marker','heritable_phenotypic_marker');
- 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 ('histone_acetylation_site','histone_acetylation_site');
- 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 ('polypeptide_sequence_variant','polypeptide_sequence_variant');
- 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 ('experimentally_defined_binding_region','experimentally_defined_binding_region');
- 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 ('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 ('minus_1_frameshift_variant','minus_1_frameshift_variant');
- 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 ('frame_restoring_variant','frame_restoring_variant');
- 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 ('structural_variant','structural_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('regulatory_promoter_element','regulatory_promoter_element');
- 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 ('nuclear_export_signal','nuclear_export_signal');
- 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 ('bacterial_rnapol_promoter_sigma_70','bacterial_rnapol_promoter_sigma_70');
- 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 ('quality_value','quality_value');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('kozak_sequence','kozak_sequence');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('population_specific_variant','population_specific_variant');
- 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 ('morpholino_backbone','morpholino_backbone');
- 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 ('point_centromere','point_centromere');
- 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 ('interchromosomal','interchromosomal');
- 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 ('increased_transcript_level_variant','increased_transcript_level_variant');
- 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 ('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 ('promoter_element','promoter_element');
- 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 ('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 ('genetic_marker','genetic_marker');
- 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 ('two_methylthio_n6_hydroxynorvalyl_carbamoyladenosine','two_methylthio_n6_hydroxynorvalyl_carbamoyladenosine');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('isre','isre');
- 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 ('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 ('intermediate_element','intermediate_element');
- 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 ('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 ('metal_binding_site','metal_binding_site');
- 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 ('splice_region_variant','splice_region_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('aspe_primer','aspe_primer');
- 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 ('h3k36_dimethylation_site','h3k36_dimethylation_site');
- 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 ('gene_variant','gene_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('conformational_change_variant','conformational_change_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('h3k36_monomethylation_site','h3k36_monomethylation_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 ('centromere_dna_element_iii','centromere_dna_element_iii');
- 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 ('germline_variant','germline_variant');
- 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 ('benign_variant','benign_variant');
- 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 ('core_promoter_element','core_promoter_element');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('restriction_enzyme_single_strand_overhang','restriction_enzyme_single_strand_overhang');
- 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 ('histone_methylation_site','histone_methylation_site');
- 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 ('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 ('paternal_variant','paternal_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('level_of_transcript_variant','level_of_transcript_variant');
- 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 ('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 ('splice_donor_variant','splice_donor_variant');
- 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');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('frameshift_variant','frameshift_variant');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('insertional','insertional');
- INSERT INTO sequence_cv_lookup_table (original_cvterm_name,relation_name) VALUES ('non_processed_pseudogene','non_processed_pseudogene');
- CREATE INDEX sequence_cv_lookup_table_idx ON sequence_cv_lookup_table (original_cvterm_name);
- SET search_path=public,pg_catalog;
- -- DEPENDENCY:
- -- chado/modules/bridges/sofa-bridge.sql
- -- The standard Chado pattern for protein coding genes
- -- is a feature of type 'gene' with 'mRNA' features as parts
- -- REQUIRES: 'mrna' view from so-bridge.sql
- 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);
- -- introns are implicit from surrounding exons
- -- combines intron features with location and parent transcript
- -- the same intron appearing in multiple transcripts will appear
- -- multiple times
- 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;
- -- intron locations. intron IDs are the (exon1,exon2) ID pair
- -- this means that introns may be counted twice if the start of
- -- the 5' exon or the end of the 3' exon vary
- -- introns shared by transcripts will not appear twice
- 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';
- -- dependency_on: [sequtil,sequence-cv-helper]
- CREATE OR REPLACE FUNCTION subsequence(bigint,bigint,bigint,INT)
- RETURNS TEXT AS
- 'SELECT
- CASE WHEN $4<0
- THEN reverse_complement(substring(srcf.residues,CAST(($2+1) as int),CAST(($3-$2) as int)))
- ELSE substring(residues,CAST(($2+1) as int),CAST(($3-$2) as int))
- END AS residues
- FROM feature AS srcf
- WHERE
- srcf.feature_id=$1'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION subsequence_by_featureloc(bigint)
- RETURNS TEXT AS
- 'SELECT
- CASE WHEN strand<0
- THEN reverse_complement(substring(srcf.residues,CAST(fmin+1 as int),CAST((fmax-fmin) as int)))
- ELSE substring(srcf.residues,CAST(fmin+1 as int),CAST((fmax-fmin) as int))
- 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(bigint,INT,INT)
- RETURNS TEXT AS
- 'SELECT
- CASE WHEN strand<0
- THEN reverse_complement(substring(srcf.residues,CAST(fmin+1 as int),CAST((fmax-fmin) as int)))
- ELSE substring(srcf.residues,CAST(fmin+1 as int),CAST((fmax-fmin) as int))
- 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(bigint)
- RETURNS TEXT AS 'SELECT subsequence_by_feature($1,0,0)'
- LANGUAGE 'sql';
- -- based on subfeature sets:
- -- constrained by feature_relationship.type_id
- -- (allows user to construct queries that only get subsequences of
- -- part_of subfeatures)
- CREATE OR REPLACE FUNCTION subsequence_by_subfeatures(bigint,bigint,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,CAST(fmin+1 as int),CAST((fmax-fmin) as int)))
- ELSE substring(srcf.residues,CAST(fmin+1 as int),CAST((fmax-fmin) as int))
- 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(bigint,bigint)
- RETURNS TEXT AS
- 'SELECT subsequence_by_subfeatures($1,$2,0,0)'
- LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION subsequence_by_subfeatures(bigint)
- RETURNS TEXT AS
- '
- SELECT subsequence_by_subfeatures($1,get_feature_relationship_type_id(''part_of''),0,0)
- '
- LANGUAGE 'sql';
- -- constrained by subfeature.type_id (eg exons of a transcript)
- CREATE OR REPLACE FUNCTION subsequence_by_typed_subfeatures(bigint,bigint,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,CAST(fmin+1 as int),CAST((fmax-fmin) as int)))
- ELSE substring(srcf.residues,CAST(fmin+1 as int),CAST((fmax-fmin) as int))
- 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(bigint,bigint)
- RETURNS TEXT AS
- 'SELECT subsequence_by_typed_subfeatures($1,$2,0,0)'
- LANGUAGE 'sql';
-
- CREATE OR REPLACE FUNCTION feature_subalignments(bigint) 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 bigint;
- slen bigint;
- 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 bigserial not null,
- primary key (featuregroup_id),
- subject_id bigint not null,
- foreign key (subject_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint not null,
- foreign key (object_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- group_id bigint not null,
- foreign key (group_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- srcfeature_id bigint null,
- foreign key (srcfeature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- fmin bigint null,
- fmax bigint 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(bigint, bigint, 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(bigint, bigint, varchar) RETURNS setof featuregroup AS '
- SELECT *
- FROM groupoverlaps($1,$2,$3)
- WHERE fmin <= $1 AND fmax >= $2
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION groupinside(bigint, bigint, varchar) RETURNS setof featuregroup AS '
- SELECT *
- FROM groupoverlaps($1,$2,$3)
- WHERE fmin >= $1 AND fmax <= $2
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION groupidentical(bigint, bigint, varchar) RETURNS setof featuregroup AS '
- SELECT *
- FROM groupoverlaps($1,$2,$3)
- WHERE fmin = $1 AND fmax = $2
- ' LANGUAGE 'sql';
- CREATE OR REPLACE FUNCTION groupoverlaps(bigint, bigint) 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(_int8, _int8, _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(_int8, _int8, _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(_int8, _int8, _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(_int8, _int8, _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';
- --functional index that depends on the above functions
- CREATE INDEX bingroup_boxrange ON featuregroup USING gist (boxrange(fmin, fmax)) WHERE is_root = 1;
- CREATE OR REPLACE FUNCTION _fill_featuregroup(bigint, bigint) 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 bigint;
- -- c int; the c variable isnt used
- 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 ontology that has instantiated located_sequence_feature part of SO
- --- way as it is written, the function can not be execute more than once in one connection
- --- when you get error like ERROR: relation with OID NNNNN does not exist
- --- as this is not meant to execute >1 times in one session so it should never happen
- --- except at testing and test failed
- --- disconnect and try again, in other words, it can NOT be executed >1 time in one connection
- --- if using EXECUTE, we can avoid this problem but code is hard to write and read (lots of ', escape char)
- --NOTE: private, don't call directly as relying on having temp table tmpcvtr
- --DROP TYPE soi_type CASCADE;
- CREATE TYPE soi_type AS (
- type_id bigint,
- subject_id bigint,
- object_id bigint
- );
- CREATE OR REPLACE FUNCTION _fill_cvtermpath4soinode(BIGINT, BIGINT, BIGINT, BIGINT, 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(BIGINT, BIGINT) RETURNS INTEGER AS
- '
- DECLARE
- rootid alias for $1;
- cvid alias for $2;
- ttype bigint;
- 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';
- --- use tmpcvtr to temp store soi (virtural ontology)
- --- using tmp tables is faster than using recursive function to create feature type relationship
- --- since it gets feature type rel set by set instead of one by one
- --- and getting feature type rel is very expensive
- --- call _fillcvtermpath4soi to create path for the virtual ontology
- 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 bigint;
- soiterm_id bigint;
- 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 BIGINT, type_id bigint, subject_id bigint, object_id bigint);
- 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 bigint not null, cvterm_id bigint 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';
- ---bad precedence: change customed type name
- ---drop here to remove old function
- --DROP TYPE feature_by_cvt_type CASCADE;
- --DROP TYPE fxgsfids_type CASCADE;
- --DROP TYPE feature_by_fx_type CASCADE;
- CREATE TYPE feature_by_fx_type AS (
- feature_id bigint,
- 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(bigint) 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(bigint) 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(bigint, 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';
- --- depth is reversed and meanless when union with results from get_sub_feature_ids
- CREATE OR REPLACE FUNCTION get_up_feature_ids(bigint, 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';
- --- children feature ids only (not include itself--parent) for SO type and range (src)
- 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';
- --- by SO type, usefull for tRNA, ncRNA, etc
- 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';
- --- get all feature ids (including children) for feature that has an ontology term (say GO function)
- 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';
- --- get all feature ids (including children) for feature with the property (type, val)
- 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';
- --- get all feature ids (including children) for feature with the property val
- 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';
- ---4 args: ptype, ctype, count, operator (valid SQL number comparison operator), and is_analysis
- ---get feature ids for any node with type = ptype whose child node type = ctype
- ---and child node feature count comparing (using operator) to ccount
- 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';
- -- $Id: companalysis.sql,v 1.37 2007-03-23 15:18:02 scottcain Exp $
- -- ==========================================
- -- Chado companalysis module
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import feature from sequence
- -- :import cvterm from cv
- -- :import dbxref from db
- -- :import pub from pub
- -- =================================================================
- -- ================================================
- -- TABLE: analysis
- -- ================================================
- create table analysis (
- analysis_id bigserial 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).';
- -- ================================================
- -- TABLE: analysisprop
- -- ================================================
- create table analysisprop (
- analysisprop_id bigserial not null,
- primary key (analysisprop_id),
- analysis_id bigint not null,
- foreign key (analysis_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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);
- -- ================================================
- -- TABLE: analysisfeature
- -- ================================================
- create table analysisfeature (
- analysisfeature_id bigserial not null,
- primary key (analysisfeature_id),
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- analysis_id bigint 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.';
- -- ================================================
- -- TABLE: analysisfeatureprop
- -- ================================================
- CREATE TABLE analysisfeatureprop (
- analysisfeatureprop_id bigserial PRIMARY KEY,
- analysisfeature_id bigint NOT NULL REFERENCES analysisfeature(analysisfeature_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
- type_id bigint NOT NULL REFERENCES cvterm(cvterm_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
- value TEXT,
- rank int NOT NULL,
- CONSTRAINT analysisfeature_id_type_id_rank UNIQUE(analysisfeature_id, type_id, rank)
- );
- create index analysisfeatureprop_idx1 on analysisfeatureprop (analysisfeature_id);
- create index analysisfeatureprop_idx2 on analysisfeatureprop (type_id);
- -- ================================================
- -- TABLE: analysis_dbxref
- -- ================================================
- create table analysis_dbxref (
- analysis_dbxref_id bigserial not null,
- analysis_id bigint not null,
- dbxref_id bigint not null,
- primary key (analysis_dbxref_id),
- is_current boolean not null default 'true',
- foreign key (analysis_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- constraint analysis_dbxref_c1 unique (analysis_id,dbxref_id)
- );
- create index analysis_dbxref_idx1 on analysis_dbxref (analysis_id);
- create index analysis_dbxref_idx2 on analysis_dbxref (dbxref_id);
- COMMENT ON TABLE analysis_dbxref IS 'Links an analysis to dbxrefs.';
- COMMENT ON COLUMN analysis_dbxref.is_current IS 'True if this dbxref
- is the most up to date accession in the corresponding db. Retired
- accessions should set this field to false';
- -- ================================================
- -- TABLE: analysis_cvterm
- -- ================================================
- create table analysis_cvterm (
- analysis_cvterm_id bigserial not null,
- analysis_id bigint not null,
- cvterm_id bigint not null,
- is_not boolean not null default false,
- rank integer not null default 0,
- primary key (analysis_cvterm_id),
- foreign key (analysis_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- constraint analysis_cvterm_c1 unique (analysis_id,cvterm_id,rank)
- );
- create index analysis_cvterm_idx1 on analysis_cvterm (analysis_id);
- create index analysis_cvterm_idx2 on analysis_cvterm (cvterm_id);
- COMMENT ON TABLE analysis_cvterm IS 'Associate a term from a cv with an analysis.';
- COMMENT ON COLUMN analysis_cvterm.is_not IS 'If this is set to true, then this
- annotation is interpreted as a NEGATIVE annotation - i.e. the analysis does
- NOT have the specified term.';
- -- ================================================
- -- TABLE: analysis_relationship
- -- ================================================
- create table analysis_relationship (
- analysis_relationship_id bigserial not null,
- subject_id bigint not null,
- object_id bigint not null,
- type_id bigint not null,
- value text null,
- rank int not null default 0,
- primary key (analysis_relationship_id),
- foreign key (subject_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- foreign key (object_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- constraint analysis_relationship_c1 unique (subject_id,object_id,type_id,rank)
- );
- create index analysis_relationship_idx1 on analysis_relationship (subject_id);
- create index analysis_relationship_idx2 on analysis_relationship (object_id);
- create index analysis_relationship_idx3 on analysis_relationship (type_id);
- COMMENT ON COLUMN analysis_relationship.subject_id IS 'analysis_relationship.subject_id i
- s the subject of the subj-predicate-obj sentence.';
- COMMENT ON COLUMN analysis_relationship.object_id IS 'analysis_relationship.object_id
- is the object of the subj-predicate-obj sentence.';
- COMMENT ON COLUMN analysis_relationship.type_id IS 'analysis_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 analysis_relationship.rank IS 'analysis_relationship.rank is
- the ordering of subject analysiss with respect to the object analysis may be
- important where rank is used to order these; starts from zero.';
- COMMENT ON COLUMN analysis_relationship.value IS 'analysis_relationship.value
- is for additional notes or comments.';
- -- ================================================
- -- TABLE: analysis_pub
- -- ================================================
- create table analysis_pub (
- analysis_pub_id bigserial not null,
- primary key (analysis_pub_id),
- analysis_id bigint not null,
- foreign key (analysis_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint analysis_pub_c1 unique (analysis_id, pub_id)
- );
- create index analysis_pub_idx1 on analysis_pub (analysis_id);
- create index analysis_pub_idx2 on analysis_pub (pub_id);
- COMMENT ON TABLE analysis_pub IS 'Provenance. Linking table between analyses and the publications that mention them.';
- CREATE OR REPLACE FUNCTION store_analysis (VARCHAR,VARCHAR,VARCHAR)
- RETURNS BIGINT AS
- 'DECLARE
- v_program ALIAS FOR $1;
- v_programversion ALIAS FOR $2;
- v_sourcename ALIAS FOR $3;
- pkval BIGINT;
- 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 OR REPLACE FUNCTION store_analysisfeature
- --()
- --RETURNS INT AS
- --'DECLARE
- -- v_srcfeature_id ALIAS FOR $1;
-
- -- $Id: phenotype.sql,v 1.6 2007-04-27 16:09:46 emmert Exp $
- -- ==========================================
- -- Chado phenotype module
- --
- -- 05-31-2011
- -- added 'name' column to phenotype. non-unique human readable field.
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import cvterm from cv
- -- :import feature from sequence
- -- =================================================================
- -- ================================================
- -- TABLE: phenotype
- -- ================================================
- CREATE TABLE phenotype (
- phenotype_id bigserial NOT NULL,
- primary key (phenotype_id),
- uniquename TEXT NOT NULL,
- name TEXT default null,
- observable_id bigint,
- FOREIGN KEY (observable_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- attr_id bigint,
- FOREIGN KEY (attr_id) REFERENCES cvterm (cvterm_id) ON DELETE SET NULL,
- value TEXT,
- cvalue_id bigint,
- FOREIGN KEY (cvalue_id) REFERENCES cvterm (cvterm_id) ON DELETE SET NULL,
- assay_id bigint,
- 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.';
- -- ================================================
- -- TABLE: phenotype_cvterm
- -- ================================================
- CREATE TABLE phenotype_cvterm (
- phenotype_cvterm_id bigserial NOT NULL,
- primary key (phenotype_cvterm_id),
- phenotype_id bigint NOT NULL,
- FOREIGN KEY (phenotype_id) REFERENCES phenotype (phenotype_id) ON DELETE CASCADE,
- cvterm_id bigint 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 'phenotype to cvterm associations.';
- -- ================================================
- -- TABLE: feature_phenotype
- -- ================================================
- CREATE TABLE feature_phenotype (
- feature_phenotype_id bigserial NOT NULL,
- primary key (feature_phenotype_id),
- feature_id bigint NOT NULL,
- FOREIGN KEY (feature_id) REFERENCES feature (feature_id) ON DELETE CASCADE,
- phenotype_id bigint 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 'Linking table between features and phenotypes.';
- -- ================================================
- -- TABLE: phenotypeprop
- -- ================================================
- create table phenotypeprop (
- phenotypeprop_id bigserial not null,
- primary key (phenotypeprop_id),
- phenotype_id bigint not null,
- foreign key (phenotype_id) references phenotype (phenotype_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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 phenotypeprop_c1 unique (phenotype_id,type_id,rank)
- );
- create index phenotypeprop_idx1 on phenotypeprop (phenotype_id);
- create index phenotypeprop_idx2 on phenotypeprop (type_id);
- COMMENT ON TABLE phenotypeprop IS 'A phenotype 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, phenotypeprop_c1, for the combination of phenotype_id, rank, and type_id. Multivalued property-value pairs must be differentiated by rank.';
- -- $Id: genetic.sql,v 1.31 2008-08-25 19:53:14 scottcain Exp $
- -- ==========================================
- -- Chado genetics module
- --
- -- changes 2011-05-31
- -- added type_id to genotype (can be null for backward compatibility)
- -- added genotypeprop table
- -- 2006-04-11
- -- split out phenotype tables into phenotype module
- --
- -- redesigned 2003-10-28
- --
- -- changes 2003-11-10:
- -- incorporating suggestions to make everything a gcontext; use
- -- gcontext_relationship to make some gcontexts derivable from others. we
- -- would incorporate environment this way - just add the environment
- -- descriptors as properties of the child gcontext
- --
- -- changes 2004-06 (Documented by DE: 10-MAR-2005):
- -- Many, including rename of gcontext to genotype, split
- -- phenstatement into phenstatement & phenotype, created environment
- --
- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- -- ============
- -- DEPENDENCIES
- -- ============
- -- :import feature from sequence
- -- :import phenotype from phenotype
- -- :import cvterm from cv
- -- :import pub from pub
- -- :import dbxref from db
- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- -- ================================================
- -- TABLE: genotype
- -- ================================================
- create table genotype (
- genotype_id bigserial not null,
- primary key (genotype_id),
- name text,
- uniquename text not null,
- description text,
- type_id bigint NOT NULL,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- 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.';
- -- ===============================================
- -- TABLE: feature_genotype
- -- ================================================
- create table feature_genotype (
- feature_genotype_id bigserial not null,
- primary key (feature_genotype_id),
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade,
- genotype_id bigint not null,
- foreign key (genotype_id) references genotype (genotype_id) on delete cascade,
- chromosome_id bigint,
- foreign key (chromosome_id) references feature (feature_id) on delete set null,
- rank int not null,
- cgroup int not null,
- cvterm_id bigint 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".';
- -- ================================================
- -- TABLE: environment
- -- ================================================
- create table environment (
- environment_id bigserial 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.';
- -- ================================================
- -- TABLE: environment_cvterm
- -- ================================================
- create table environment_cvterm (
- environment_cvterm_id bigserial not null,
- primary key (environment_cvterm_id),
- environment_id bigint not null,
- foreign key (environment_id) references environment (environment_id) on delete cascade,
- cvterm_id bigint 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;
- -- ================================================
- -- TABLE: phenstatement
- -- ================================================
- CREATE TABLE phenstatement (
- phenstatement_id bigserial NOT NULL,
- primary key (phenstatement_id),
- genotype_id bigint NOT NULL,
- FOREIGN KEY (genotype_id) REFERENCES genotype (genotype_id) ON DELETE CASCADE,
- environment_id bigint NOT NULL,
- FOREIGN KEY (environment_id) REFERENCES environment (environment_id) ON DELETE CASCADE,
- phenotype_id bigint NOT NULL,
- FOREIGN KEY (phenotype_id) REFERENCES phenotype (phenotype_id) ON DELETE CASCADE,
- type_id bigint NOT NULL,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: phendesc
- -- ================================================
- CREATE TABLE phendesc (
- phendesc_id bigserial NOT NULL,
- primary key (phendesc_id),
- genotype_id bigint NOT NULL,
- FOREIGN KEY (genotype_id) REFERENCES genotype (genotype_id) ON DELETE CASCADE,
- environment_id bigint NOT NULL,
- FOREIGN KEY (environment_id) REFERENCES environment ( environment_id) ON DELETE CASCADE,
- description TEXT NOT NULL,
- type_id bigint NOT NULL,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: phenotype_comparison
- -- ================================================
- CREATE TABLE phenotype_comparison (
- phenotype_comparison_id bigserial NOT NULL,
- primary key (phenotype_comparison_id),
- genotype1_id bigint NOT NULL,
- FOREIGN KEY (genotype1_id) REFERENCES genotype (genotype_id) ON DELETE CASCADE,
- environment1_id bigint NOT NULL,
- FOREIGN KEY (environment1_id) REFERENCES environment (environment_id) ON DELETE CASCADE,
- genotype2_id bigint NOT NULL,
- FOREIGN KEY (genotype2_id) REFERENCES genotype (genotype_id) ON DELETE CASCADE,
- environment2_id bigint NOT NULL,
- FOREIGN KEY (environment2_id) REFERENCES environment (environment_id) ON DELETE CASCADE,
- phenotype1_id bigint NOT NULL,
- FOREIGN KEY (phenotype1_id) REFERENCES phenotype (phenotype_id) ON DELETE CASCADE,
- phenotype2_id bigint,
- FOREIGN KEY (phenotype2_id) REFERENCES phenotype (phenotype_id) ON DELETE CASCADE,
- pub_id bigint NOT NULL,
- FOREIGN KEY (pub_id) REFERENCES pub (pub_id) ON DELETE CASCADE,
- organism_id bigint 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.';
- -- ================================================
- -- TABLE: phenotype_comparison_cvterm
- -- ================================================
- CREATE TABLE phenotype_comparison_cvterm (
- phenotype_comparison_cvterm_id bigserial not null,
- primary key (phenotype_comparison_cvterm_id),
- phenotype_comparison_id bigint not null,
- FOREIGN KEY (phenotype_comparison_id) references phenotype_comparison (phenotype_comparison_id) on delete cascade,
- cvterm_id bigint not null,
- FOREIGN KEY (cvterm_id) references cvterm (cvterm_id) on delete cascade,
- pub_id bigint 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);
- -- ================================================
- -- TABLE: genotypeprop
- -- ================================================
- create table genotypeprop (
- genotypeprop_id bigserial not null,
- primary key (genotypeprop_id),
- genotype_id bigint not null,
- foreign key (genotype_id) references genotype (genotype_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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 genotypeprop_c1 unique (genotype_id,type_id,rank)
- );
- create index genotypeprop_idx1 on genotypeprop (genotype_id);
- create index genotypeprop_idx2 on genotypeprop (type_id);
- -- $Id: map.sql,v 1.14 2007-03-23 15:18:02 scottcain Exp $
- -- ==========================================
- -- Chado map module
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import feature from sequence
- -- :import cvterm from cv
- -- :import pub from pub
- -- :import contact from contact
- -- :import dbxref from db
- -- :import organism from organism
- -- =================================================================
- -- ================================================
- -- TABLE: featuremap
- -- ================================================
- create table featuremap (
- featuremap_id bigserial not null,
- primary key (featuremap_id),
- name varchar(255),
- description text,
- unittype_id bigint null,
- foreign key (unittype_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- constraint featuremap_c1 unique (name)
- );
- -- ================================================
- -- TABLE: featurerange
- -- ================================================
- create table featurerange (
- featurerange_id bigserial not null,
- primary key (featurerange_id),
- featuremap_id bigint not null,
- foreign key (featuremap_id) references featuremap (featuremap_id) on delete cascade INITIALLY DEFERRED,
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- leftstartf_id bigint not null,
- foreign key (leftstartf_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- leftendf_id bigint,
- foreign key (leftendf_id) references feature (feature_id) on delete set null INITIALLY DEFERRED,
- rightstartf_id bigint,
- foreign key (rightstartf_id) references feature (feature_id) on delete set null INITIALLY DEFERRED,
- rightendf_id bigint 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.';
- -- ================================================
- -- TABLE: featurepos
- -- ================================================
- create table featurepos (
- featurepos_id bigserial not null,
- primary key (featurepos_id),
- featuremap_id bigint not null,
- foreign key (featuremap_id) references featuremap (featuremap_id) on delete cascade INITIALLY DEFERRED,
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- map_feature_id bigint 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.';
- -- ================================================
- -- TABLE: featureposprop
- -- ================================================
- CREATE TABLE featureposprop (
- featureposprop_id bigserial primary key NOT NULL,
- featurepos_id bigint NOT NULL,
- type_id bigint NOT NULL,
- value text,
- rank integer DEFAULT 0 NOT NULL,
- CONSTRAINT featureposprop_c1 UNIQUE (featurepos_id, type_id, rank),
- FOREIGN KEY (featurepos_id) REFERENCES featurepos(featurepos_id) ON DELETE CASCADE,
- FOREIGN KEY (type_id) REFERENCES cvterm(cvterm_id) ON DELETE CASCADE
- );
- CREATE INDEX featureposprop_idx1 ON featureposprop USING btree (featurepos_id);
- CREATE INDEX featureposprop_idx2 ON featureposprop USING btree (type_id);
- COMMENT ON TABLE featureposprop IS 'Property or attribute of a featurepos record.';
- -- ================================================
- -- TABLE: featuremap_pub
- -- ================================================
- create table featuremap_pub (
- featuremap_pub_id bigserial not null,
- primary key (featuremap_pub_id),
- featuremap_id bigint not null,
- foreign key (featuremap_id) references featuremap (featuremap_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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);
- -- ================================================
- -- TABLE: featuremapprop
- -- ================================================
- CREATE TABLE featuremapprop (
- featuremapprop_id bigserial primary key NOT NULL,
- featuremap_id bigint NOT NULL,
- type_id bigint NOT NULL,
- value text,
- rank integer DEFAULT 0 NOT NULL,
- FOREIGN KEY (featuremap_id) REFERENCES featuremap(featuremap_id) ON DELETE CASCADE,
- FOREIGN KEY (type_id) REFERENCES cvterm(cvterm_id) ON DELETE CASCADE,
- CONSTRAINT featuremapprop_c1 UNIQUE (featuremap_id, type_id, rank)
- );
- create index featuremapprop_idx1 on featuremapprop(featuremap_id);
- create index featuremapprop_idx2 on featuremapprop(type_id);
- COMMENT ON TABLE featuremapprop IS 'A featuremap 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.';
- -- ================================================
- -- TABLE: featuremap_contact
- -- ================================================
- CREATE TABLE featuremap_contact (
- featuremap_contact_id bigserial primary key NOT NULL,
- featuremap_id bigint NOT NULL,
- contact_id bigint NOT NULL,
- CONSTRAINT featuremap_contact_c1 UNIQUE (featuremap_id, contact_id),
- FOREIGN KEY (contact_id) REFERENCES contact(contact_id) ON DELETE CASCADE,
- FOREIGN KEY (featuremap_id) REFERENCES featuremap(featuremap_id) ON DELETE CASCADE
- );
- CREATE INDEX featuremap_contact_idx1 ON featuremap_contact USING btree (featuremap_id);
- CREATE INDEX featuremap_contact_idx2 ON featuremap_contact USING btree (contact_id);
- COMMENT ON TABLE featuremap_contact IS 'Links contact(s) with a featuremap. Used to
- indicate a particular person or organization responsible for constrution of or
- that can provide more information on a particular featuremap.';
- -- ================================================
- -- TABLE: featuremap_dbxref
- -- ================================================
- CREATE TABLE featuremap_dbxref (
- featuremap_dbxref_id bigserial primary key NOT NULL,
- featuremap_id bigint NOT NULL,
- dbxref_id bigint NOT NULL,
- is_current boolean DEFAULT true NOT NULL,
- FOREIGN KEY (featuremap_id) REFERENCES featuremap(featuremap_id) ON DELETE CASCADE,
- FOREIGN KEY (dbxref_id) REFERENCES dbxref(dbxref_id) ON DELETE CASCADE
- );
- CREATE INDEX featuremap_dbxref_idx1 ON featuremap_dbxref USING btree (featuremap_id);
- CREATE INDEX featuremap_dbxref_idx2 ON featuremap_dbxref USING btree (dbxref_id);
- COMMENT ON TABLE feature_dbxref IS 'Links a feature to dbxrefs.';
- 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';
- -- ================================================
- -- TABLE: featuremap_organism
- -- ================================================
- CREATE TABLE featuremap_organism (
- featuremap_organism_id bigserial primary key NOT NULL,
- featuremap_id bigint NOT NULL,
- organism_id bigint NOT NULL,
- CONSTRAINT featuremap_organism_c1 UNIQUE (featuremap_id, organism_id),
- FOREIGN KEY (featuremap_id) REFERENCES featuremap(featuremap_id) ON DELETE CASCADE,
- FOREIGN KEY (organism_id) REFERENCES organism(organism_id) ON DELETE CASCADE
- );
- CREATE INDEX featuremap_organism_idx1 ON featuremap_organism USING btree (featuremap_id);
- CREATE INDEX featuremap_organism_idx2 ON featuremap_organism USING btree (organism_id);
- COMMENT ON TABLE featuremap_organism IS 'Links a featuremap to the organism(s) with which it is associated.';
- -- $Id: phylogeny.sql,v 1.11 2007-04-12 17:00:30 briano Exp $
- -- ==========================================
- -- Chado phylogenetics module
- --
- -- Richard Bruskiewich
- -- Chris Mungall
- --
- -- Initial design: 2004-05-27
- --
- -- ============
- -- DEPENDENCIES
- -- ============
- -- :import feature from sequence
- -- :import cvterm from cv
- -- :import pub from pub
- -- :import organism from organism
- -- :import dbxref from db
- -- :import analysis from companalysis
- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- -- ================================================
- -- TABLE: phylotree
- -- ================================================
- create table phylotree (
- phylotree_id bigserial not null,
- primary key (phylotree_id),
- dbxref_id bigint not null,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade,
- name varchar(255) null,
- type_id bigint,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- analysis_id bigint 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".';
- -- ================================================
- -- TABLE: phylotree_pub
- -- ================================================
- create table phylotree_pub (
- phylotree_pub_id bigserial not null,
- primary key (phylotree_pub_id),
- phylotree_id bigint not null,
- foreign key (phylotree_id) references phylotree (phylotree_id) on delete cascade,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: phylotreeprop
- -- ================================================
- create table phylotreeprop (
- phylotreeprop_id bigserial not null,
- phylotree_id bigint not null,
- type_id bigint not null,
- value text null,
- rank int not null default 0,
- primary key (phylotreeprop_id),
- foreign key (phylotree_id) references phylotree (phylotree_id) on delete cascade INITIALLY DEFERRED,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- constraint phylotreeprop_c1 unique (phylotree_id,type_id,rank)
- );
- create index phylotreeprop_idx1 on phylotreeprop (phylotree_id);
- create index phylotreeprop_idx2 on phylotreeprop (type_id);
- COMMENT ON TABLE phylotreeprop IS 'A phylotree 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 phylotreeprop.type_id IS 'The name of the property/slot is a cvterm.
- The meaning of the property is defined in that cvterm.';
- COMMENT ON COLUMN phylotreeprop.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 phylotreeprop.rank IS 'Property-Value ordering. Any
- phylotree 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 phylotreeprop_c1 IS 'For any one phylotree, multivalued
- property-value pairs must be differentiated by rank.';
- -- ================================================
- -- TABLE: phylonode
- -- ================================================
- create table phylonode (
- phylonode_id bigserial not null,
- primary key (phylonode_id),
- phylotree_id bigint not null,
- foreign key (phylotree_id) references phylotree (phylotree_id) on delete cascade,
- parent_phylonode_id bigint 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 bigint,
- foreign key(type_id) references cvterm (cvterm_id) on delete cascade,
- feature_id bigint,
- foreign key (feature_id) references feature (feature_id) on delete cascade,
- label varchar(255) null,
- distance float null,
- -- Bootstrap float null.
- unique(phylotree_id, left_idx),
- unique(phylotree_id, right_idx)
- );
- CREATE INDEX phylonode_parent_phylonode_id_idx ON phylonode (parent_phylonode_id);
- 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.';
- -- ================================================
- -- TABLE: phylonode_dbxref
- -- ================================================
- create table phylonode_dbxref (
- phylonode_dbxref_id bigserial not null,
- primary key (phylonode_dbxref_id),
- phylonode_id bigint not null,
- foreign key (phylonode_id) references phylonode (phylonode_id) on delete cascade,
- dbxref_id bigint 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.';
- -- ================================================
- -- TABLE: phylonode_pub
- -- ================================================
- create table phylonode_pub (
- phylonode_pub_id bigserial not null,
- primary key (phylonode_pub_id),
- phylonode_id bigint not null,
- foreign key (phylonode_id) references phylonode (phylonode_id) on delete cascade,
- pub_id bigint 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);
- -- ================================================
- -- TABLE: phylonode_organism
- -- ================================================
- create table phylonode_organism (
- phylonode_organism_id bigserial not null,
- primary key (phylonode_organism_id),
- phylonode_id bigint not null,
- foreign key (phylonode_id) references phylonode (phylonode_id) on delete cascade,
- organism_id bigint 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.';
- -- ================================================
- -- TABLE: phylonodeprop
- -- ================================================
- create table phylonodeprop (
- phylonodeprop_id bigserial not null,
- primary key (phylonodeprop_id),
- phylonode_id bigint not null,
- foreign key (phylonode_id) references phylonode (phylonode_id) on delete cascade,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- value text not null default '',
- -- It is not clear how useful the rank concept is here, leave it in for now.
- 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.';
- -- ================================================
- -- TABLE: phylonode_relationship
- -- ================================================
- create table phylonode_relationship (
- phylonode_relationship_id bigserial not null,
- primary key (phylonode_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references phylonode (phylonode_id) on delete cascade,
- object_id bigint not null,
- foreign key (object_id) references phylonode (phylonode_id) on delete cascade,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- rank int,
- phylotree_id bigint 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(bigint)
- 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(bigint)
- RETURNS FLOAT AS
- '
- SELECT coalesce(max(phylonode_height(phylonode_id) + distance), 0.0)
- FROM phylonode
- WHERE parent_phylonode_id = $1
- '
- LANGUAGE 'sql';
- -- $Id: expression.sql,v 1.14 2007-03-23 15:18:02 scottcain Exp $
- -- ==========================================
- -- Chado expression module
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import feature from sequence
- -- :import cvterm from cv
- -- :import pub from pub
- -- =================================================================
- -- ================================================
- -- TABLE: expression
- -- ================================================
- create table expression (
- expression_id bigserial 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.';
- -- ================================================
- -- TABLE: expression_cvterm
- -- ================================================
- create table expression_cvterm (
- expression_cvterm_id bigserial not null,
- primary key (expression_cvterm_id),
- expression_id bigint not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id bigint not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- rank int not null default 0,
- cvterm_type_id bigint 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,rank,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);
- --================================================
- -- TABLE: expression_cvtermprop
- -- ================================================
- create table expression_cvtermprop (
- expression_cvtermprop_id bigserial not null,
- primary key (expression_cvtermprop_id),
- expression_cvterm_id bigint not null,
- foreign key (expression_cvterm_id) references expression_cvterm (expression_cvterm_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: expressionprop
- -- ================================================
- create table expressionprop (
- expressionprop_id bigserial not null,
- primary key (expressionprop_id),
- expression_id bigint not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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);
- -- ================================================
- -- TABLE: expression_pub
- -- ================================================
- create table expression_pub (
- expression_pub_id bigserial not null,
- primary key (expression_pub_id),
- expression_id bigint not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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);
- -- ================================================
- -- TABLE: feature_expression
- -- ================================================
- create table feature_expression (
- feature_expression_id bigserial not null,
- primary key (feature_expression_id),
- expression_id bigint not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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);
- -- ================================================
- -- TABLE: feature_expressionprop
- -- ================================================
- create table feature_expressionprop (
- feature_expressionprop_id bigserial not null,
- primary key (feature_expressionprop_id),
- feature_expression_id bigint not null,
- foreign key (feature_expression_id) references feature_expression (feature_expression_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: eimage
- -- ================================================
- create table eimage (
- eimage_id bigserial 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.';
- -- ================================================
- -- TABLE: expression_image
- -- ================================================
- create table expression_image (
- expression_image_id bigserial not null,
- primary key (expression_image_id),
- expression_id bigint not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- eimage_id bigint 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);
- -- $Id: library.sql,v 1.10 2008-03-25 16:00:43 emmert Exp $
- -- =================================================================
- -- Dependencies:
- --
- -- :import feature from sequence
- -- :import synonym from sequence
- -- :import cvterm from cv
- -- :import pub from pub
- -- :import organism from organism
- -- :import expression from expression
- -- :import dbxref from db
- -- :import contact from contact
- -- =================================================================
- -- ================================================
- -- TABLE: library
- -- ================================================
- create table library (
- library_id bigserial not null,
- primary key (library_id),
- organism_id bigint not null,
- foreign key (organism_id) references organism (organism_id),
- name varchar(255),
- uniquename text not null,
- type_id bigint 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"';
- -- ================================================
- -- TABLE: library_synonym
- -- ================================================
- create table library_synonym (
- library_synonym_id bigserial not null,
- primary key (library_synonym_id),
- synonym_id bigint not null,
- foreign key (synonym_id) references synonym (synonym_id) on delete cascade INITIALLY DEFERRED,
- library_id bigint not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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 TABLE library_synonym IS 'Linking table between library and synonym.';
- 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.';
- -- ================================================
- -- TABLE: library_pub
- -- ================================================
- create table library_pub (
- library_pub_id bigserial not null,
- primary key (library_pub_id),
- library_id bigint not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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);
- COMMENT ON TABLE library_pub IS 'Attribution for a library.';
- -- ================================================
- -- TABLE: libraryprop
- -- ================================================
- create table libraryprop (
- libraryprop_id bigserial not null,
- primary key (libraryprop_id),
- library_id bigint not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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);
- COMMENT ON TABLE libraryprop IS 'Tag-value properties - follows standard chado model.';
- -- ================================================
- -- TABLE: libraryprop_pub
- -- ================================================
- create table libraryprop_pub (
- libraryprop_pub_id bigserial not null,
- primary key (libraryprop_pub_id),
- libraryprop_id bigint not null,
- foreign key (libraryprop_id) references libraryprop (libraryprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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);
- COMMENT ON TABLE libraryprop_pub IS 'Attribution for libraryprop.';
- -- ================================================
- -- TABLE: library_cvterm
- -- ================================================
- create table library_cvterm (
- library_cvterm_id bigserial not null,
- primary key (library_cvterm_id),
- library_id bigint not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id bigint not null,
- foreign key (cvterm_id) references cvterm (cvterm_id),
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: library_feature
- -- ================================================
- create table library_feature (
- library_feature_id bigserial not null,
- primary key (library_feature_id),
- library_id bigint not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- feature_id bigint 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".';
- -- ================================================
- -- TABLE: library_dbxref
- -- ================================================
- create table library_dbxref (
- library_dbxref_id bigserial not null,
- primary key (library_dbxref_id),
- library_id bigint not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint 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);
- COMMENT ON TABLE library_dbxref IS 'Links a library to dbxrefs.';
- -- ================================================
- -- TABLE: library_expression
- -- ================================================
- create table library_expression (
- library_expression_id bigserial not null,
- primary key (library_expression_id),
- library_id bigint not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- expression_id bigint not null,
- foreign key (expression_id) references expression (expression_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id),
- constraint library_expression_c1 unique (library_id,expression_id)
- );
- create index library_expression_idx1 on library_expression (library_id);
- create index library_expression_idx2 on library_expression (expression_id);
- create index library_expression_idx3 on library_expression (pub_id);
- COMMENT ON TABLE library_expression IS 'Links a library to expression statements.';
- -- ================================================
- -- TABLE: library_expressionprop
- -- ================================================
- create table library_expressionprop (
- library_expressionprop_id bigserial not null,
- primary key (library_expressionprop_id),
- library_expression_id bigint not null,
- foreign key (library_expression_id) references library_expression (library_expression_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id),
- value text null,
- rank int not null default 0,
- constraint library_expressionprop_c1 unique (library_expression_id,type_id,rank)
- );
- create index library_expressionprop_idx1 on library_expressionprop (library_expression_id);
- create index library_expressionprop_idx2 on library_expressionprop (type_id);
- COMMENT ON TABLE library_expressionprop IS 'Attributes of a library_expression relationship.';
- -- ================================================
- -- TABLE: library_featureprop
- -- ================================================
- create table library_featureprop (
- library_featureprop_id bigserial not null,
- primary key (library_featureprop_id),
- library_feature_id bigint not null,
- foreign key (library_feature_id) references library_feature (library_feature_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id),
- value text null,
- rank int not null default 0,
- constraint library_featureprop_c1 unique (library_feature_id,type_id,rank)
- );
- create index library_featureprop_idx1 on library_featureprop (library_feature_id);
- create index library_featureprop_idx2 on library_featureprop (type_id);
- COMMENT ON TABLE library_featureprop IS 'Attributes of a library_feature relationship.';
- -- ================================================
- -- TABLE: library_relationship
- -- ================================================
- create table library_relationship (
- library_relationship_id bigserial not null,
- primary key (library_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint not null,
- foreign key (object_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id),
- constraint library_relationship_c1 unique (subject_id,object_id,type_id)
- );
- create index library_relationship_idx1 on library_relationship (subject_id);
- create index library_relationship_idx2 on library_relationship (object_id);
- create index library_relationship_idx3 on library_relationship (type_id);
- COMMENT ON TABLE library_relationship IS 'Relationships between libraries.';
- -- ================================================
- -- TABLE: library_relationship_pub
- -- ================================================
- create table library_relationship_pub (
- library_relationship_pub_id bigserial not null,
- primary key (library_relationship_pub_id),
- library_relationship_id bigint not null,
- foreign key (library_relationship_id) references library_relationship (library_relationship_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id),
- constraint library_relationship_pub_c1 unique (library_relationship_id,pub_id)
- );
- create index library_relationship_pub_idx1 on library_relationship_pub (library_relationship_id);
- create index library_relationship_pub_idx2 on library_relationship_pub (pub_id);
- COMMENT ON TABLE library_relationship_pub IS 'Provenance of library_relationship.';
- -- ================================================
- -- TABLE: library_contact
- -- ================================================
- CREATE TABLE library_contact (
- library_contact_id bigserial primary key NOT NULL,
- library_id bigint NOT NULL,
- contact_id bigint NOT NULL,
- CONSTRAINT library_contact_c1 UNIQUE (library_id, contact_id),
- FOREIGN KEY (library_id) REFERENCES library(library_id) ON DELETE CASCADE,
- FOREIGN KEY (contact_id) REFERENCES contact(contact_id) ON DELETE CASCADE
- );
- CREATE INDEX library_contact_idx1 ON library USING btree (library_id);
- CREATE INDEX library_contact_idx2 ON contact USING btree (contact_id);
- COMMENT ON TABLE library_contact IS 'Links contact(s) with a library. Used to indicate a particular person or organization responsible for creation of or that can provide more information on a particular library.';
- -- $Id: stock.sql,v 1.7 2007-03-23 15:18:03 scottcain Exp $
- -- ==========================================
- -- Chado stock module
- --
- -- DEPENDENCIES
- -- ============
- -- :import cvterm from cv
- -- :import pub from pub
- -- :import dbxref from db
- -- :import organism from organism
- -- :import genotype from genetic
- -- :import contact from contact
- -- :import feature from sequence
- -- :import featuremap from map
- -- ================================================
- -- TABLE: stock
- -- ================================================
- create table stock (
- stock_id bigserial not null,
- primary key (stock_id),
- dbxref_id bigint,
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete set null INITIALLY DEFERRED,
- organism_id bigint,
- foreign key (organism_id) references organism (organism_id) on delete cascade INITIALLY DEFERRED,
- name varchar(255),
- uniquename text not null,
- description text,
- type_id bigint 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 should only be left blank if the organism cannot be determined.';
- 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.';
- -- ================================================
- -- TABLE: stock_pub
- -- ================================================
- create table stock_pub (
- stock_pub_id bigserial not null,
- primary key (stock_pub_id),
- stock_id bigint not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: stockprop
- -- ================================================
- create table stockprop (
- stockprop_id bigserial not null,
- primary key (stockprop_id),
- stock_id bigint not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: stockprop_pub
- -- ================================================
- create table stockprop_pub (
- stockprop_pub_id bigserial not null,
- primary key (stockprop_pub_id),
- stockprop_id bigint not null,
- foreign key (stockprop_id) references stockprop (stockprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: stock_relationship
- -- ================================================
- create table stock_relationship (
- stock_relationship_id bigserial not null,
- primary key (stock_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint not null,
- foreign key (object_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: stock_relationship_cvterm
- -- ================================================
- CREATE TABLE stock_relationship_cvterm (
- stock_relationship_cvterm_id bigserial NOT NULL,
- PRIMARY KEY (stock_relationship_cvterm_id),
- stock_relationship_id bigint NOT NULL,
- FOREIGN KEY (stock_relationship_id) references stock_relationship (stock_relationship_id) ON DELETE CASCADE INITIALLY DEFERRED,
- cvterm_id bigint NOT NULL,
- FOREIGN KEY (cvterm_id) REFERENCES cvterm (cvterm_id) ON DELETE RESTRICT,
- pub_id bigint,
- FOREIGN KEY (pub_id) REFERENCES pub (pub_id) ON DELETE RESTRICT
- );
- COMMENT ON TABLE stock_relationship_cvterm is 'For germplasm maintenance and pedigree data, stock_relationship. type_id will record cvterms such as "is a female parent of", "a parent for mutation", "is a group_id of", "is a source_id of", etc The cvterms for higher categories such as "generative", "derivative" or "maintenance" can be stored in table stock_relationship_cvterm';
- -- ================================================
- -- TABLE: stock_relationship_pub
- -- ================================================
- create table stock_relationship_pub (
- stock_relationship_pub_id bigserial not null,
- primary key (stock_relationship_pub_id),
- stock_relationship_id bigint not null,
- foreign key (stock_relationship_id) references stock_relationship (stock_relationship_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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.';
- -- ================================================
- -- TABLE: stock_dbxref
- -- ================================================
- create table stock_dbxref (
- stock_dbxref_id bigserial not null,
- primary key (stock_dbxref_id),
- stock_id bigint not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint 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.';
- -- ================================================
- -- TABLE: stock_cvterm
- -- ================================================
- create table stock_cvterm (
- stock_cvterm_id bigserial not null,
- primary key (stock_cvterm_id),
- stock_id bigint not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id bigint not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- is_not boolean not null default false,
- rank int not null default 0,
- constraint stock_cvterm_c1 unique (stock_id,cvterm_id,pub_id,rank)
- );
- 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.';
- -- ================================================
- -- TABLE: stock_cvtermprop
- -- ================================================
- create table stock_cvtermprop (
- stock_cvtermprop_id bigserial not null,
- primary key (stock_cvtermprop_id),
- stock_cvterm_id bigint not null,
- foreign key (stock_cvterm_id) references stock_cvterm (stock_cvterm_id) on delete cascade,
- type_id bigint 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_cvtermprop_c1 unique (stock_cvterm_id,type_id,rank)
- );
- create index stock_cvtermprop_idx1 on stock_cvtermprop (stock_cvterm_id);
- create index stock_cvtermprop_idx2 on stock_cvtermprop (type_id);
- COMMENT ON TABLE stock_cvtermprop IS 'Extensible properties for
- stock 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 stockprop table for
- meanings of type_id, value and rank.';
- COMMENT ON COLUMN stock_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 stock_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 stock_cvtermprop.rank IS 'Property-Value
- ordering. Any stock_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.';
- -- ================================================
- -- TABLE: stock_genotype
- -- ================================================
- create table stock_genotype (
- stock_genotype_id bigserial not null,
- primary key (stock_genotype_id),
- stock_id bigint not null,
- foreign key (stock_id) references stock (stock_id) on delete cascade,
- genotype_id bigint 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.';
- -- ================================================
- -- TABLE: stockcollection
- -- ================================================
- create table stockcollection (
- stockcollection_id bigserial not null,
- primary key (stockcollection_id),
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade,
- contact_id bigint 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.';
- -- ================================================
- -- TABLE: stockcollectionprop
- -- ================================================
- create table stockcollectionprop (
- stockcollectionprop_id bigserial not null,
- primary key (stockcollectionprop_id),
- stockcollection_id bigint not null,
- foreign key (stockcollection_id) references stockcollection (stockcollection_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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".';
- -- ================================================
- -- TABLE: stockcollection_stock
- -- ================================================
- create table stockcollection_stock (
- stockcollection_stock_id bigserial not null,
- primary key (stockcollection_stock_id),
- stockcollection_id bigint not null,
- foreign key (stockcollection_id) references stockcollection (stockcollection_id) on delete cascade INITIALLY DEFERRED,
- stock_id bigint 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.';
- -- ================================================
- -- TABLE: stock_dbxrefprop
- -- ================================================
- create table stock_dbxrefprop (
- stock_dbxrefprop_id bigserial not null,
- primary key (stock_dbxrefprop_id),
- stock_dbxref_id bigint not null,
- foreign key (stock_dbxref_id) references stock_dbxref (stock_dbxref_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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_dbxrefprop_c1 unique (stock_dbxref_id,type_id,rank)
- );
- create index stock_dbxrefprop_idx1 on stock_dbxrefprop (stock_dbxref_id);
- create index stock_dbxrefprop_idx2 on stock_dbxrefprop (type_id);
- COMMENT ON TABLE stock_dbxrefprop IS 'A stock_dbxref can have any number of
- slot-value property tags attached to it. This is useful for storing properties related to dbxref annotations of stocks, such as evidence codes, and references, and metadata, such as create/modify dates. This is an alternative to
- hardcoding a list of columns in the relational schema, and is
- completely extensible. There is a unique constraint, stock_dbxrefprop_c1, for
- the combination of stock_dbxref_id, rank, and type_id. Multivalued property-value pairs must be differentiated by rank.';
- -- ================================================
- -- TABLE: stockcollection_db
- -- ================================================
- CREATE TABLE stockcollection_db (
- stockcollection_db_id bigserial primary key NOT NULL,
- stockcollection_id bigint NOT NULL,
- db_id bigint NOT NULL,
- CONSTRAINT stockcollection_db_c1 UNIQUE (stockcollection_id, db_id),
- FOREIGN KEY (db_id) REFERENCES db(db_id) ON DELETE CASCADE,
- FOREIGN KEY (stockcollection_id) REFERENCES stockcollection(stockcollection_id) ON DELETE CASCADE
- );
- CREATE INDEX stockcollection_db_idx1 ON stockcollection_db USING btree (stockcollection_id);
- CREATE INDEX stockcollection_db_idx2 ON stockcollection_db USING btree (db_id);
- COMMENT ON TABLE stockcollection_db IS 'Stock collections may be respresented
- by an external online database. This table associates a stock collection with
- a database where its member stocks can be found. Individual stock that are part
- of this collction should have entries in the stock_dbxref table with the same
- db_id record';
- -- ================================================
- -- TABLE: stock_feature
- -- ================================================
- CREATE TABLE stock_feature (
- stock_feature_id bigserial NOT NULL,
- feature_id bigint NOT NULL,
- stock_id bigint NOT NULL,
- type_id bigint NOT NULL,
- rank INT NOT NULL DEFAULT 0,
- PRIMARY KEY (stock_feature_id),
- FOREIGN KEY (feature_id) REFERENCES feature (feature_id) ON DELETE CASCADE INITIALLY DEFERRED,
- FOREIGN KEY (stock_id) REFERENCES stock (stock_id) ON DELETE CASCADE INITIALLY DEFERRED,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE INITIALLY DEFERRED,
- CONSTRAINT stock_feature_c1 UNIQUE (feature_id, stock_id, type_id, rank)
- );
- create index stock_feature_idx1 on stock_feature (stock_feature_id);
- create index stock_feature_idx2 on stock_feature (feature_id);
- create index stock_feature_idx3 on stock_feature (stock_id);
- create index stock_feature_idx4 on stock_feature (type_id);
- COMMENT ON TABLE stock_feature IS 'Links a stock to a feature.';
- -- ================================================
- -- TABLE: stock_featuremap
- -- ================================================
- CREATE TABLE stock_featuremap (
- stock_featuremap_id bigserial NOT NULL,
- featuremap_id bigint NOT NULL,
- stock_id bigint NOT NULL,
- type_id bigint,
- PRIMARY KEY (stock_featuremap_id),
- FOREIGN KEY (featuremap_id) REFERENCES featuremap (featuremap_id) ON DELETE CASCADE INITIALLY DEFERRED,
- FOREIGN KEY (stock_id) REFERENCES stock (stock_id) ON DELETE CASCADE INITIALLY DEFERRED,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE INITIALLY DEFERRED,
- CONSTRAINT stock_featuremap_c1 UNIQUE (featuremap_id, stock_id, type_id)
- );
- create index stock_featuremap_idx1 on stock_featuremap (featuremap_id);
- create index stock_featuremap_idx2 on stock_featuremap (stock_id);
- create index stock_featuremap_idx3 on stock_featuremap (type_id);
- COMMENT ON TABLE stock_featuremap IS 'Links a featuremap to a stock.';
- -- ================================================
- -- TABLE: stock_library
- -- ================================================
- CREATE TABLE stock_library (
- stock_library_id bigserial primary key NOT NULL,
- library_id bigint NOT NULL,
- stock_id bigint NOT NULL,
- CONSTRAINT stock_library_c1 UNIQUE (library_id, stock_id),
- FOREIGN KEY (library_id) REFERENCES library(library_id) ON DELETE CASCADE,
- FOREIGN KEY (stock_id) REFERENCES stock(stock_id) ON DELETE CASCADE
- );
- CREATE INDEX stock_library_idx1 ON stock_library USING btree (library_id);
- CREATE INDEX stock_library_idx2 ON stock_library USING btree (stock_id);
- COMMENT ON TABLE stock_library IS 'Links a stock with a library.';
- -- ==========================================
- -- Chado project module. Used primarily by other Chado modules to
- -- group experiments, stocks, and so forth that are associated with
- -- eachother administratively or organizationally.
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import cvterm from cv
- -- :import pub from pub
- -- :import contact from contact
- -- :import dbxref from db
- -- :import analysis from companalysis
- -- :import feature from sequence
- -- :import stock from stock
- -- =================================================================
- -- ================================================
- -- TABLE: project
- -- ================================================
- create table project (
- project_id bigserial not null,
- primary key (project_id),
- name varchar(255) not null,
- description text,
- constraint project_c1 unique (name)
- );
- COMMENT ON TABLE project IS
- 'A project is some kind of planned endeavor. Used primarily by other
- Chado modules to group experiments, stocks, and so forth that are
- associated with eachother administratively or organizationally.';
- -- ================================================
- -- TABLE: projectprop
- -- ================================================
- CREATE TABLE projectprop (
- projectprop_id bigserial NOT NULL,
- PRIMARY KEY (projectprop_id),
- project_id bigint NOT NULL,
- FOREIGN KEY (project_id) REFERENCES project (project_id) ON DELETE CASCADE,
- type_id bigint NOT NULL,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE CASCADE,
- value text,
- rank int not null default 0,
- CONSTRAINT projectprop_c1 UNIQUE (project_id, type_id, rank)
- );
- COMMENT ON TABLE project IS
- 'Standard Chado flexible property table for projects.';
- -- ================================================
- -- TABLE: project_relationship
- -- ================================================
- CREATE TABLE project_relationship (
- project_relationship_id bigserial NOT NULL,
- PRIMARY KEY (project_relationship_id),
- subject_project_id bigint NOT NULL,
- FOREIGN KEY (subject_project_id) REFERENCES project (project_id) ON DELETE CASCADE,
- object_project_id bigint NOT NULL,
- FOREIGN KEY (object_project_id) REFERENCES project (project_id) ON DELETE CASCADE,
- type_id bigint NOT NULL,
- FOREIGN KEY (type_id) REFERENCES cvterm (cvterm_id) ON DELETE RESTRICT,
- CONSTRAINT project_relationship_c1 UNIQUE (subject_project_id, object_project_id, type_id)
- );
- COMMENT ON TABLE project_relationship IS
- 'Linking table for relating projects to each other. For example, a
- given project could be composed of several smaller subprojects';
- COMMENT ON COLUMN project_relationship.type_id IS
- 'The cvterm type of the relationship being stated, such as "part of".';
- -- ================================================
- -- TABLE: project_pub
- -- ================================================
- create table project_pub (
- project_pub_id bigserial not null,
- primary key (project_pub_id),
- project_id bigint not null,
- foreign key (project_id) references project (project_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint project_pub_c1 unique (project_id,pub_id)
- );
- create index project_pub_idx1 on project_pub (project_id);
- create index project_pub_idx2 on project_pub (pub_id);
- COMMENT ON TABLE project_pub IS 'Linking table for associating projects and publications.';
- -- ================================================
- -- TABLE: project_contact
- -- ================================================
- create table project_contact (
- project_contact_id bigserial not null,
- primary key (project_contact_id),
- project_id bigint not null,
- foreign key (project_id) references project (project_id) on delete cascade INITIALLY DEFERRED,
- contact_id bigint not null,
- foreign key (contact_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- constraint project_contact_c1 unique (project_id,contact_id)
- );
- create index project_contact_idx1 on project_contact (project_id);
- create index project_contact_idx2 on project_contact (contact_id);
- COMMENT ON TABLE project_contact IS 'Linking table for associating projects and contacts.';
- -- ================================================
- -- TABLE: project_dbxref
- -- ================================================
- create table project_dbxref (
- project_dbxref_id bigserial not null,
- project_id bigint not null,
- dbxref_id bigint not null,
- is_current boolean not null default 'true',
- primary key (project_dbxref_id),
- foreign key (dbxref_id) references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED,
- foreign key (project_id) references project (project_id) on delete cascade INITIALLY DEFERRED,
- constraint project_dbxref_c1 unique (project_id,dbxref_id)
- );
- create index project_dbxref_idx1 on project_dbxref (project_id);
- create index project_dbxref_idx2 on project_dbxref (dbxref_id);
- COMMENT ON TABLE project_dbxref IS 'project_dbxref links a project to dbxrefs.';
- COMMENT ON COLUMN project_dbxref.is_current IS 'The is_current boolean indicates whether the linked dbxref is the current -official- dbxref for the linked project.';
- -- ================================================
- -- TABLE: project_analysis
- -- ================================================
- create table project_analysis (
- project_analysis_id bigserial not null,
- primary key (project_analysis_id),
- project_id bigint not null,
- foreign key (project_id) references project (project_id) on delete cascade INITIALLY DEFERRED,
- analysis_id bigint not null,
- foreign key (analysis_id) references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- rank int not null default 0,
- constraint project_analysis_c1 unique (project_id,analysis_id)
- );
- create index project_analysis_idx1 on project_analysis (project_id);
- create index project_analysis_idx2 on project_analysis (analysis_id);
- COMMENT ON TABLE project_analysis IS 'Links an analysis to a project that may contain multiple analyses.
- The rank column can be used to specify a simple ordering in which analyses were executed.';
- -- ================================================
- -- TABLE: project_feature
- -- ================================================
- CREATE TABLE project_feature (
- project_feature_id bigserial primary key NOT NULL,
- feature_id bigint NOT NULL,
- project_id bigint NOT NULL,
- CONSTRAINT project_feature_c1 UNIQUE (feature_id, project_id),
- FOREIGN KEY (feature_id) REFERENCES feature(feature_id) ON DELETE CASCADE,
- FOREIGN KEY (project_id) REFERENCES project(project_id) ON DELETE CASCADE
- );
- CREATE INDEX project_feature_idx1 ON project_feature USING btree (feature_id);
- CREATE INDEX project_feature_idx2 ON project_feature USING btree (project_id);
- COMMENT ON TABLE project_feature IS 'This table is intended associate records in the feature table with a project.';
- -- ================================================
- -- TABLE: project_stock
- -- ================================================
- CREATE TABLE project_stock (
- project_stock_id bigserial primary key NOT NULL,
- stock_id bigint NOT NULL,
- project_id bigint NOT NULL,
- CONSTRAINT project_stock_c1 UNIQUE (stock_id, project_id),
- FOREIGN KEY (stock_id) REFERENCES stock(stock_id) ON DELETE CASCADE,
- FOREIGN KEY (project_id) REFERENCES project(project_id) ON DELETE CASCADE
- );
- CREATE INDEX project_stock_idx1 ON project_stock USING btree (stock_id);
- CREATE INDEX project_stock_idx2 ON project_stock USING btree (project_id);
- COMMENT ON TABLE project_stock IS 'This table is intended associate records in the stock table with a project.';
- -- $Id: mage.sql,v 1.3 2008-03-19 18:32:51 scottcain Exp $
- -- ==========================================
- -- Chado mage module
- --
- -- =================================================================
- -- Dependencies:
- --
- -- :import feature from sequence
- -- :import cvterm from cv
- -- :import pub from pub
- -- :import organism from organism
- -- :import contact from contact
- -- :import dbxref from db
- -- :import tableinfo from general
- -- :import project from project
- -- :import analysis from companalysis
- -- =================================================================
- -- ================================================
- -- TABLE: mageml
- -- ================================================
- create table mageml (
- mageml_id bigserial 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.';
- -- ================================================
- -- TABLE: magedocumentation
- -- ================================================
- create table magedocumentation (
- magedocumentation_id bigserial not null,
- primary key (magedocumentation_id),
- mageml_id bigint not null,
- foreign key (mageml_id) references mageml (mageml_id) on delete cascade INITIALLY DEFERRED,
- tableinfo_id bigint 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;
- -- ================================================
- -- TABLE: protocol
- -- ================================================
- create table protocol (
- protocol_id bigserial not null,
- primary key (protocol_id),
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint null,
- foreign key (pub_id) references pub (pub_id) on delete set null INITIALLY DEFERRED,
- dbxref_id bigint 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.';
- -- ================================================
- -- TABLE: protocolparam
- -- ================================================
- create table protocolparam (
- protocolparam_id bigserial not null,
- primary key (protocolparam_id),
- protocol_id bigint not null,
- foreign key (protocol_id) references protocol (protocol_id) on delete cascade INITIALLY DEFERRED,
- name text not null,
- datatype_id bigint null,
- foreign key (datatype_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- unittype_id bigint 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.';
- -- ================================================
- -- TABLE: channel
- -- ================================================
- create table channel (
- channel_id bigserial 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).';
- -- ================================================
- -- TABLE: arraydesign
- -- ================================================
- create table arraydesign (
- arraydesign_id bigserial not null,
- primary key (arraydesign_id),
- manufacturer_id bigint not null,
- foreign key (manufacturer_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- platformtype_id bigint not null,
- foreign key (platformtype_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- substratetype_id bigint null,
- foreign key (substratetype_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- protocol_id bigint null,
- foreign key (protocol_id) references protocol (protocol_id) on delete set null INITIALLY DEFERRED,
- dbxref_id bigint 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).';
- -- ================================================
- -- TABLE: arraydesignprop
- -- ================================================
- create table arraydesignprop (
- arraydesignprop_id bigserial not null,
- primary key (arraydesignprop_id),
- arraydesign_id bigint not null,
- foreign key (arraydesign_id) references arraydesign (arraydesign_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: assay
- -- ================================================
- create table assay (
- assay_id bigserial not null,
- primary key (assay_id),
- arraydesign_id bigint not null,
- foreign key (arraydesign_id) references arraydesign (arraydesign_id) on delete cascade INITIALLY DEFERRED,
- protocol_id bigint 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 bigint not null,
- foreign key (operator_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint 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.';
- -- ================================================
- -- TABLE: assayprop
- -- ================================================
- create table assayprop (
- assayprop_id bigserial not null,
- primary key (assayprop_id),
- assay_id bigint not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: assay_project
- -- ================================================
- create table assay_project (
- assay_project_id bigserial not null,
- primary key (assay_project_id),
- assay_id bigint not null,
- foreign key (assay_id) references assay (assay_id) INITIALLY DEFERRED,
- project_id bigint 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.';
- -- ================================================
- -- TABLE: biomaterial
- -- ================================================
- create table biomaterial (
- biomaterial_id bigserial not null,
- primary key (biomaterial_id),
- taxon_id bigint null,
- foreign key (taxon_id) references organism (organism_id) on delete set null INITIALLY DEFERRED,
- biosourceprovider_id bigint null,
- foreign key (biosourceprovider_id) references contact (contact_id) on delete set null INITIALLY DEFERRED,
- dbxref_id bigint 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.';
- -- ================================================
- -- TABLE: biomaterial_relationship
- -- ================================================
- create table biomaterial_relationship (
- biomaterial_relationship_id bigserial not null,
- primary key (biomaterial_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references biomaterial (biomaterial_id) INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) INITIALLY DEFERRED,
- object_id bigint 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.';
- -- ================================================
- -- TABLE: biomaterialprop
- -- ================================================
- create table biomaterialprop (
- biomaterialprop_id bigserial not null,
- primary key (biomaterialprop_id),
- biomaterial_id bigint not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: biomaterial_dbxref
- -- ================================================
- create table biomaterial_dbxref (
- biomaterial_dbxref_id bigserial not null,
- primary key (biomaterial_dbxref_id),
- biomaterial_id bigint not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint 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);
- -- ================================================
- -- TABLE: treatment
- -- ================================================
- create table treatment (
- treatment_id bigserial not null,
- primary key (treatment_id),
- rank int not null default 0,
- biomaterial_id bigint not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- protocol_id bigint 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.';
- -- ================================================
- -- TABLE: biomaterial_treatment
- -- ================================================
- create table biomaterial_treatment (
- biomaterial_treatment_id bigserial not null,
- primary key (biomaterial_treatment_id),
- biomaterial_id bigint not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- treatment_id bigint not null,
- foreign key (treatment_id) references treatment (treatment_id) on delete cascade INITIALLY DEFERRED,
- unittype_id bigint 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).';
- -- ================================================
- -- TABLE: assay_biomaterial
- -- ================================================
- create table assay_biomaterial (
- assay_biomaterial_id bigserial not null,
- primary key (assay_biomaterial_id),
- assay_id bigint not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- biomaterial_id bigint not null,
- foreign key (biomaterial_id) references biomaterial (biomaterial_id) on delete cascade INITIALLY DEFERRED,
- channel_id bigint 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).';
- -- ================================================
- -- TABLE: acquisition
- -- ================================================
- create table acquisition (
- acquisition_id bigserial not null,
- primary key (acquisition_id),
- assay_id bigint not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- protocol_id bigint null,
- foreign key (protocol_id) references protocol (protocol_id) on delete set null INITIALLY DEFERRED,
- channel_id bigint 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.';
- -- ================================================
- -- TABLE: acquisitionprop
- -- ================================================
- create table acquisitionprop (
- acquisitionprop_id bigserial not null,
- primary key (acquisitionprop_id),
- acquisition_id bigint not null,
- foreign key (acquisition_id) references acquisition (acquisition_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: acquisition_relationship
- -- ================================================
- create table acquisition_relationship (
- acquisition_relationship_id bigserial not null,
- primary key (acquisition_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references acquisition (acquisition_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint 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.';
- -- ================================================
- -- TABLE: quantification
- -- ================================================
- create table quantification (
- quantification_id bigserial not null,
- primary key (quantification_id),
- acquisition_id bigint not null,
- foreign key (acquisition_id) references acquisition (acquisition_id) on delete cascade INITIALLY DEFERRED,
- operator_id bigint null,
- foreign key (operator_id) references contact (contact_id) on delete set null INITIALLY DEFERRED,
- protocol_id bigint null,
- foreign key (protocol_id) references protocol (protocol_id) on delete set null INITIALLY DEFERRED,
- analysis_id bigint 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.';
- -- ================================================
- -- TABLE: quantificationprop
- -- ================================================
- create table quantificationprop (
- quantificationprop_id bigserial not null,
- primary key (quantificationprop_id),
- quantification_id bigint not null,
- foreign key (quantification_id) references quantification (quantification_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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.';
- -- ================================================
- -- TABLE: quantification_relationship
- -- ================================================
- create table quantification_relationship (
- quantification_relationship_id bigserial not null,
- primary key (quantification_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references quantification (quantification_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint 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.';
- -- ================================================
- -- TABLE: control
- -- ================================================
- create table control (
- control_id bigserial not null,
- primary key (control_id),
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- assay_id bigint not null,
- foreign key (assay_id) references assay (assay_id) on delete cascade INITIALLY DEFERRED,
- tableinfo_id bigint 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;
- -- ================================================
- -- TABLE: element
- -- ================================================
- create table element (
- element_id bigserial not null,
- primary key (element_id),
- feature_id bigint null,
- foreign key (feature_id) references feature (feature_id) on delete set null INITIALLY DEFERRED,
- arraydesign_id bigint not null,
- foreign key (arraydesign_id) references arraydesign (arraydesign_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint null,
- foreign key (type_id) references cvterm (cvterm_id) on delete set null INITIALLY DEFERRED,
- dbxref_id bigint 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.';
- -- ================================================
- -- TABLE: element_result
- -- ================================================
- create table elementresult (
- elementresult_id bigserial not null,
- primary key (elementresult_id),
- element_id bigint not null,
- foreign key (element_id) references element (element_id) on delete cascade INITIALLY DEFERRED,
- quantification_id bigint 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.';
- -- ================================================
- -- TABLE: element_relationship
- -- ================================================
- create table element_relationship (
- element_relationship_id bigserial not null,
- primary key (element_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references element (element_id) INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) INITIALLY DEFERRED,
- object_id bigint 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.';
- -- ================================================
- -- TABLE: elementresult_relationship
- -- ================================================
- create table elementresult_relationship (
- elementresult_relationship_id bigserial not null,
- primary key (elementresult_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references elementresult (elementresult_id) INITIALLY DEFERRED,
- type_id bigint not null,
- foreign key (type_id) references cvterm (cvterm_id) INITIALLY DEFERRED,
- object_id bigint 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.';
- -- ================================================
- -- TABLE: study
- -- ================================================
- create table study (
- study_id bigserial not null,
- primary key (study_id),
- contact_id bigint not null,
- foreign key (contact_id) references contact (contact_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint null,
- foreign key (pub_id) references pub (pub_id) on delete set null INITIALLY DEFERRED,
- dbxref_id bigint 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;
- -- ================================================
- -- TABLE: study_assay
- -- ================================================
- create table study_assay (
- study_assay_id bigserial not null,
- primary key (study_assay_id),
- study_id bigint not null,
- foreign key (study_id) references study (study_id) on delete cascade INITIALLY DEFERRED,
- assay_id bigint 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;
- -- ================================================
- -- TABLE: studydesign
- -- ================================================
- create table studydesign (
- studydesign_id bigserial not null,
- primary key (studydesign_id),
- study_id bigint 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;
- -- ================================================
- -- TABLE: studydesignprop
- -- ================================================
- create table studydesignprop (
- studydesignprop_id bigserial not null,
- primary key (studydesignprop_id),
- studydesign_id bigint not null,
- foreign key (studydesign_id) references studydesign (studydesign_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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;
- -- ================================================
- -- TABLE: studyfactor
- -- ================================================
- create table studyfactor (
- studyfactor_id bigserial not null,
- primary key (studyfactor_id),
- studydesign_id bigint not null,
- foreign key (studydesign_id) references studydesign (studydesign_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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;
- -- ================================================
- -- TABLE: studyfactorvalue
- -- ================================================
- create table studyfactorvalue (
- studyfactorvalue_id bigserial not null,
- primary key (studyfactorvalue_id),
- studyfactor_id bigint not null,
- foreign key (studyfactor_id) references studyfactor (studyfactor_id) on delete cascade INITIALLY DEFERRED,
- assay_id bigint 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;
- --
- -- studyprop and studyprop_feature added for Kara Dolinski's group
- --
- -- Here is her description of it:
- --Both of the tables are used for our YFGdb project
- --(http://yfgdb.princeton.edu/), which uses chado.
- --
- --Here is how we use those tables, using the following example:
- --
- --http://yfgdb.princeton.edu/cgi-bin/display.cgi?db=pmid&id=15575969
- --
- --The above data set is represented as a row in the STUDY table. We have
- --lots of attributes that we want to store about each STUDY (status, etc)
- --and in the official schema, the only prop table we could use was the
- --STUDYDESIGN_PROP table. This forced us to go through the STUDYDESIGN
- --table when we often have no real data to store in that table (small
- --percent of our collection use MAGE-ML unfortunately, and even fewer
- --provide all the data in the MAGE model, of which STUDYDESIGN is a vestige).
- --So, we created a STUDYPROP table. I'd think this table would be
- --generally useful to people storing various types of data sets via the
- --STUDY table.
- --
- --The other new table is STUDYPROP_FEATURE. This basically allows us to
- --group features together per study. For example, we can store microarray
- --clustering results by saying that the STUDYPROP type is 'cluster' (via
- --type_id -> CVTERM of course), the value is 'cluster id 123', and then
- --that cluster would be associated with all the features that are in that
- --cluster via STUDYPROP_FEATURE. Adding type_id to STUDYPROP_FEATURE is
- -- fine by us!
- --
- --studyprop
- create table studyprop (
- studyprop_id bigserial not null,
- primary key (studyprop_id),
- study_id bigint not null,
- foreign key (study_id) references study (study_id) on delete cascade,
- type_id bigint 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);
- --studyprop_feature
- CREATE TABLE studyprop_feature (
- studyprop_feature_id bigserial NOT NULL,
- primary key (studyprop_feature_id),
- studyprop_id bigint NOT NULL,
- foreign key (studyprop_id) references studyprop(studyprop_id) on delete cascade,
- feature_id bigint NOT NULL,
- foreign key (feature_id) references feature (feature_id) on delete cascade,
- type_id bigint,
- 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);
- -- ==========================================
- -- Chado cell line module
- --
- -- ============
- -- DEPENDENCIES
- -- ============
- -- :import feature from sequence
- -- :import synonym from sequence
- -- :import library from library
- -- :import cvterm from cv
- -- :import dbxref from db
- -- :import pub from pub
- -- :import organism from organism
- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- -- ================================================
- -- TABLE: cell_line
- -- ================================================
- create table cell_line (
- cell_line_id bigserial not null,
- primary key (cell_line_id),
- name varchar(255) null,
- uniquename varchar(255) not null,
- organism_id bigint 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;
- -- ================================================
- -- TABLE: cell_line_relationship
- -- ================================================
- create table cell_line_relationship (
- cell_line_relationship_id bigserial not null,
- primary key (cell_line_relationship_id),
- subject_id bigint not null,
- foreign key (subject_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- object_id bigint not null,
- foreign key (object_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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;
- -- ================================================
- -- TABLE: cell_line_synonym
- -- ================================================
- create table cell_line_synonym (
- cell_line_synonym_id bigserial not null,
- primary key (cell_line_synonym_id),
- cell_line_id bigint not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- synonym_id bigint not null,
- foreign key (synonym_id) references synonym (synonym_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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;
- -- ================================================
- -- TABLE: cell_line_cvterm
- -- ================================================
- create table cell_line_cvterm (
- cell_line_cvterm_id bigserial not null,
- primary key (cell_line_cvterm_id),
- cell_line_id bigint not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- cvterm_id bigint not null,
- foreign key (cvterm_id) references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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;
- -- ================================================
- -- TABLE: cell_line_dbxref
- -- ================================================
- create table cell_line_dbxref (
- cell_line_dbxref_id bigserial not null,
- primary key (cell_line_dbxref_id),
- cell_line_id bigint not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint 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;
- -- ================================================
- -- TABLE: cell_lineprop
- -- ================================================
- create table cell_lineprop (
- cell_lineprop_id bigserial not null,
- primary key (cell_lineprop_id),
- cell_line_id bigint not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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;
- -- ================================================
- -- TABLE: cell_lineprop_pub
- -- ================================================
- create table cell_lineprop_pub (
- cell_lineprop_pub_id bigserial not null,
- primary key (cell_lineprop_pub_id),
- cell_lineprop_id bigint not null,
- foreign key (cell_lineprop_id) references cell_lineprop (cell_lineprop_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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;
- -- ================================================
- -- TABLE: cell_line_feature
- -- ================================================
- create table cell_line_feature (
- cell_line_feature_id bigserial not null,
- primary key (cell_line_feature_id),
- cell_line_id bigint not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- feature_id bigint not null,
- foreign key (feature_id) references feature (feature_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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;
- -- ================================================
- -- TABLE: cell_line_cvtermprop
- -- ================================================
- create table cell_line_cvtermprop (
- cell_line_cvtermprop_id bigserial not null,
- primary key (cell_line_cvtermprop_id),
- cell_line_cvterm_id bigint not null,
- foreign key (cell_line_cvterm_id) references cell_line_cvterm (cell_line_cvterm_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint 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;
- -- ================================================
- -- TABLE: cell_line_pub
- -- ================================================
- create table cell_line_pub (
- cell_line_pub_id bigserial not null,
- primary key (cell_line_pub_id),
- cell_line_id bigint not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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;
- -- ================================================
- -- TABLE: cell_line_library
- -- ================================================
- create table cell_line_library (
- cell_line_library_id bigserial not null,
- primary key (cell_line_library_id),
- cell_line_id bigint not null,
- foreign key (cell_line_id) references cell_line (cell_line_id) on delete cascade INITIALLY DEFERRED,
- library_id bigint not null,
- foreign key (library_id) references library (library_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint 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;
- -- VIEW gffatts: a view to get feature attributes in a format that
- -- will make it easy to convert them to GFF attributes
- CREATE OR REPLACE VIEW gffatts (
- feature_id,
- type,
- attribute
- ) AS
- SELECT feature_id, 'Ontology_term' 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, 'Alias' 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;
- --creates a view that can be used to assemble a GFF3 compliant attribute string
- 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' and cv_id in (select cv_id
- FROM cv WHERE name='relationship'))
- UNION ALL
- SELECT fr.subject_id as feature_id, 'Derives_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' and cv_id in (select cv_id
- FROM cv WHERE name='relationship'))
- 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;
- --replaced with Rob B's improved view
- 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,
- COALESCE(gffdbx.accession,'.'::varchar(255)), cv.name,
- fl.fmin+1, fl.fmax,
- COALESCE(CAST(af.significance AS text), '.'),
- CASE WHEN fl.strand=-1 THEN '-'
- WHEN fl.strand=1 THEN '+'
- ELSE '.'
- END,
- COALESCE(CAST(fl.phase AS text), '.'), 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);
- -- FUNCTION gfffeatureatts (integer) is a function to get
- -- data in the same format as the gffatts view so that
- -- it can be easily converted to GFF attributes.
- CREATE FUNCTION gfffeatureatts (bigint)
- RETURNS SETOF gffatts
- AS
- '
- SELECT feature_id, ''Ontology_term'' 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, ''Alias'' 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;
- --
- -- functions for creating coordinate based functions
- --
- -- create a point
- CREATE OR REPLACE FUNCTION featureslice(bigint, bigint) RETURNS setof featureloc AS
- 'SELECT * from featureloc where boxquery($1, $2) @ boxrange(fmin,fmax)'
- LANGUAGE 'sql';
- --uses the gff3atts to create a GFF3 compliant attribute string
- CREATE OR REPLACE FUNCTION gffattstring (bigint) 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 bigint;
- 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;
- --creates a view that is suitable for creating a GFF3 string
- --CREATE OR REPLACE VIEW gff3view (
- --REMOVED and RECREATED in sequence-gff-views.sql to avoid
- --using the function above
- --------------------------------
- ---- all_feature_names ---------
- --------------------------------
- -- This is a view to replace the denormaliziation of the synonym
- -- table. It contains names and uniquenames from feature and
- -- synonym.names from the synonym table, so that GBrowse has one
- -- place to search for names.
- --
- -- To materialize this view, run gmod_materialized_view_tool.pl -c and
- -- answer the questions with these responses:
- --
- -- all_feature_names
- --
- -- public.all_feature_names
- --
- -- y (yes, replace the existing view)
- --
- -- (some update frequency, I chose daily)
- --
- -- feature_id bigint,name varchar(255),organism_id bigint
- --
- -- (the select part of the view below, all on one line)
- --
- -- feature_id,name
- --
- -- create index all_feature_names_lower_name on all_feature_names (lower(name))
- --
- -- y
- --
- -- OR, you could execute this command (the materialized view tool has been
- -- updated to allow this all to be supplied on the command line):
- --
- -- (yes, it's all one really long line, to make copy and pasting easier)
- -- gmod_materialized_view_tool.pl --create_view --view_name all_feature_names --table_name public.all_feature_names --refresh_time daily --column_def "feature_id bigint,name varchar(255),organism_id bigint" --sql_query "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" --index_fields "feature_id,name" --special_index "create index all_feature_names_lower_name on all_feature_names (lower(name))" --yes
- --
- --
- -- OR, even more complicated, you could use this command to create a materialized view
- -- for use with full text searching on PostgreSQL 8.4 or better:
- --
- -- gmod_materialized_view_tool.pl --create_view --view_name all_feature_names --table_name public.all_feature_names --refresh_time daily --column_def "feature_id bigint,name varchar(255),organism_id bigint,searchable_name tsvector" --sql_query "SELECT feature_id, CAST(substring(uniquename FROM 0 FOR 255) AS varchar(255)) AS name, organism_id, to_tsvector('english', CAST(substring(uniquename FROM 0 FOR 255) AS varchar(255))) AS searchable_name FROM feature UNION SELECT feature_id, name, organism_id, to_tsvector('english', name) AS searchable_name FROM feature WHERE name IS NOT NULL UNION SELECT fs.feature_id, s.name, f.organism_id, to_tsvector('english', s.name) AS searchable_name 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, to_tsvector('english',CAST(substring(fp.value FROM 0 FOR 255) AS varchar(255))) AS searchable_name FROM featureprop fp, feature f WHERE f.feature_id = fp.feature_id UNION SELECT fd.feature_id, d.accession, f.organism_id,to_tsvector('english',d.accession) AS searchable_name FROM feature_dbxref fd, dbxref d,feature f WHERE fd.dbxref_id = d.dbxref_id AND fd.feature_id = f.feature_id" --index_fields "feature_id,name" --special_index "CREATE INDEX searchable_all_feature_names_idx ON all_feature_names USING gin(searchable_name)" --yes
- --
- 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;
- --------------------------------
- ---- dfeatureloc ---------------
- --------------------------------
- -- dfeatureloc is meant as an alternate representation of
- -- the data in featureloc (see the descrption of featureloc
- -- in sequence.sql). In dfeatureloc, fmin and fmax are
- -- replaced with nbeg and nend. Whereas fmin and fmax
- -- are absolute coordinates relative to the parent feature, nbeg
- -- and nend are the beginning and ending coordinates
- -- relative to the feature itself. For example, nbeg would
- -- mark the 5' end of a gene and nend would mark the 3' end.
- 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) ;
- --------------------------------
- ---- f_type --------------------
- --------------------------------
- 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;
- --------------------------------
- ---- fnr_type ------------------
- --------------------------------
- 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;
- --------------------------------
- ---- f_loc ---------------------
- --------------------------------
- -- Note from Scott: I changed this view to depend on dfeatureloc,
- -- since I don't know what it is used for. The change should
- -- be transparent. I also changed dbxrefstr to dbxref_id since
- -- dbxrefstr is no longer in feature
- 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;
- --------------------------------
- ---- fp_key -------------------
- --------------------------------
- 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;
- -- [symmetric,reflexive]
- -- intervals have at least one interbase point in common
- -- (i.e. overlap OR abut)
- -- EXAMPLE QUERY:
- -- (features of same type that overlap)
- -- SELECT r.*
- -- FROM feature AS x
- -- INNER JOIN feature_meets AS r ON (x.feature_id=r.subject_id)
- -- INNER JOIN feature AS y ON (y.feature_id=r.object_id)
- -- WHERE x.type_id=y.type_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';
- -- [symmetric,reflexive]
- -- as above, strands match
- 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';
- -- [symmetric]
- -- intervals have no interbase points in common and do not abut
- 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';
- -- 4-ary relation
- 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';
- -- 4-ary relation
- 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';
- -- 4-ary relation
- -- subtract object interval from subject interval
- -- (may leave zero, one or two intervals)
- CREATE OR REPLACE VIEW feature_difference (
- subject_id,
- object_id,
- srcfeature_id,
- fmin,
- fmax,
- strand
- ) AS
- -- left interval
- 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
- -- right interval
- 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';
- -- 4-ary relation
- 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';
- -- [transitive,reflexive]
- -- (should this be made non-reflexive?)
- -- subject intervals contains (or is same as) object interval
- 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';
- -- featureset relations:
- -- a featureset relation is true between any two features x and y
- -- if the relation is true for any x' and y' where x' and y' are
- -- subfeatures of x and y
- -- see feature_meets
- -- example: two transcripts meet if any of their exons or CDSs overlap
- -- or abut
- 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);
- -- =================================================================
- -- Dependencies:
- --
- -- :import feature from sequence
- -- :import cvterm from cv
- -- :import pub from pub
- -- :import phenotype from phenotype
- -- :import organism from organism
- -- :import genotype from genetic
- -- :import contact from contact
- -- :import project from project
- -- :import stock from stock
- -- :import synonym
- -- =================================================================
- -- this probably needs some work, depending on how cross-database we
- -- want to be. In Postgres, at least, there are much better ways to
- -- represent geo information.
- -- ================================================
- -- TABLE: nd_geolocation
- -- ================================================
- CREATE TABLE nd_geolocation (
- nd_geolocation_id bigserial PRIMARY KEY NOT NULL,
- description text,
- latitude real,
- longitude real,
- geodetic_datum character varying(32),
- altitude real
- );
- CREATE INDEX nd_geolocation_idx1 ON nd_geolocation (latitude);
- CREATE INDEX nd_geolocation_idx2 ON nd_geolocation (longitude);
- CREATE INDEX nd_geolocation_idx3 ON nd_geolocation (altitude);
- COMMENT ON TABLE nd_geolocation IS 'The geo-referencable location of the stock. NOTE: This entity is subject to change as a more general and possibly more OpenGIS-compliant geolocation module may be introduced into Chado.';
- COMMENT ON COLUMN nd_geolocation.description IS 'A textual representation of the location, if this is the original georeference. Optional if the original georeference is available in lat/long coordinates.';
- COMMENT ON COLUMN nd_geolocation.latitude IS 'The decimal latitude coordinate of the georeference, using positive and negative sign to indicate N and S, respectively.';
- COMMENT ON COLUMN nd_geolocation.longitude IS 'The decimal longitude coordinate of the georeference, using positive and negative sign to indicate E and W, respectively.';
- COMMENT ON COLUMN nd_geolocation.geodetic_datum IS 'The geodetic system on which the geo-reference coordinates are based. For geo-references measured between 1984 and 2010, this will typically be WGS84.';
- COMMENT ON COLUMN nd_geolocation.altitude IS 'The altitude (elevation) of the location in meters. If the altitude is only known as a range, this is the average, and altitude_dev will hold half of the width of the range.';
- -- ================================================
- -- TABLE: nd_experiment
- -- ================================================
- CREATE TABLE nd_experiment (
- nd_experiment_id bigserial PRIMARY KEY NOT NULL,
- nd_geolocation_id bigint NOT NULL references nd_geolocation (nd_geolocation_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_experiment_idx1 ON nd_experiment (nd_geolocation_id);
- CREATE INDEX nd_experiment_idx2 ON nd_experiment (type_id);
- COMMENT ON TABLE nd_experiment IS 'This is the core table for the natural diversity module,
- representing each individual assay that is undertaken (this is usually *not* an
- entire experiment). Each nd_experiment should give rise to a single genotype or
- phenotype and be described via 1 (or more) protocols. Collections of assays that
- relate to each other should be linked to the same record in the project table.';
- -- ================================================
- -- TABLE: nd_experiment_project
- -- ================================================
- --
- --used to be nd_diversityexperiment_project
- --then was nd_assay_project
- CREATE TABLE nd_experiment_project (
- nd_experiment_project_id bigserial PRIMARY KEY NOT NULL,
- project_id bigint not null references project (project_id) on delete cascade INITIALLY DEFERRED,
- nd_experiment_id bigint NOT NULL references nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- CONSTRAINT nd_experiment_project_c1 unique (project_id, nd_experiment_id)
- );
- CREATE INDEX nd_experiment_project_idx1 ON nd_experiment_project (project_id);
- CREATE INDEX nd_experiment_project_idx2 ON nd_experiment_project (nd_experiment_id);
- COMMENT ON TABLE nd_experiment_project IS 'Used to group together related nd_experiment records. All nd_experiments
- should be linked to at least one project.';
- -- ================================================
- -- TABLE: nd_experimentprop
- -- ================================================
- CREATE TABLE nd_experimentprop (
- nd_experimentprop_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_id bigint NOT NULL references nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED ,
- value text null,
- rank int NOT NULL default 0,
- constraint nd_experimentprop_c1 unique (nd_experiment_id,type_id,rank)
- );
- CREATE INDEX nd_experimentprop_idx1 ON nd_experimentprop (nd_experiment_id);
- CREATE INDEX nd_experimentprop_idx2 ON nd_experimentprop (type_id);
- COMMENT ON TABLE nd_experimentprop IS 'An nd_experiment 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.';
- -- ================================================
- -- TABLE: nd_experiment_pub
- -- ================================================
- CREATE TABLE nd_experiment_pub (
- nd_experiment_pub_id bigserial PRIMARY KEY not null,
- nd_experiment_id bigint not null,
- foreign key (nd_experiment_id) references nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- pub_id bigint not null,
- foreign key (pub_id) references pub (pub_id) on delete cascade INITIALLY DEFERRED,
- constraint nd_experiment_pub_c1 unique (nd_experiment_id,pub_id)
- );
- create index nd_experiment_pub_idx1 on nd_experiment_pub (nd_experiment_id);
- create index nd_experiment_pub_idx2 on nd_experiment_pub (pub_id);
- COMMENT ON TABLE nd_experiment_pub IS 'Linking nd_experiment(s) to publication(s)';
- -- ================================================
- -- TABLE: nd_geolocationprop
- -- ================================================
- CREATE TABLE nd_geolocationprop (
- nd_geolocationprop_id bigserial PRIMARY KEY NOT NULL,
- nd_geolocation_id bigint NOT NULL references nd_geolocation (nd_geolocation_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int NOT NULL DEFAULT 0,
- constraint nd_geolocationprop_c1 unique (nd_geolocation_id,type_id,rank)
- );
- CREATE INDEX nd_geolocationprop_idx1 ON nd_geolocationprop (nd_geolocation_id);
- CREATE INDEX nd_geolocationprop_idx2 ON nd_geolocationprop (type_id);
- COMMENT ON TABLE nd_geolocationprop IS 'Property/value associations for geolocations. This table can store the properties such as location and environment';
- COMMENT ON COLUMN nd_geolocationprop.type_id IS 'The name of the property as a reference to a controlled vocabulary term.';
- COMMENT ON COLUMN nd_geolocationprop.value IS 'The value of the property.';
- COMMENT ON COLUMN nd_geolocationprop.rank IS 'The rank of the property value, if the property has an array of values.';
- -- ================================================
- -- TABLE: nd_protocol
- -- ================================================
- CREATE TABLE nd_protocol (
- nd_protocol_id bigserial PRIMARY KEY NOT NULL,
- name character varying(255) NOT NULL unique,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_protocol_idx1 ON nd_protocol (type_id);
- COMMENT ON TABLE nd_protocol IS 'A protocol can be anything that is done as part of the experiment.';
- COMMENT ON COLUMN nd_protocol.name IS 'The protocol name.';
- -- ================================================
- -- TABLE: nd_reagent
- -- ===============================================
- CREATE TABLE nd_reagent (
- nd_reagent_id bigserial PRIMARY KEY NOT NULL,
- name character varying(80) NOT NULL,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- feature_id bigint NULL references feature (feature_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_reagent_idx1 ON nd_reagent (type_id);
- CREATE INDEX nd_reagent_idx2 ON nd_reagent (feature_id);
- COMMENT ON TABLE nd_reagent IS 'A reagent such as a primer, an enzyme, an adapter oligo, a linker oligo. Reagents are used in genotyping experiments, or in any other kind of experiment.';
- COMMENT ON COLUMN nd_reagent.name IS 'The name of the reagent. The name should be unique for a given type.';
- COMMENT ON COLUMN nd_reagent.type_id IS 'The type of the reagent, for example linker oligomer, or forward primer.';
- COMMENT ON COLUMN nd_reagent.feature_id IS 'If the reagent is a primer, the feature that it corresponds to. More generally, the corresponding feature for any reagent that has a sequence that maps to another sequence.';
- -- ================================================
- -- TABLE: nd_protocol_reagent
- -- ================================================
- CREATE TABLE nd_protocol_reagent (
- nd_protocol_reagent_id bigserial PRIMARY KEY NOT NULL,
- nd_protocol_id bigint NOT NULL references nd_protocol (nd_protocol_id) on delete cascade INITIALLY DEFERRED,
- reagent_id bigint NOT NULL references nd_reagent (nd_reagent_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_protocol_reagent_idx1 ON nd_protocol_reagent (nd_protocol_id);
- CREATE INDEX nd_protocol_reagent_idx2 ON nd_protocol_reagent (reagent_id);
- CREATE INDEX nd_protocol_reagent_idx3 ON nd_protocol_reagent (type_id);
- -- ================================================
- -- TABLE: nd_protocolprop
- -- ================================================
- CREATE TABLE nd_protocolprop (
- nd_protocolprop_id bigserial PRIMARY KEY NOT NULL,
- nd_protocol_id bigint NOT NULL references nd_protocol (nd_protocol_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int DEFAULT 0 NOT NULL,
- constraint nd_protocolprop_c1 unique (nd_protocol_id,type_id,rank)
- );
- CREATE INDEX nd_protocolprop_idx1 ON nd_protocolprop (nd_protocol_id);
- CREATE INDEX nd_protocolprop_idx2 ON nd_protocolprop (type_id);
- COMMENT ON TABLE nd_protocolprop IS 'Property/value associations for protocol.';
- COMMENT ON COLUMN nd_protocolprop.nd_protocol_id IS 'The protocol to which the property applies.';
- COMMENT ON COLUMN nd_protocolprop.type_id IS 'The name of the property as a reference to a controlled vocabulary term.';
- COMMENT ON COLUMN nd_protocolprop.value IS 'The value of the property.';
- COMMENT ON COLUMN nd_protocolprop.rank IS 'The rank of the property value, if the property has an array of values.';
- -- ================================================
- -- TABLE: nd_experiment_stock
- -- ================================================
- CREATE TABLE nd_experiment_stock (
- nd_experiment_stock_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_id bigint NOT NULL references nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- stock_id bigint NOT NULL references stock (stock_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_experiment_stock_idx1 ON nd_experiment_stock (nd_experiment_id);
- CREATE INDEX nd_experiment_stock_idx2 ON nd_experiment_stock (stock_id);
- CREATE INDEX nd_experiment_stock_idx3 ON nd_experiment_stock (type_id);
- COMMENT ON TABLE nd_experiment_stock IS 'Part of a stock or a clone of a stock that is used in an experiment';
- COMMENT ON COLUMN nd_experiment_stock.stock_id IS 'stock used in the extraction or the corresponding stock for the clone';
- -- ================================================
- -- TABLE: nd_experiment_protocol
- -- ================================================
- CREATE TABLE nd_experiment_protocol (
- nd_experiment_protocol_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_id bigint NOT NULL references nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- nd_protocol_id bigint NOT NULL references nd_protocol (nd_protocol_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_experiment_protocol_idx1 ON nd_experiment_protocol (nd_experiment_id);
- CREATE INDEX nd_experiment_protocol_idx2 ON nd_experiment_protocol (nd_protocol_id);
- COMMENT ON TABLE nd_experiment_protocol IS 'Linking table: experiments to the protocols they involve.';
- -- ================================================
- -- TABLE: nd_experiment_phenotype
- -- ================================================
- CREATE TABLE nd_experiment_phenotype (
- nd_experiment_phenotype_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_id bigint NOT NULL REFERENCES nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- phenotype_id bigint NOT NULL references phenotype (phenotype_id) on delete cascade INITIALLY DEFERRED,
- constraint nd_experiment_phenotype_c1 unique (nd_experiment_id,phenotype_id)
- );
- CREATE INDEX nd_experiment_phenotype_idx1 ON nd_experiment_phenotype (nd_experiment_id);
- CREATE INDEX nd_experiment_phenotype_idx2 ON nd_experiment_phenotype (phenotype_id);
- COMMENT ON TABLE nd_experiment_phenotype IS 'Linking table: experiments to the phenotypes they produce. There is a one-to-one relationship between an experiment and a phenotype since each phenotype record should point to one experiment. Add a new experiment_id for each phenotype record.';
- -- ================================================
- -- TABLE: nd_experiment_genotype
- -- ================================================
- CREATE TABLE nd_experiment_genotype (
- nd_experiment_genotype_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_id bigint NOT NULL references nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- genotype_id bigint NOT NULL references genotype (genotype_id) on delete cascade INITIALLY DEFERRED ,
- constraint nd_experiment_genotype_c1 unique (nd_experiment_id,genotype_id)
- );
- CREATE INDEX nd_experiment_genotype_idx1 ON nd_experiment_genotype (nd_experiment_id);
- CREATE INDEX nd_experiment_genotype_idx2 ON nd_experiment_genotype (genotype_id);
- COMMENT ON TABLE nd_experiment_genotype IS 'Linking table: experiments to the genotypes they produce. There is a one-to-one relationship between an experiment and a genotype since each genotype record should point to one experiment. Add a new experiment_id for each genotype record.';
- -- ================================================
- -- TABLE: nd_reagent_relationship
- -- ================================================
- CREATE TABLE nd_reagent_relationship (
- nd_reagent_relationship_id bigserial PRIMARY KEY NOT NULL,
- subject_reagent_id bigint NOT NULL references nd_reagent (nd_reagent_id) on delete cascade INITIALLY DEFERRED,
- object_reagent_id bigint NOT NULL references nd_reagent (nd_reagent_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_reagent_relationship_idx1 ON nd_reagent_relationship (subject_reagent_id);
- CREATE INDEX nd_reagent_relationship_idx2 ON nd_reagent_relationship (object_reagent_id);
- CREATE INDEX nd_reagent_relationship_idx3 ON nd_reagent_relationship (type_id);
- COMMENT ON TABLE nd_reagent_relationship IS 'Relationships between reagents. Some reagents form a group. i.e., they are used all together or not at all. Examples are adapter/linker/enzyme experiment reagents.';
- COMMENT ON COLUMN nd_reagent_relationship.subject_reagent_id IS 'The subject reagent in the relationship. In parent/child terminology, the subject is the child. For example, in "linkerA 3prime-overhang-linker enzymeA" linkerA is the subject, 3prime-overhand-linker is the type, and enzymeA is the object.';
- COMMENT ON COLUMN nd_reagent_relationship.object_reagent_id IS 'The object reagent in the relationship. In parent/child terminology, the object is the parent. For example, in "linkerA 3prime-overhang-linker enzymeA" linkerA is the subject, 3prime-overhand-linker is the type, and enzymeA is the object.';
- COMMENT ON COLUMN nd_reagent_relationship.type_id IS 'The type (or predicate) of the relationship. For example, in "linkerA 3prime-overhang-linker enzymeA" linkerA is the subject, 3prime-overhand-linker is the type, and enzymeA is the object.';
- -- ================================================
- -- TABLE: nd_reagentprop
- -- ================================================
- CREATE TABLE nd_reagentprop (
- nd_reagentprop_id bigserial PRIMARY KEY NOT NULL,
- nd_reagent_id bigint NOT NULL references nd_reagent (nd_reagent_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int DEFAULT 0 NOT NULL,
- constraint nd_reagentprop_c1 unique (nd_reagent_id,type_id,rank)
- );
- CREATE INDEX nd_reagentprop_idx1 ON nd_reagentprop (nd_reagent_id);
- CREATE INDEX nd_reagentprop_idx2 ON nd_reagentprop (type_id);
- -- ================================================
- -- TABLE: nd_experiment_stockprop
- -- ================================================
- CREATE TABLE nd_experiment_stockprop (
- nd_experiment_stockprop_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_stock_id bigint NOT NULL references nd_experiment_stock (nd_experiment_stock_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NOT NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED,
- value text null,
- rank int DEFAULT 0 NOT NULL,
- constraint nd_experiment_stockprop_c1 unique (nd_experiment_stock_id,type_id,rank)
- );
- CREATE INDEX nd_experiment_stockprop_idx1 ON nd_experiment_stockprop (nd_experiment_stock_id);
- CREATE INDEX nd_experiment_stockprop_idx2 ON nd_experiment_stockprop (type_id);
- COMMENT ON TABLE nd_experiment_stockprop IS 'Property/value associations for experiment_stocks. This table can store the properties such as treatment';
- COMMENT ON COLUMN nd_experiment_stockprop.nd_experiment_stock_id IS 'The experiment_stock to which the property applies.';
- COMMENT ON COLUMN nd_experiment_stockprop.type_id IS 'The name of the property as a reference to a controlled vocabulary term.';
- COMMENT ON COLUMN nd_experiment_stockprop.value IS 'The value of the property.';
- COMMENT ON COLUMN nd_experiment_stockprop.rank IS 'The rank of the property value, if the property has an array of values.';
- -- ================================================
- -- TABLE: nd_experiment_stock_dbxref
- -- ================================================
- CREATE TABLE nd_experiment_stock_dbxref (
- nd_experiment_stock_dbxref_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_stock_id bigint NOT NULL references nd_experiment_stock (nd_experiment_stock_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint NOT NULL references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_experiment_stock_dbxref_idx1 ON nd_experiment_stock_dbxref (nd_experiment_stock_id);
- CREATE INDEX nd_experiment_stock_dbxref_idx2 ON nd_experiment_stock_dbxref (dbxref_id);
- COMMENT ON TABLE nd_experiment_stock_dbxref IS 'Cross-reference experiment_stock to accessions, images, etc';
- -- ================================================
- -- TABLE: nd_experiment_dbxref
- -- ===============================================
- CREATE TABLE nd_experiment_dbxref (
- nd_experiment_dbxref_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_id bigint NOT NULL references nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- dbxref_id bigint NOT NULL references dbxref (dbxref_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_experiment_dbxref_idx1 ON nd_experiment_dbxref (nd_experiment_id);
- CREATE INDEX nd_experiment_dbxref_idx2 ON nd_experiment_dbxref (dbxref_id);
- COMMENT ON TABLE nd_experiment_dbxref IS 'Cross-reference experiment to accessions, images, etc';
- -- ================================================
- -- TABLE: nd_experiment_contact
- -- ================================================
- CREATE TABLE nd_experiment_contact (
- nd_experiment_contact_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_id bigint NOT NULL references nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- contact_id bigint NOT NULL references contact (contact_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_experiment_contact_idx1 ON nd_experiment_contact (nd_experiment_id);
- CREATE INDEX nd_experiment_contact_idx2 ON nd_experiment_contact (contact_id);
- -- ================================================
- -- TABLE: nd_experiment_analysis
- -- ================================================
- CREATE TABLE nd_experiment_analysis (
- nd_experiment_analysis_id bigserial PRIMARY KEY NOT NULL,
- nd_experiment_id bigint NOT NULL references nd_experiment (nd_experiment_id) on delete cascade INITIALLY DEFERRED,
- analysis_id bigint NOT NULL references analysis (analysis_id) on delete cascade INITIALLY DEFERRED,
- type_id bigint NULL references cvterm (cvterm_id) on delete cascade INITIALLY DEFERRED
- );
- CREATE INDEX nd_experiment_analysis_idx1 ON nd_experiment_analysis (nd_experiment_id);
- CREATE INDEX nd_experiment_analysis_idx2 ON nd_experiment_analysis (analysis_id);
- CREATE INDEX nd_experiment_analysis_idx3 ON nd_experiment_analysis (type_id);
- COMMENT ON TABLE nd_experiment_analysis IS 'An analysis that is used in an experiment';
|