Skip to content

Commit

Permalink
Tran dataset processing
Browse files Browse the repository at this point in the history
  • Loading branch information
mariya committed Oct 9, 2024
1 parent e3aa3fb commit cccd64d
Show file tree
Hide file tree
Showing 7 changed files with 200 additions and 176 deletions.
174 changes: 174 additions & 0 deletions data/phenotypes/pheno.allium.tran.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
public_id,Subtype
16-001,t(12;21)
16-002,t(12;21)
16-003,t(12;21)
16-006,t(12;21)
16-008,T-ALL
16-011,T-ALL
16-012,t(12;21)
16-014,HeH
16-015,HeH
16-017,PAX5alt
16-021,t(1;19)
16-022,B-other
16-025,HeH
16-027,B-other
16-029,B-other
16-033,B-other
16-035,T-ALL
16-037,B-other
16-038,11q23/MLL
16-039,PAX5alt
16-042,T-ALL
16-044,B-other
16-047,B-other
16-048,HeH
16-049,HeH
16-050,t(12;21)
16-052,T-ALL
16-053,T-ALL
16-056,T-ALL
16-057,T-ALL
16-059,T-ALL
16-065,t(12;21)
16-068,Hypo
16-070,t(12;21)
16-074,t(12;21)
16-076,t(12;21)
16-077,B-other
16-082,MEF2D-r
16-086,B-other
16-089,ZNF384-r
16-090,HeH
16-092,t(12;21)
16-094,t(12;21)
16-095,T-ALL
16-098,T-ALL
16-099,11q23/MLL
16-100,t(12;21)
16-102,ph-like
16-103,HeH
16-104,T-ALL
16-105,DUX4-r
16-106,t(12;21)
16-108,t(12;21)-like
16-114,T-ALL
16-115,t(12;21)
16-116,11q23/MLL
16-129,Hypo
16-131,HeH
16-132,11q23/MLL
16-138,T-ALL
16-139,t(12;21)
16-140,t(12;21)
16-141,HeH
16-144,T-ALL
16-152,t(12;21)
16-155,T-ALL
16-158,HeH
16-161,HeH
16-162,HeH
16-164,ph-like
16-167,T-ALL
16-170,B-other
16-171,T-ALL
16-174,T-ALL
16-176,HeH
16-177,T-ALL
16-179,ph-like
16-182,HeH
16-186,HeH
16-189,DUX4-r
16-191,T-ALL
16-192,t(1;19)
16-194,HeH
16-196,T-ALL
16-199,HeH
16-200,t(1;19)
16-201,T-ALL
16-202,B-other
16-204,B-other
16-205,t(1;19)
16-207,ZNF384-r
16-210,HeH
16-215,HeH
16-217,T-ALL
16-218,ZNF384-r
16-220,B-other
16-221,t(12;21)
16-222,B-other
16-223,T-ALL
16-225,ph-like
16-226,PAX5alt
16-227,T-ALL
16-229,t(1;19)
16-230,DUX4-r
16-231,PAX5alt
16-232,B-other
16-233,T-ALL
16-238,t(12;21)
16-239,HeH
16-240,HeH
16-241,T-ALL
16-242,HeH
16-243,t(12;21)
16-244,T-ALL
16-245,T-ALL
16-249,HeH
16-252,T-ALL
16-253,ph-like
16-256,T-ALL
16-257,HeH
16-258,t(1;19)
16-261,PAX5alt
16-265,B-other
16-266,ph-like
16-267,t(12;21)
16-268,DUX4-r
16-269,PAX5alt
16-270,ZNF384-r
16-272,HeH
16-273,HeH
16-279,HeH
16-280,t(1;19)
16-282,HeH
16-284,DUX4-r
16-286,PAX5alt
16-287,HeH
16-291,HeH
16-293,t(12;21)
16-294,DUX4-r
16-295,HeH
16-296,T-ALL
16-302,HeH
16-304,t(12;21)
16-306,HeH
16-312,t(12;21)
16-315,Hypo
16-319,11q23/MLL
16-322,t(12;21)
16-326,ph-like
16-328,DUX4-r
16-335,HeH
16-338,HeH
16-339,HeH
16-340,T-ALL
16-341,BCR-ABL1
16-342,HeH
16-343,ph-like
16-346,NUTM1-r
16-347,B-other
16-348,BCR-ABL1
16-350,t(12;21)
16-352,t(12;21)
16-354,t(12;21)
16-359,B-other
16-362,T-ALL
16-363,t(12;21)-like
16-364,B-other
16-367,T-ALL
16-372,B-other
16-373,T-ALL
16-374,HeH
16-376,ph-like
16-378,B-other
9 changes: 9 additions & 0 deletions predict.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import pandas as pd
from src.allium.gex_classifier import GEXClassifier

testX = pd.read_csv('/home/mariya/Data/tran/counts.allium.tran.csv', index_col="public_id")
pheno = pd.read_csv('/home/mariya/Development/allium/data/phenotypes/pheno.allium.tran.csv', index_col = "public_id")

gc = GEXClassifier('v2')
result = gc.get_predictions(testX, pheno=pheno)
result.to_csv('/home/mariya/Data/tran/predictions.tran.csv')
9 changes: 0 additions & 9 deletions predict_lilljebjorn.py

This file was deleted.

Loading

0 comments on commit cccd64d

Please sign in to comment.