EC2 Default User commited on
Commit
c45999c
1 Parent(s): de6ec9e
README.md CHANGED
@@ -6,11 +6,11 @@ task_categories:
6
  license: cc-by-4.0
7
  configs:
8
  - config_name: rat_SD
9
- data_files: "rat_SD.tar.gz"
10
  - config_name: mouse_BALB_c
11
- data_files: "mouse_BALB_c.tar.gz"
12
  - config_name: mouse_C57BL_6
13
- data_files: "mouse_C57BL_6.tar.gz"
14
  ---
15
 
16
  # Dataset Card for OAS Paired Sequence Data
 
6
  license: cc-by-4.0
7
  configs:
8
  - config_name: rat_SD
9
+ data_files: "rat_SD/*.parquet"
10
  - config_name: mouse_BALB_c
11
+ data_files: "mouse_BALB_c/*.parquet"
12
  - config_name: mouse_C57BL_6
13
+ data_files: "mouse_C57BL_6/*.parquet"
14
  ---
15
 
16
  # Dataset Card for OAS Paired Sequence Data
mouse_BALB_c.tar.gz → mouse_BALB_c/train_0.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:876fdae8478963175654c9d9ed7a8d97847e002b92c3112ee730eddff24118cf
3
- size 114634
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8ac63db59c5a3cf6f053da0db6fc434e2922bac63657eda7858ca7657922c89
3
+ size 156176
mouse_C57BL_6.tar.gz → mouse_BALB_c/train_1.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d87e773f30d1ee949d46b2042603b2a060223db87be6309ee22aedbbab227290
3
- size 130209
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c570433b3c64ae62a5c5ec8279dd8bc34dcf5d47af5e5090e83f0bbc292c330
3
+ size 172410
rat_SD.tar.gz → mouse_BALB_c/train_2.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c9af9dc3c63df41e091a9d847dd8aa95fdb0d73d81024516916b78c25ee1722
3
- size 176753
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a06146c42fdb9e0ad0e91dc5b6eab8736d10204cbc3f86515d5abcc25e998f17
3
+ size 156296
mouse_BALB_c/train_3.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd224d3cac286411618b5cd7f5fed7303870f61d1096cf8679c35e61b2bc72f4
3
+ size 163793
mouse_BALB_c/train_4.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9423c06e02292ab6ac57c9559c5c3ca263dc218ea85993682a57833befc78a9e
3
+ size 153176
mouse_BALB_c/train_5.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f875eada2dca3ae28a6c62321167a34508ef4e13a5e8922026322996ee7986fb
3
+ size 133116
mouse_BALB_c/train_6.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ce63efe38ab5120a45fd9aeeaa18bda4d00efde3b4124182c846cf689a742eb
3
+ size 160865
mouse_BALB_c/train_7.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cfa04f5eb5c96a6482cd507a4e87a4052b62286837878613096ac4f94f0f293
3
+ size 139312
mouse_C57BL_6/train_0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a9fc5bd0cefe73dc3b5630482ed4515cdf0a03ee94b7c0e62540f2849ede36a
3
+ size 174501
mouse_C57BL_6/train_1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70e1ccba4a7d98749c6bca45a604e662b957745005374fb92285ccaf09534869
3
+ size 170236
oas-data-cleaning.py CHANGED
@@ -58,6 +58,7 @@ for species in species_list:
58
  print(run_data.shape)
59
  output_path = os.path.join(species, "train_" + str(i) + ".parquet")
60
  run_data.to_parquet(output_path)
 
61
  # list_of_df.append(run_data)
62
  # species_df = pd.concat(list_of_df, ignore_index=True)
63
  # print(f"{species} output summary:")
@@ -65,16 +66,16 @@ for species in species_list:
65
  # print(species_df.shape)
66
  # os.makedirs(species, exist_ok=True)
67
  # species_df.to_parquet(species, partition_cols=["data_unit"])
68
- zip_name = species + ".tar.gz"
69
- print(f"Creating {zip_name}")
70
- with tarfile.open(zip_name, "w:gz") as tf:
71
- tf.add(species, arcname="")
72
  # print(
73
  # f"Uploading {zip_name} to {os.path.join('s3://', S3_BUCKET, S3_DEST_PREFIX)}"
74
  # )
75
  # s3.upload_file(zip_name, S3_BUCKET, os.path.join(S3_DEST_PREFIX, zip_name))
