Off topic:Slice .vcf files from TCGA controlled access during download
0
0
Entering edit mode
4.0 years ago
j.lunger18 ▴ 30

I'm interested in downloading TCGA controlled access data and have the permissions to do so. I have a list of file IDs for .vcf files for download, but would like to slice them before download because I do not need annotations from the entire genome. Does anyone know how to do this?

For reference, I was able to do this for controlled access bam files with the following command after exporting the authorization token:

for id in $(cat file_ids.txt)
do
    curl --header "X-Auth-Token:$token" "https://api.gdc.cancer.gov/slicing/view/${id}?gencode=my_gene" \
        --output desitination/${id}.bam
done
VCF TCGA bcftools vcftools tabix • 347 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1877 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6