From published TCGA code, how to fix error: I couldn't find all the files from the query.Please check...
I am trying to replicate the process published here: https://dockflow.org/workflow/tcga//
The published code has been working perfectly up to the section saying: The clinical data can be obtained using TCGAbiolinks through two methods. The first method of downloading the indexed GDC clinical data works as expected:
lgg_clin <- GDCquery_clinic(project = "TCGA-LGG", type = "Clinical")
lgg_clin <- GDCquery_clinic(project = "TCGA-LGG", type = "Clinical")
clinical <- plyr::rbind.fill(gbm_clin,lgg_clin)
head(clinical)
The above shows realistic output (truncated below to conserve space):
head(clinical)
submitter_id classification_of_tumor last_known_disease_status updated_datetime primary_diagnosis tumor_stage age_at_diagnosis
1 TCGA-02-0001 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 16179
2 TCGA-02-0003 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 18341
3 TCGA-02-0004 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 21617
When the following code is run to get the clinical data the second way, i.e. from the clinical XML files:
query <- GDCquery(project = "TCGA-GBM"
,data.category = "Clinical"
,barcode = c("TCGA-08-0516"
,"TCGA-02-0317"
)
)
GDCdownload(query)
clinical <- GDCprepare_clinic(query, clinical.info = "patient")
head(clinical)
...the following output (in yellow) and error is returned (in the gray section):
GDCdownload(query)
Downloading data for project TCGA-GBM
trying URL 'https://gdc.cancer.gov/system/files/authenticated%20user/0/gdc-> > client_v1.3.0_Windows_x64.zip'
Content type 'application/zip' length 16576709 bytes (15.8 MB)
downloaded 15.8 MB
GDCdownload will download: 2.579335 MB
Executing GDC client with the following command:
C:MyDirgdc-client.exe download -m gdc_manifest.txt
100% [#############################################] Time: 0:00:00 1.33 B/s
100% [#############################################] Time: 0:00:00 315.34 kB/s
100% [#############################################] Time: 0:00:00 109.00 kB/s
100% [#############################################] Time: 0:00:00 3.56 kB/s
100% [#############################################] Time: 0:00:00 258.15 kB/s
100% [#############################################] Time: 0:00:03 869.38 B/s
100% [#############################################] Time: 0:00:00 319.63 kB/s
100% [#############################################] Time: 0:00:00 830.89 kB/s
Successfully downloaded: 9
Error in move(i, file.path(path, i)) :
I could not find the file: c9cdbc76-105d-429b-9fce-f000819716f9
clinical <- GDCprepare_clinic(query, clinical.info = "patient")
Error in GDCprepare_clinic(query, clinical.info = "patient") :
I couldn't find all the files from the query.Please check directory parameter right
It seems like there is data in "clinical" and based on the "Successfully downloaded: 9" message it appears there should be data somewhere so I am wondering how to get the GDCprepare_clinic() to get past the error to continue.
Thanks in advance.
r
add a comment |
I am trying to replicate the process published here: https://dockflow.org/workflow/tcga//
The published code has been working perfectly up to the section saying: The clinical data can be obtained using TCGAbiolinks through two methods. The first method of downloading the indexed GDC clinical data works as expected:
lgg_clin <- GDCquery_clinic(project = "TCGA-LGG", type = "Clinical")
lgg_clin <- GDCquery_clinic(project = "TCGA-LGG", type = "Clinical")
clinical <- plyr::rbind.fill(gbm_clin,lgg_clin)
head(clinical)
The above shows realistic output (truncated below to conserve space):
head(clinical)
submitter_id classification_of_tumor last_known_disease_status updated_datetime primary_diagnosis tumor_stage age_at_diagnosis
1 TCGA-02-0001 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 16179
2 TCGA-02-0003 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 18341
3 TCGA-02-0004 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 21617
When the following code is run to get the clinical data the second way, i.e. from the clinical XML files:
query <- GDCquery(project = "TCGA-GBM"
,data.category = "Clinical"
,barcode = c("TCGA-08-0516"
,"TCGA-02-0317"
)
)
GDCdownload(query)
clinical <- GDCprepare_clinic(query, clinical.info = "patient")
head(clinical)
...the following output (in yellow) and error is returned (in the gray section):
GDCdownload(query)
Downloading data for project TCGA-GBM
trying URL 'https://gdc.cancer.gov/system/files/authenticated%20user/0/gdc-> > client_v1.3.0_Windows_x64.zip'
Content type 'application/zip' length 16576709 bytes (15.8 MB)
downloaded 15.8 MB
GDCdownload will download: 2.579335 MB
Executing GDC client with the following command:
C:MyDirgdc-client.exe download -m gdc_manifest.txt
100% [#############################################] Time: 0:00:00 1.33 B/s
100% [#############################################] Time: 0:00:00 315.34 kB/s
100% [#############################################] Time: 0:00:00 109.00 kB/s
100% [#############################################] Time: 0:00:00 3.56 kB/s
100% [#############################################] Time: 0:00:00 258.15 kB/s
100% [#############################################] Time: 0:00:03 869.38 B/s
100% [#############################################] Time: 0:00:00 319.63 kB/s
100% [#############################################] Time: 0:00:00 830.89 kB/s
Successfully downloaded: 9
Error in move(i, file.path(path, i)) :
I could not find the file: c9cdbc76-105d-429b-9fce-f000819716f9
clinical <- GDCprepare_clinic(query, clinical.info = "patient")
Error in GDCprepare_clinic(query, clinical.info = "patient") :
I couldn't find all the files from the query.Please check directory parameter right
It seems like there is data in "clinical" and based on the "Successfully downloaded: 9" message it appears there should be data somewhere so I am wondering how to get the GDCprepare_clinic() to get past the error to continue.
Thanks in advance.
r
add a comment |
I am trying to replicate the process published here: https://dockflow.org/workflow/tcga//
The published code has been working perfectly up to the section saying: The clinical data can be obtained using TCGAbiolinks through two methods. The first method of downloading the indexed GDC clinical data works as expected:
lgg_clin <- GDCquery_clinic(project = "TCGA-LGG", type = "Clinical")
lgg_clin <- GDCquery_clinic(project = "TCGA-LGG", type = "Clinical")
clinical <- plyr::rbind.fill(gbm_clin,lgg_clin)
head(clinical)
The above shows realistic output (truncated below to conserve space):
head(clinical)
submitter_id classification_of_tumor last_known_disease_status updated_datetime primary_diagnosis tumor_stage age_at_diagnosis
1 TCGA-02-0001 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 16179
2 TCGA-02-0003 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 18341
3 TCGA-02-0004 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 21617
When the following code is run to get the clinical data the second way, i.e. from the clinical XML files:
query <- GDCquery(project = "TCGA-GBM"
,data.category = "Clinical"
,barcode = c("TCGA-08-0516"
,"TCGA-02-0317"
)
)
GDCdownload(query)
clinical <- GDCprepare_clinic(query, clinical.info = "patient")
head(clinical)
...the following output (in yellow) and error is returned (in the gray section):
GDCdownload(query)
Downloading data for project TCGA-GBM
trying URL 'https://gdc.cancer.gov/system/files/authenticated%20user/0/gdc-> > client_v1.3.0_Windows_x64.zip'
Content type 'application/zip' length 16576709 bytes (15.8 MB)
downloaded 15.8 MB
GDCdownload will download: 2.579335 MB
Executing GDC client with the following command:
C:MyDirgdc-client.exe download -m gdc_manifest.txt
100% [#############################################] Time: 0:00:00 1.33 B/s
100% [#############################################] Time: 0:00:00 315.34 kB/s
100% [#############################################] Time: 0:00:00 109.00 kB/s
100% [#############################################] Time: 0:00:00 3.56 kB/s
100% [#############################################] Time: 0:00:00 258.15 kB/s
100% [#############################################] Time: 0:00:03 869.38 B/s
100% [#############################################] Time: 0:00:00 319.63 kB/s
100% [#############################################] Time: 0:00:00 830.89 kB/s
Successfully downloaded: 9
Error in move(i, file.path(path, i)) :
I could not find the file: c9cdbc76-105d-429b-9fce-f000819716f9
clinical <- GDCprepare_clinic(query, clinical.info = "patient")
Error in GDCprepare_clinic(query, clinical.info = "patient") :
I couldn't find all the files from the query.Please check directory parameter right
It seems like there is data in "clinical" and based on the "Successfully downloaded: 9" message it appears there should be data somewhere so I am wondering how to get the GDCprepare_clinic() to get past the error to continue.
Thanks in advance.
r
I am trying to replicate the process published here: https://dockflow.org/workflow/tcga//
The published code has been working perfectly up to the section saying: The clinical data can be obtained using TCGAbiolinks through two methods. The first method of downloading the indexed GDC clinical data works as expected:
lgg_clin <- GDCquery_clinic(project = "TCGA-LGG", type = "Clinical")
lgg_clin <- GDCquery_clinic(project = "TCGA-LGG", type = "Clinical")
clinical <- plyr::rbind.fill(gbm_clin,lgg_clin)
head(clinical)
The above shows realistic output (truncated below to conserve space):
head(clinical)
submitter_id classification_of_tumor last_known_disease_status updated_datetime primary_diagnosis tumor_stage age_at_diagnosis
1 TCGA-02-0001 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 16179
2 TCGA-02-0003 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 18341
3 TCGA-02-0004 not reported not reported 2018-09-06T13:49:07.196637-05:00 Glioblastoma not reported 21617
When the following code is run to get the clinical data the second way, i.e. from the clinical XML files:
query <- GDCquery(project = "TCGA-GBM"
,data.category = "Clinical"
,barcode = c("TCGA-08-0516"
,"TCGA-02-0317"
)
)
GDCdownload(query)
clinical <- GDCprepare_clinic(query, clinical.info = "patient")
head(clinical)
...the following output (in yellow) and error is returned (in the gray section):
GDCdownload(query)
Downloading data for project TCGA-GBM
trying URL 'https://gdc.cancer.gov/system/files/authenticated%20user/0/gdc-> > client_v1.3.0_Windows_x64.zip'
Content type 'application/zip' length 16576709 bytes (15.8 MB)
downloaded 15.8 MB
GDCdownload will download: 2.579335 MB
Executing GDC client with the following command:
C:MyDirgdc-client.exe download -m gdc_manifest.txt
100% [#############################################] Time: 0:00:00 1.33 B/s
100% [#############################################] Time: 0:00:00 315.34 kB/s
100% [#############################################] Time: 0:00:00 109.00 kB/s
100% [#############################################] Time: 0:00:00 3.56 kB/s
100% [#############################################] Time: 0:00:00 258.15 kB/s
100% [#############################################] Time: 0:00:03 869.38 B/s
100% [#############################################] Time: 0:00:00 319.63 kB/s
100% [#############################################] Time: 0:00:00 830.89 kB/s
Successfully downloaded: 9
Error in move(i, file.path(path, i)) :
I could not find the file: c9cdbc76-105d-429b-9fce-f000819716f9
clinical <- GDCprepare_clinic(query, clinical.info = "patient")
Error in GDCprepare_clinic(query, clinical.info = "patient") :
I couldn't find all the files from the query.Please check directory parameter right
It seems like there is data in "clinical" and based on the "Successfully downloaded: 9" message it appears there should be data somewhere so I am wondering how to get the GDCprepare_clinic() to get past the error to continue.
Thanks in advance.
r
r
asked Nov 12 '18 at 23:05
DennisDennis
214
214
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53271390%2ffrom-published-tcga-code-how-to-fix-error-i-couldnt-find-all-the-files-from-t%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53271390%2ffrom-published-tcga-code-how-to-fix-error-i-couldnt-find-all-the-files-from-t%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown