Created
January 30, 2017 16:13
-
-
Save wbazant/7834c4a0917b5ea6910bc088903936fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[fg_atlas@ebi-005 archive]$ mkdir /var/tmp/array-designs | |
[fg_atlas@ebi-005 archive]$ cp ensembl_87_34/homo_sapiens*A-*.tsv /var/tmp/array-designs | |
[fg_atlas@ebi-005 archive]$ cd /var/tmp/array-designs | |
[fg_atlas@ebi-005 array-designs]$ for file in `ls ` ; do cat <(echo -e "ensgene\tdesign_element") <(grep -E "\w+\W\w+" $file) > $file.tmp ; mv $file.tmp $file ; done | |
[fg_atlas@ebi-005 array-designs]$ wc -l * | |
8684 homo_sapiens.A-AFFY-10.tsv | |
6938 homo_sapiens.A-AFFY-11.tsv | |
5155 homo_sapiens.A-AFFY-12.tsv | |
6835 homo_sapiens.A-AFFY-13.tsv | |
25196 homo_sapiens.A-AFFY-141.tsv | |
10507 homo_sapiens.A-AFFY-1.tsv | |
5637 homo_sapiens.A-AFFY-32.tsv | |
18376 homo_sapiens.A-AFFY-33.tsv | |
14454 homo_sapiens.A-AFFY-34.tsv | |
18376 homo_sapiens.A-AFFY-37.tsv | |
7821 homo_sapiens.A-AFFY-41.tsv | |
39114 homo_sapiens.A-AFFY-44.tsv | |
42499 homo_sapiens.A-AFFY-54.tsv | |
10507 homo_sapiens.A-AFFY-9.tsv | |
26499 homo_sapiens.A-AGIL-28.tsv | |
35923 homo_sapiens.A-GEOD-16686.tsv | |
1578 homo_sapiens.A-GEOD-74.tsv | |
28655 homo_sapiens.A-MEXP-2102.tsv | |
26392 homo_sapiens.A-MEXP-2183.tsv | |
519707 homo_sapiens.A-MEXP-2246.tsv | |
26392 homo_sapiens.A-MEXP-2320.tsv | |
885245 total | |
[fg_atlas@ebi-005 array-designs]$ | |
[fg_atlas@ebi-005 fetch]$ wc -l $ATLAS_PROD/bioentity_properties/archive/ensembl_86*/homo_*A-*tsv | |
8684 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-10.tsv | |
6938 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-11.tsv | |
5155 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-12.tsv | |
6835 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-13.tsv | |
25196 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-141.tsv | |
10507 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-1.tsv | |
5637 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-32.tsv | |
18376 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-33.tsv | |
14454 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-34.tsv | |
18376 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-37.tsv | |
7821 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-41.tsv | |
39114 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-44.tsv | |
42499 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-54.tsv | |
10507 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AFFY-9.tsv | |
26499 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-AGIL-28.tsv | |
35923 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-GEOD-16686.tsv | |
1578 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-GEOD-74.tsv | |
28655 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-MEXP-2102.tsv | |
26392 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-MEXP-2183.tsv | |
519707 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-MEXP-2246.tsv | |
26392 /nfs/production3/ma/home/atlas3-production/bioentity_properties/archive/ensembl_86_33/homo_sapiens.A-MEXP-2320.tsv | |
885245 total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment