share/install/Organism/organism_helpers.rb in rbbt-sources-3.0.33 vs share/install/Organism/organism_helpers.rb in rbbt-sources-3.0.34
- old
+ new
@@ -42,11 +42,15 @@
$biomart_transcript_5utr = [
["5' UTR", '5utr'],
]
+$biomart_transcript_biotype = [
+ ["Ensembl Transcript Biotype", 'transcript_biotype'],
+]
+
$biomart_protein_sequence = [
['Protein Sequence','peptide'],
]
#{{{ Exons
@@ -426,9 +430,15 @@
file 'gene_biotype' do |t|
biotype = BioMart.tsv($biomart_db, $biomart_ensembl_gene, $biomart_gene_biotype, [], nil, :type => :single, :namespace => Thread.current['namespace'])
+
+ Misc.sensiblewrite(t.name, biotype.to_s)
+end
+
+file 'transcript_biotype' do |t|
+ biotype = BioMart.tsv($biomart_db, $biomart_ensembl_transcript, $biomart_transcript_biotype, [], nil, :type => :single, :namespace => Thread.current['namespace'])
Misc.sensiblewrite(t.name, biotype.to_s)
end
file 'gene_pfam' do |t|