# HG changeset patch # User proteore # Date 1558957759 14400 # Node ID 808c8493ed4fcf34ecfd00b3480aab3f30690e08 # Parent 9a400ce8e4e63c400303ab99727d040184fa14cb planemo upload commit 5c2c274361c0daceae1f678eca0e6c0d5b4ba4f7-dirty diff -r 9a400ce8e4e6 -r 808c8493ed4f data_manager/resource_building.py --- a/data_manager/resource_building.py Fri May 17 04:09:47 2019 -0400 +++ b/data_manager/resource_building.py Mon May 27 07:49:19 2019 -0400 @@ -138,8 +138,8 @@ files=["idmapping_selected.tab.gz","idmapping.dat.gz"] #header - if human : tab = [["UniProt-AC","UniProt-AC_reviewed","UniProt-ID","GeneID","RefSeq","GI","PDB","GO","PIR","MIM","UniGene","Ensembl_Gene","Ensembl_Transcript","Ensembl_Protein","neXtProt","BioGrid","STRING","KEGG"]] - else : tab = [["UniProt-AC","UniProt-AC_reviewed","UniProt-ID","GeneID","RefSeq","GI","PDB","GO","PIR","MIM","UniGene","Ensembl_Gene","Ensembl_Transcript","Ensembl_Protein","BioGrid","STRING","KEGG"]] + if human : tab = [["UniProt-AC","UniProt-ID","GeneID","RefSeq","GI","PDB","GO","PIR","MIM","UniGene","Ensembl_Gene","Ensembl_Transcript","Ensembl_Protein","neXtProt","BioGrid","STRING","KEGG"]] + else : tab = [["UniProt-AC","UniProt-ID","GeneID","RefSeq","GI","PDB","GO","PIR","MIM","UniGene","Ensembl_Gene","Ensembl_Transcript","Ensembl_Protein","BioGrid","STRING","KEGG"]] #get selected.tab and keep only ids of interest selected_tab_file=species_dict[species]+"_"+files[0] @@ -163,10 +163,8 @@ for line in tab[1:]: UniProtAC = line[0] - if UniProtAC in uniprot_reviewed_list : - line.insert(1,UniProtAC) - else : - line.insert(1,"") + if UniProtAC not in uniprot_reviewed_list : + line[0]="NA" """ Supplementary ID to get from HUMAN_9606_idmapping.dat : diff -r 9a400ce8e4e6 -r 808c8493ed4f data_manager/resource_building.xml --- a/data_manager/resource_building.xml Fri May 17 04:09:47 2019 -0400 +++ b/data_manager/resource_building.xml Mon May 27 07:49:19 2019 -0400 @@ -1,4 +1,4 @@ - + to create or update reference files for proteore tools