diff --git a/input/dummy.txt b/input/dummy.txt index 91775f6b..92fb21f7 100644 --- a/input/dummy.txt +++ b/input/dummy.txt @@ -1,56 +1,86 @@ -NODEID dummy -UBAC2_HUMAN True -H37_HUMAN True -PHF3_HUMAN True -DDX52_HUMAN True -HNRPK_HUMAN True -Q5T5H1_HUMAN True -ZC11A_HUMAN True -TCPG_HUMAN True -2A5E_HUMAN True -CPNE2_HUMAN True -HEYL_HUMAN True -CAMP1_HUMAN True -SVEP1_HUMAN True -SPRL1_HUMAN True -C9JFD3_HUMAN True -THAP5_HUMAN True -NCOR1_HUMAN True -SKIL_HUMAN True -A8YXX4_HUMAN True -CO4A2_HUMAN True -ZBTB3_HUMAN True -MORC4_HUMAN True -HIPK3_HUMAN True -ZN200_HUMAN True -TGFR1_HUMAN True -Q2TU89_HUMAN True -SUMO2_HUMAN True -UBC9_HUMAN True -AXIN1_HUMAN True -RS27_HUMAN True -UBP25_HUMAN True -RN111_HUMAN True -CBX4_HUMAN True -B4E127_HUMAN True -G4XH65_HUMAN True -CPNE1_HUMAN True -HDAC1_HUMAN True -RNF4_HUMAN True -SETB1_HUMAN True -SMAD2_HUMAN True -TRI62_HUMAN True -FAF1_HUMAN True -EF1G_HUMAN True -AHNK_HUMAN True -LRP1_HUMAN True -UIMC1_HUMAN True -B3KWV4_HUMAN True -CDC27_HUMAN True -RB_HUMAN True -ZMYM2_HUMAN True -WWP1_HUMAN True -RU17_HUMAN True -HIPK1_HUMAN True -ZZEF1_HUMAN True -SMAD4_HUMAN True \ No newline at end of file +NODEID prize sources dummy active +1433Z_HUMAN 1.041379133 True True +41_HUMAN 3.389112802 True True +4ET_HUMAN 2.569973509 True True +A8K1N6_HUMAN 1.948221966 True True +A9CQZ4_HUMAN 0.421460919 True True +AAGAB_HUMAN 0.906857382 True True +ABCF1_HUMAN 1.662535462 True True +ABI1_HUMAN 2.262002188 True True +ABI2_HUMAN 6.039545959 True True +ABLM1_HUMAN 1.851877252 True True +ACACA_HUMAN 1.413801552 True True +ACAP2_HUMAN 2.26361378 True True +ACINU_HUMAN 5.059742801 True True +ACK1_HUMAN 4.634804389 True True +ACLY_HUMAN 0.924296287 True True +ACTB_HUMAN 6.332977709 True True +ADAT1_HUMAN 0.15086641 True True +ADCY6_HUMAN 0.213467876 True True +ADDA_HUMAN 2.023396633 True True +ADNP_HUMAN 1.863304115 True True +AFAD_HUMAN 5.746711895 True True +AFTIN_HUMAN 1.428578311 True True +AHNK_HUMAN 1.03846887 True True +AKA10_HUMAN 1.256166574 True True +AKA11_HUMAN 0.927725859 True True +AKA12_HUMAN 0.839912266 True True +AKAP1_HUMAN 1.744860335 True True +AKAP2_HUMAN 1.596611866 True True +AMOT_HUMAN 1.79256998 True True +ANS1A_HUMAN 2.76115098 True True +ANXA2_HUMAN 1.709856841 True True +AP3D1_HUMAN 4.077699923 True True +APC1_HUMAN 0.888837295 True True +AR6P4_HUMAN 0.701112743 True True +AR6P6_HUMAN 2.695059469 True True +ARHG5_HUMAN 7.044363255 True True +ARHG7_HUMAN 3.809839832 True True +ARHGB_HUMAN 2.260010614 True True +ARIP4_HUMAN 0.270475986 True True +ARMX3_HUMAN 0.11573305 True True +ARP8_HUMAN 1.094787599 True True +ASPM_HUMAN 0.369667496 True True +AT133_HUMAN 1.627668371 True True +AT1A1_HUMAN 2.904315518 True True +AT2B1_HUMAN 2.165602139 True True +ATRX_HUMAN 0.701149125 True True +ATX2L_HUMAN 4.425369048 True True +AZI1_HUMAN 1.861521522 True True +B2L13_HUMAN 1.614443902 True True +B4DGC6_HUMAN 0.752406932 True True +B4DM10_HUMAN 0.474391755 True True +B4DQA8_HUMAN 0.12336285 True True +B4DQQ2_HUMAN 0.509838368 True True +B4DSL6_HUMAN 1.401622791 True True +B4DZC2_HUMAN 0.736249376 True True +BACH_HUMAN 0.409715682 True True +BACH2_HUMAN 0.942291628 True True +BAD_HUMAN 0.390261342 True True +BAG6_HUMAN 0.406028443 True True +BAP18_HUMAN 2.420530962 True True +BARD1_HUMAN 0.113513875 True True +BAZ1B_HUMAN 0.714778368 True True +BAZ2A_HUMAN 1.358383434 True True +BBX_HUMAN 1.196178614 True True +BCAR1_HUMAN 5.368797237 True True +BCLF1_HUMAN 3.268307286 True True +BCS1_HUMAN 1.435079955 True True +BIG3_HUMAN 0.978095454 True True +BMS1_HUMAN 1.398231144 True True +BORG1_HUMAN 0.8309547 True True +BORG4_HUMAN 0.908661259 True True +BRAP_HUMAN 0.507219767 True True +BRD2_HUMAN 1.88956051 True True +BRD3_HUMAN 0.351886484 True True +BUD13_HUMAN 1.407446196 True True +BZW2_HUMAN 0.610443432 True True +C170B_HUMAN 0.887656818 True True +C2CD5_HUMAN 0.319586924 True True +CA052_HUMAN 1.950626165 True True +CA172_HUMAN 0.676879108 True True +CAAP1_HUMAN 0.46595922 True True +CAF1B_HUMAN 0.356408629 True True +CALM_HUMAN 0.977490284 True True +CALX_HUMAN 1.062601393 True True +CAV1_HUMAN 0.258171175 True True \ No newline at end of file diff --git a/spras/omicsintegrator1.py b/spras/omicsintegrator1.py index ff7f8ee7..d9a26b9a 100644 --- a/spras/omicsintegrator1.py +++ b/spras/omicsintegrator1.py @@ -75,9 +75,11 @@ def generate_inputs(data, filename_map): # Omics Integrator already gives warnings for strange prize values, so we won't here node_df.to_csv(filename_map['prizes'],sep='\t',index=False,columns=['NODEID','prize'],header=['name','prize']) - print("DATA: NODE TABLE") + print("DATA: NODE TABLE - true dummy") print(data.node_table[data.node_table['dummy']==True]) + print("DATA: NODE TABLE") print(data.node_table.head()) + print(len(data.node_table)) print("NODE DF") print(node_df.head())