7b63853e7d35a5af80fea81bc221910e2f55c1f5 max Thu Jan 16 03:52:10 2014 -0800 adding .as files for publications track, ref #12212 diff --git src/hg/lib/pubsBlatPsl.sql src/hg/lib/pubsBlatPsl.sql new file mode 100644 index 0000000..efa1e7b --- /dev/null +++ src/hg/lib/pubsBlatPsl.sql @@ -0,0 +1,28 @@ +#publications track sequence matches as PSL plus two additional fields +CREATE TABLE `pubsBlatPsl` ( + matches int unsigned not null, # Number of bases that match that aren't repeats + misMatches int unsigned not null, # Number of bases that don't match + repMatches int unsigned not null, # Number of bases that match but are part of repeats + nCount int unsigned not null, # Number of 'N' bases + qNumInsert int unsigned not null, # Number of inserts in query + qBaseInsert int unsigned not null, # Number of bases inserted in query + tNumInsert int unsigned not null, # Number of inserts in target + tBaseInsert int unsigned not null, # Number of bases inserted in target + strand char(2) not null, # + or - for query strand. second +/- for genomic strand + qName varchar(255) not null, # sequence ID: 10 digits articleId, 3 digits file Id, 4 digits serial number + qSize int unsigned not null, # Query sequence size + qStart int unsigned not null, # Alignment start position in query + qEnd int unsigned not null, # Alignment end position in query + tName varchar(255) not null, # Target sequence name + tSize int unsigned not null, # Target sequence size + tStart int unsigned not null, # Alignment start position in target + tEnd int unsigned not null, # Alignment end position in target + blockCount int unsigned not null, # Number of blocks in alignment + blockSizes longblob not null, # Size of each block + qStarts longblob not null, # Start of each block in query. + tStarts longblob not null, # Start of each block in target. + articleId bigint(20) DEFAULT NULL, # articleId of article in hgFixed.pubsBingArticle + # Indices + KEY `tName` (`tName`(32),`tStart`,`tEnd`), + KEY `articleId` (`articleId`) +)