c***y 发帖数: 615 | 1 找不到数据的direct path
我用的HPC系统是linux, 没有web browser,
有什么办法下载吗?
多谢了! |
e*******o 发帖数: 4654 | 2 下载到一个有browser的机器,然后scp 过去。 |
c***y 发帖数: 615 | 3 数据太大,scp 要好几个小时
【在 e*******o 的大作中提到】 : 下载到一个有browser的机器,然后scp 过去。
|
f*******o 发帖数: 1 | 4 They do provide a REST API, such as
https://gtexportal.org/rest/v1/dataset/sample
Some of them need authentication though, including file downloads. What
specific files are you trying to download? |
d******l 发帖数: 1952 | 5 之前他们的系统有问题,这两天已经fix了,你再试试 |
c***y 发帖数: 615 | 6 这些好像是API output, 哪里有sample code 啊...
【在 f*******o 的大作中提到】 : They do provide a REST API, such as : https://gtexportal.org/rest/v1/dataset/sample : Some of them need authentication though, including file downloads. What : specific files are you trying to download?
|
f*******o 发帖数: 1 | 7 On your computer with web browser
1. go to https://www.gtexportal.org/home/datasets
2. You will be asked to login, so login with your google account
3. open developer console, run
"gapi.auth2.getAuthInstance().currentUser.get().getAuthResponse().id_token"
4. Copy this token
On your Linux command line
5. run the following command to obtain the URL for each of the file, replace
XXX with the token
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_intron_
fractcovered__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_
transcript_readcount__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_intron_
readcount__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_RNA-SeQCv1.1.8_
gene_reads__Pilot_V3_patch1.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_RNA-SeQCv1.1.8_
exon_reads__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_
transcript_rpkm__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_junction
_readcount__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_RNA-SeQCv1.1.8_
gene_rpkm__Pilot_V3_patch1.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/multi_tissue_eqtls/Multi_tissue_eQTL_GTEx_Pilot_Phase
_datasets.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/multi_tissue_eqtls/README -H "Authorization: Bearer
XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/GTEx_Analysis_V3_
eQTLInputFiles_geneLevelNormalizedExpression.tar.gz -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/README.eqtls -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/GTEx_Analysis_Pilot_V3_eQTLs.
tgz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/GTEx_Analysis_Pilot_V3_all-
snp-gene-associations.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/GTEx_Analysis_V3_
eQTLInputFiles_covariates.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/All-snp-gene-pair-results-
sQTLseeker-merged.tgz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/README.altrans -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/Altrans_All_sQTLs_bestPerLink.tgz
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/README.sqtlseeker -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/sQTLs-sQTLseeker-merged.tgz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/Altrans_FDR05_bestPerLink.tgz -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/README.normalizedquants_ptvs -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/normalizedquants_ptvs.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/README.mmPCR -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/GTEx_Pilot_LoF_mmPCR-seq_RNA-seq_SNPonly_
coverage8_counts.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/GTEx_Pilot_LoF_mmPCR-seq_RNA-seq_INDEL_SNP_
coverage8_counts.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/README.psiQTLs.Tables.txt -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/gtex_psiqtls.zip -H "Authorization: Bearer
XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/reference/gencode.v12.annotation.patched_contigs.gtf
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/reference/gencode.v12.genes.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/reference/GTEx_genot_imputed_variants_info4_maf05_
CR95_CHR_POSb37_ID_REF_ALT.txt.zip -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/reference/gencode.v12.genes.patched_contigs.exons.txt
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_Sample_DS__
Pilot_V3.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_SampleCounts__
Pilot_V3.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_Sample_DD__
Pilot_V3.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_Subject_DD__
Pilot_V3.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_Subject_DS__
Pilot_V3.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_intrachromosomal
_eQTLs.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_trans_eQTLs.xlsx
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/coexpression_networks/coexpression_networks_v6p.zip -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/annotations/GTEx_Data_V6_Annotations_SampleAttributesDD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/annotations/GTEx_Data_V6_Annotations_SampleAttributesDS.
txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/annotations/GTEx_Data_V6_Annotations_SubjectPhenotypesDS.
txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/annotations/GTEx_Data_V6_Annotations_SubjectPhenotypes_DD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/rna_seq_data/GTEx_Analysis_v6p_RNA-seq_RNA-SeQCv1.1.8_gene
_reads.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/rna_seq_data/GTEx_Analysis_v6p_RNA-seq_RNA-SeQCv1.1.8_gene
_median_rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/rna_seq_data/GTEx_Analysis_v6p_RNA-seq_RNA-SeQCv1.1.8_gene
_rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_eQTL.tar -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_all-associations
.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_eQTL_covariates.
tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_eQTL_expression_
matrices.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/README_eQTL_v6p.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_aFCS_V6p.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/reference/gencode.v19.genes.v6p_model.patched_contigs.gtf.
gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_biobank/downloads/biobank_collection_20180309_031213.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/annotations/GTEx_Analysis_v7_Annotations_
SubjectPhenotypesDD.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/annotations/GTEx_v7_Annotations_SubjectPhenotypesDS.txt -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/annotations/GTEx_Analysis_v7_Annotations_SampleAttributesDD
.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/annotations/GTEx_v7_Annotations_SampleAttributesDS.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/single_tissue_eqtl_data/GTEx_Analysis_v7_eQTL_expression_
matrices.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/single_tissue_eqtl_data/GTEx_Analysis_v7_eQTL_all_
associations.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/single_tissue_eqtl_data/GTEx_Analysis_v7_eQTL_covariates.
tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/single_tissue_eqtl_data/GTEx_Analysis_v7_eQTL.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RSEMv1.2.22_
transcript_tpm.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RNASeQCv1.1.8_gene
_reads.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RNASeQCv1.1.8_gene
_tpm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RNASeQCv1.1.8_gene
_median_tpm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_STARv2.4.2a_
junctions.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RNASeQCv1.1.8_exon
_reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RSEMv1.2.22_
transcript_expected_count.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/multi_tissue_eqtl_data/GTEx_Analysis_v7.metasoft.txt.gz -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/GTEx_Analysis_2016-01-15_v7_WholeGenomeSeq_635Ind
_PASS_AB02_GQ20_HETX_MISS15_PLINKQC.lookup_table.txt.gz -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/gencode.v19.genes.v7.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/gencode.v19.genes.v7.patched_contigs.exons.txt -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/Homo_sapiens_assembly19.fasta.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/gencode.v19.transcripts.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/annotations/GTEx_Data_V6_Annotations_SubjectPhenotypes_DD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/annotations/GTEx_Data_V6_Annotations_SubjectPhenotypesDS.
txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/annotations/GTEx_Data_V6_Annotations_SampleAttributesDS.txt
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/annotations/GTEx_Data_V6_Annotations_SampleAttributesDD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_intron_
fraccov.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_RNA-SeQCv1.1.8_gene_
rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_intron_reads.
txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_transcript_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_RNA-SeQCv1.1.8_exon_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_RNA-SeQCv1.1.8_gene_
reads.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_RNA-SeQCv1.1.8_gene_
median_rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_junction_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_transcript_
rpkm.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/structural_variant_data/README_SV_eQTL.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/structural_variant_data/supp_table.02.SV_eQTL.xlsx -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/structural_variant_data/GTEx_Analysis_2016-10-24_
WholeGenomeSeq_147Indiv_SV_sites_only_README.txt -H "Authorization: Bearer
XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/structural_variant_data/GTEx_Analysis_2016-10-24_
WholeGenomeSeq_147Indiv_SV_sites.vcf.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/GTEx_Analysis_V6_eQTLInputFiles_
geneLevelNormalizedExpressionMatrices.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/GTEx_Analysis_V6_eQTLInputFiles_
covariates.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/README.eqtls -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/GTEx_Analysis_V6_all-snp-gene-
associations.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/GTEx_Analysis_V6_eQTLs.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/gencode.v19.transcripts.patched_contigs.gtf.gz -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/Homo_sapiens_assembly19.fasta.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/gencode.v19.genes.patched_contigs.gtf.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/gencode.v19.genes.patched_contigs_exons.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/GTEx_Analysis_2015-01-12_OMNI_2.5M_5M_450Indiv_
chr1-22-X_genot_imput_info04_maf01_HWEp1E6_variant_id_lookup.txt.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_additional_datasets/single_cell_data/GTEx_droncseq_hip_pcf.tar -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SampleAttributesDD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SubjectPhenotypes_DD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SampleCounts.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SampleAttributesDS.txt
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SubjectPhenotypes_DS.
txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/GTEx_Analysis_V4_eQTLInputFiles_
covariates.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/GTEx_Analysis_V4_eQTLInputFiles_
geneLevelNormalizedExpression.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/README.eqtls -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/GTEx_Analysis_V4_eQTLs.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/GTEx_Analysis_V4_all-snp-gene-
associations.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_transcript_
rpkm.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_RNA-SeQCv1.1.8_gene_
rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_intron_
fraccov.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_intron_reads.
txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_transcript_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_RNA-SeQCv1.1.8_exon_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_junction_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_RNA-SeQCv1.1.8_gene_
reads.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/reference/gencode.v18.genes.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/reference/gencode.v18.transcripts.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/reference/gencode.v18.genes.patched_contigs_exons.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/reference/GTEx_genot_imputed_variants_info4_maf05_CR95_CHR_
POSb37_ID_REF_ALT.txt.zip -H "Authorization: Bearer XXX"
【在 c***y 的大作中提到】 : 这些好像是API output, 哪里有sample code 啊...
|
c***y 发帖数: 615 | 8 找不到数据的direct path
我用的HPC系统是linux, 没有web browser,
有什么办法下载吗?
多谢了! |
e*******o 发帖数: 4654 | 9 下载到一个有browser的机器,然后scp 过去。 |
c***y 发帖数: 615 | 10 数据太大,scp 要好几个小时
【在 e*******o 的大作中提到】 : 下载到一个有browser的机器,然后scp 过去。
|
|
|
f*******o 发帖数: 1 | 11 They do provide a REST API, such as
https://gtexportal.org/rest/v1/dataset/sample
Some of them need authentication though, including file downloads. What
specific files are you trying to download? |
d******l 发帖数: 1952 | 12 之前他们的系统有问题,这两天已经fix了,你再试试 |
c***y 发帖数: 615 | 13 这些好像是API output, 哪里有sample code 啊...
【在 f*******o 的大作中提到】 : They do provide a REST API, such as : https://gtexportal.org/rest/v1/dataset/sample : Some of them need authentication though, including file downloads. What : specific files are you trying to download?
|
f*******o 发帖数: 1 | 14 On your computer with web browser
1. go to https://www.gtexportal.org/home/datasets
2. You will be asked to login, so login with your google account
3. Randomly choose a small file to download (such as "GTEx_Analysis_v7_
Annotations_SubjectPhenotypesDD.xlsx"), this is to trigger the
authentication process
4. open developer console, run
"gapi.auth2.getAuthInstance().currentUser.get().getAuthResponse().id_token"
5. Copy this token
On your Linux command line
6. run the following commands to obtain the URL for each of the file,
replace
XXX with the token
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_intron_
fractcovered__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_
transcript_readcount__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_intron_
readcount__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_RNA-SeQCv1.1.8_
gene_reads__Pilot_V3_patch1.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_RNA-SeQCv1.1.8_
exon_reads__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_
transcript_rpkm__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_Flux1.2.3_junction
_readcount__Pilot_V3.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/rna_seq_data/GTEx_Analysis_RNA-seq_RNA-SeQCv1.1.8_
gene_rpkm__Pilot_V3_patch1.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/multi_tissue_eqtls/Multi_tissue_eQTL_GTEx_Pilot_Phase
_datasets.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/multi_tissue_eqtls/README -H "Authorization: Bearer
XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/GTEx_Analysis_V3_
eQTLInputFiles_geneLevelNormalizedExpression.tar.gz -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/README.eqtls -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/GTEx_Analysis_Pilot_V3_eQTLs.
tgz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/GTEx_Analysis_Pilot_V3_all-
snp-gene-associations.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/single_tissue_eqtl_data/GTEx_Analysis_V3_
eQTLInputFiles_covariates.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/All-snp-gene-pair-results-
sQTLseeker-merged.tgz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/README.altrans -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/Altrans_All_sQTLs_bestPerLink.tgz
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/README.sqtlseeker -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/sQTLs-sQTLseeker-merged.tgz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/splicing_qtls_sqtls/Altrans_FDR05_bestPerLink.tgz -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/README.normalizedquants_ptvs -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/normalizedquants_ptvs.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/README.mmPCR -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/GTEx_Pilot_LoF_mmPCR-seq_RNA-seq_SNPonly_
coverage8_counts.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/GTEx_Pilot_LoF_mmPCR-seq_RNA-seq_INDEL_SNP_
coverage8_counts.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/README.psiQTLs.Tables.txt -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/ptv_data/gtex_psiqtls.zip -H "Authorization: Bearer
XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/reference/gencode.v12.annotation.patched_contigs.gtf
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/reference/gencode.v12.genes.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/reference/GTEx_genot_imputed_variants_info4_maf05_
CR95_CHR_POSb37_ID_REF_ALT.txt.zip -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/reference/gencode.v12.genes.patched_contigs.exons.txt
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_Sample_DS__
Pilot_V3.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_SampleCounts__
Pilot_V3.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_Sample_DD__
Pilot_V3.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_Subject_DD__
Pilot_V3.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_pilot_v3/annotations/GTEx_Analysis_Annotations_Subject_DS__
Pilot_V3.txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_intrachromosomal
_eQTLs.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_trans_eQTLs.xlsx
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/coexpression_networks/coexpression_networks_v6p.zip -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/annotations/GTEx_Data_V6_Annotations_SampleAttributesDD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/annotations/GTEx_Data_V6_Annotations_SampleAttributesDS.
txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/annotations/GTEx_Data_V6_Annotations_SubjectPhenotypesDS.
txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/annotations/GTEx_Data_V6_Annotations_SubjectPhenotypes_DD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/rna_seq_data/GTEx_Analysis_v6p_RNA-seq_RNA-SeQCv1.1.8_gene
_reads.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/rna_seq_data/GTEx_Analysis_v6p_RNA-seq_RNA-SeQCv1.1.8_gene
_median_rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/rna_seq_data/GTEx_Analysis_v6p_RNA-seq_RNA-SeQCv1.1.8_gene
_rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_eQTL.tar -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_all-associations
.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_eQTL_covariates.
tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_Analysis_v6p_eQTL_expression_
matrices.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/README_eQTL_v6p.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/single_tissue_eqtl_data/GTEx_aFCS_V6p.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6p/reference/gencode.v19.genes.v6p_model.patched_contigs.gtf.
gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_biobank/downloads/biobank_collection_20180309_031213.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/annotations/GTEx_Analysis_v7_Annotations_
SubjectPhenotypesDD.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/annotations/GTEx_v7_Annotations_SubjectPhenotypesDS.txt -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/annotations/GTEx_Analysis_v7_Annotations_SampleAttributesDD
.xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/annotations/GTEx_v7_Annotations_SampleAttributesDS.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/single_tissue_eqtl_data/GTEx_Analysis_v7_eQTL_expression_
matrices.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/single_tissue_eqtl_data/GTEx_Analysis_v7_eQTL_all_
associations.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/single_tissue_eqtl_data/GTEx_Analysis_v7_eQTL_covariates.
tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/single_tissue_eqtl_data/GTEx_Analysis_v7_eQTL.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RSEMv1.2.22_
transcript_tpm.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RNASeQCv1.1.8_gene
_reads.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RNASeQCv1.1.8_gene
_tpm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RNASeQCv1.1.8_gene
_median_tpm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_STARv2.4.2a_
junctions.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RNASeQCv1.1.8_exon
_reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/rna_seq_data/GTEx_Analysis_2016-01-15_v7_RSEMv1.2.22_
transcript_expected_count.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/multi_tissue_eqtl_data/GTEx_Analysis_v7.metasoft.txt.gz -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/GTEx_Analysis_2016-01-15_v7_WholeGenomeSeq_635Ind
_PASS_AB02_GQ20_HETX_MISS15_PLINKQC.lookup_table.txt.gz -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/gencode.v19.genes.v7.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/gencode.v19.genes.v7.patched_contigs.exons.txt -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/Homo_sapiens_assembly19.fasta.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v7/reference/gencode.v19.transcripts.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/annotations/GTEx_Data_V6_Annotations_SubjectPhenotypes_DD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/annotations/GTEx_Data_V6_Annotations_SubjectPhenotypesDS.
txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/annotations/GTEx_Data_V6_Annotations_SampleAttributesDS.txt
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/annotations/GTEx_Data_V6_Annotations_SampleAttributesDD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_intron_
fraccov.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_RNA-SeQCv1.1.8_gene_
rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_intron_reads.
txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_transcript_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_RNA-SeQCv1.1.8_exon_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_RNA-SeQCv1.1.8_gene_
reads.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_RNA-SeQCv1.1.8_gene_
median_rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_junction_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/rna_seq_data/GTEx_Analysis_v6_RNA-seq_Flux1.6_transcript_
rpkm.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/structural_variant_data/README_SV_eQTL.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/structural_variant_data/supp_table.02.SV_eQTL.xlsx -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/structural_variant_data/GTEx_Analysis_2016-10-24_
WholeGenomeSeq_147Indiv_SV_sites_only_README.txt -H "Authorization: Bearer
XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/structural_variant_data/GTEx_Analysis_2016-10-24_
WholeGenomeSeq_147Indiv_SV_sites.vcf.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/GTEx_Analysis_V6_eQTLInputFiles_
geneLevelNormalizedExpressionMatrices.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/GTEx_Analysis_V6_eQTLInputFiles_
covariates.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/README.eqtls -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/GTEx_Analysis_V6_all-snp-gene-
associations.tar -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/single_tissue_eqtl_data/GTEx_Analysis_V6_eQTLs.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/gencode.v19.transcripts.patched_contigs.gtf.gz -H
"Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/Homo_sapiens_assembly19.fasta.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/gencode.v19.genes.patched_contigs.gtf.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/gencode.v19.genes.patched_contigs_exons.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v6/reference/GTEx_Analysis_2015-01-12_OMNI_2.5M_5M_450Indiv_
chr1-22-X_genot_imput_info04_maf01_HWEp1E6_variant_id_lookup.txt.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_additional_datasets/single_cell_data/GTEx_droncseq_hip_pcf.tar -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SampleAttributesDD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SubjectPhenotypes_DD.
xlsx -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SampleCounts.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SampleAttributesDS.txt
-H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/annotations/GTEx_Data_V4_Annotations_SubjectPhenotypes_DS.
txt -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/GTEx_Analysis_V4_eQTLInputFiles_
covariates.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/GTEx_Analysis_V4_eQTLInputFiles_
geneLevelNormalizedExpression.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/README.eqtls -H "Authorization:
Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/GTEx_Analysis_V4_eQTLs.tar.gz -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/single_tissue_eqtl_data/GTEx_Analysis_V4_all-snp-gene-
associations.tar.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_transcript_
rpkm.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_RNA-SeQCv1.1.8_gene_
rpkm.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_intron_
fraccov.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_intron_reads.
txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_transcript_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_RNA-SeQCv1.1.8_exon_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_Flux1.6_junction_
reads.txt.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/rna_seq_data/GTEx_Analysis_V4_RNA-seq_RNA-SeQCv1.1.8_gene_
reads.gct.gz -H "Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/reference/gencode.v18.genes.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/reference/gencode.v18.transcripts.patched_contigs.gtf -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/reference/gencode.v18.genes.patched_contigs_exons.txt -H "
Authorization: Bearer XXX"
curl -X GET https://gtexportal.org/rest/v1/admin/file_download?objectPath=
gtex_analysis_v4/reference/GTEx_genot_imputed_variants_info4_maf05_CR95_CHR_
POSb37_ID_REF_ALT.txt.zip -H "Authorization: Bearer XXX"
【在 c***y 的大作中提到】 : 这些好像是API output, 哪里有sample code 啊...
|
c***y 发帖数: 615 | 15 附件显示我的操作,
然后linux 系统下typed:
test]$ curl -X GET https://gtexportal.org/rest/v1/admin/file_download?
objectPath=gtex_analysis_v7/annotations/GTEx_Analysis_v7_Annotations_
SampleAttributesDD.xlsx -H "Authorization: Bearer
eyJhbGciOiJSUzI1NiIsImtpZCI6ImFjMmI2M2ZhZWZjZjgzNjJmNGM1MjhlN2M3ODQzMzg3OTM4
NzAxNmIifQ.
eyJhenAiOiI3ODYwNzU1MzcyNTgtcTI0MzUxM2w1OGs0M2tudWJja3NtdDJ2dmRiNG8waWwuYXBw
cy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI3ODYwNzU1MzcyNTgtcTI0MzUxM2w1OGs0
M2tudWJja3NtdDJ2dmRiNG8waWwuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIx
MTIzNzY2ODMzNDIwMzY0NDM1NDAiLCJlbWFpbCI6ImNhcHJpY3lnY2FwcmljeWdAZ21haWwuY29t
IiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImF0X2hhc2giOiJMb2NhaWM5aVlxQ0hwTmJvTkRlcXFB
IiwiZXhwIjoxNTIwNzc2Nzk1LCJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwianRpIjoiZGFl
OGI1Y2IxZDQ4NzBhYWFlOTY4ZWMwM2Q1NDc0MGU0MDAzMGQzYiIsImlhdCI6MTUyMDc3MzE5NSwi
bmFtZSI6IkNhcHJpY3kgR2FvIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250
ZW50LmNvbS8tNE1RanF3M1JmazQvQUFBQUFBQUFBQUkvQUFBQUFBQUFBQUEvQUdpNGdmeElEZGtU
MzR3eWhEaG9VRGwyUHZlbk9EclJhQS9zOTYtYy9waG90by5qcGciLCJnaXZlbl9uYW1lIjoiQ2Fw
cmljeSIsImZhbWlseV9uYW1lIjoiR2FvIn0.
PCjS69eeBIgFmMng3cRT2K1u6QSwMYDQRDvrinYfRao10EN5DdcGP-
ijRbohtDxKwpgMLEinJvWJYJu43daa95Tp3M8Whd-174hKQ6Xi1pX1dNgEWI77S8TyB1-
Ml56DKOrUVlWgiaG8Ap-my_-A76CWwGVJV_TdpJacD_l8vfZ_
hkCqoZCQCGMj4fF8002AeSKVnuktvDTBIFihLb36RVQg7H-
NEK0IoZp2qiccOKeqnGNPhZasxyIx5wF8aq9X6FJr7IrkcP7GW-Uc9oCYY-ccj5YmYjF5o9-
jkD2ZNuIT0qeh0v7MpbJ_2Ymr__ZWHyy7c4-VwGRfY6VL3x6dLA"
but still got the error message:
curl: (60) Peer's Certificate issuer is not recognized.
可能是哪里的问题?
【在 f*******o 的大作中提到】 : On your computer with web browser : 1. go to https://www.gtexportal.org/home/datasets : 2. You will be asked to login, so login with your google account : 3. Randomly choose a small file to download (such as "GTEx_Analysis_v7_ : Annotations_SubjectPhenotypesDD.xlsx"), this is to trigger the : authentication process : 4. open developer console, run : "gapi.auth2.getAuthInstance().currentUser.get().getAuthResponse().id_token" : 5. Copy this token : On your Linux command line
|
f*******o 发帖数: 1 | 16 In that case, can you try to add option -k to the curl command?
eyJhbGciOiJSUzI1NiIsImtpZCI6ImFjMmI2M2ZhZWZjZjgzNjJmNGM1MjhlN2M3ODQzMzg3OTM4
eyJhenAiOiI3ODYwNzU1MzcyNTgtcTI0MzUxM2w1OGs0M2tudWJja3NtdDJ2dmRiNG8waWwuYXBw
cy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI3ODYwNzU1MzcyNTgtcTI0MzUxM2w1OGs0
M2tudWJja3NtdDJ2dmRiNG8waWwuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIx
【在 c***y 的大作中提到】 : 附件显示我的操作, : 然后linux 系统下typed: : test]$ curl -X GET https://gtexportal.org/rest/v1/admin/file_download? : objectPath=gtex_analysis_v7/annotations/GTEx_Analysis_v7_Annotations_ : SampleAttributesDD.xlsx -H "Authorization: Bearer : eyJhbGciOiJSUzI1NiIsImtpZCI6ImFjMmI2M2ZhZWZjZjgzNjJmNGM1MjhlN2M3ODQzMzg3OTM4 : NzAxNmIifQ. : eyJhenAiOiI3ODYwNzU1MzcyNTgtcTI0MzUxM2w1OGs0M2tudWJja3NtdDJ2dmRiNG8waWwuYXBw : cy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI3ODYwNzU1MzcyNTgtcTI0MzUxM2w1OGs0 : M2tudWJja3NtdDJ2dmRiNG8waWwuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIx
|
f*******o 发帖数: 1 | 17 If it succeeds, curl will print something like:
{
"file_download": [
"https://storage.googleapis.com/gtex_analysis_pilot_v3/rna_seq_data/GTEx
_Analysis_RNA-seq_Flux1.2.3_intron_fractcovered__Pilot_V3.txt.gz?
[email protected]m&Expires=
1520778200&Signature=EdwZbh5JFhDhI4%2BR5A6/SWER7Un9%2BYyb/rSLDoizL0fLG0x/
f7Jbo5D2qbfoAKdvfgc8sekmxcmUA29ylg2Jyh87o26HpQvDsiBEIG68UHl%
2Btg9q150ajQXu9tOx10bPTAIVZ7Mjpw1sO3JrqxhwN9xLQSVVuHZ29Tc%2BF6/cK/QGOwx1Nyh%
2B8GmyybADEzHLFZdQQs8fnBSoFGmLtJzowTz/U41jcyjMmuAbdaai/wZW8z9DhF6fw/
loq1Zc42PjiFLciZymY6vqxl5bPbitLHLJgqO9c7VtsAEbA7AfI%2B09t2IrPGW5cUaKUbLs"
]
}
Be sure to use the link ASAP since it might expires soon. |