76
- print(f"Removing {species}")
77
- shutil.rmtree(species)
78
  # print(f"Removing {zip_name}")
79
  # os.remove(zip_name)
80
 
 
58
  print(run_data.shape)
59
  output_path = os.path.join(species, "train_" + str(i) + ".parquet")
60
  run_data.to_parquet(output_path)
61
+ i += 1
62
  # list_of_df.append(run_data)
63
  # species_df = pd.concat(list_of_df, ignore_index=True)
64
  # print(f"{species} output summary:")
 
66
  # print(species_df.shape)
67
  # os.makedirs(species, exist_ok=True)
68
  # species_df.to_parquet(species, partition_cols=["data_unit"])
69
+ # zip_name = species + ".tar.gz"
70
+ # print(f"Creating {zip_name}")
71
+ # with tarfile.open(zip_name, "w:gz") as tf:
72
+ # tf.add(species, arcname="")
73
  # print(
74
  # f"Uploading {zip_name} to {os.path.join('s3://', S3_BUCKET, S3_DEST_PREFIX)}"
75
  # )
76
  # s3.upload_file(zip_name, S3_BUCKET, os.path.join(S3_DEST_PREFIX, zip_name))
77
+ # print(f"Removing {species}")
78
+ # shutil.rmtree(species)
79
  # print(f"Removing {zip_name}")
80
  # os.remove(zip_name)
81
 
rat_SD/train_0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d63e5c4c8980545eb754cfc532b8a6858aa57e9d2cb651a401cc14d6e9422f37
3
+ size 275069
rat_SD/train_1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c790113ac3fc908170237573971ae14803dbaf391828760e978cbfbc9496d5c
3
+ size 260187
rat_SD/train_10.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aa23eef8f4eba7d08ae5e4b1fce79db4ef410718ead327f005bf333ee8c412c
3
+ size 176650
rat_SD/train_11.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1554bf547c02c9c14cad002595783abe3ee9430890359df0250fca46955bf532
3
+ size 241995
rat_SD/train_12.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a5ee4ba2924dc2ec139684553e6f26faf34aa45a52fdc18e91a89620c410b19
3
+ size 226856
rat_SD/train_13.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:338953a4809589c8f227ecb303097f8d770e117c49106d9347afa160562c8e39
3
+ size 222849
rat_SD/train_14.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1732377024737018d9a60c13dc4d12ef733da56f83bd0ac2b42898ad925b764b
3
+ size 172734
rat_SD/train_15.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:534842affdbb63e2d6a7f600e462c4485d184c4048b3e5b6888ce3c09fa10f70
3
+ size 220482
rat_SD/train_16.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d1f060d18e691979922552161d6af4e8398c69eb51df3bcabbdd63bbaa0ca89
3
+ size 204438
rat_SD/train_17.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00d88da5d63a1abe63782a03af87783a8674068fa3872f890af75096863dd3b4
3
+ size 215468
rat_SD/train_18.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9ac5771fc3721d2930fedf5e328fd8a853e43e3d01f76f1a10689fc17449d2f
3
+ size 213279
rat_SD/train_19.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3b6c4c52d29a4a4ab5517575026299f688c6f11772133aafe03268c8e45d806
3
+ size 215521
rat_SD/train_2.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7df49ede2f9524c68a670e6d3063956d5c53458ba7999e98bf24787647808a57
3
+ size 230529
rat_SD/train_3.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ac17bcd1e3929f189fc0efe864b815d2584e5829a662d27d55607f2d6f93855
3
+ size 245102
rat_SD/train_4.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97c225be56c3dd500e59345f72fed9d3ed75bce7e14d395ae7b6e3ea8f7cfc87
3
+ size 231504
rat_SD/train_5.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:375d624824f6e75e1b96abea1ee71eb0b6a863db1e50f9c788b30a172762304c
3
+ size 251190
rat_SD/train_6.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71cde3df4a03ad53db514f4ed2d60e47a927b6bcecf6b012e8331fda8a28dad6
3
+ size 138009
rat_SD/train_7.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2f6e5656561d2dcd31d076f4dc0ac2fdc8108ec060b77e9b909a917d3c70c80
3
+ size 140286
rat_SD/train_8.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58bf020a7285b90a0205734dc39c8aab652e6a3431919c1fa665fffb1ab046f5
3
+ size 137643
rat_SD/train_9.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8f70ab5773d3f6f897ff679172d14e064dc002748703be19e7fe516eeb67ad4
3
+ size 144015