# import dataset NCBI

**URL:** <https://help.galaxyproject.org/t/import-dataset-ncbi/9989>\
**Category:** usegalaxy.eu support\
**Tags:** gtn-tutorial, upload, blast, third-party-identities\
**Created:** [May 1, 2023, 8:49am UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989 "2023-05-01T08:49:30Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna\_Maria](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/anna_maria/32/4198_2.png) [@Anna\_Maria](https://help.galaxyproject.org/u/Anna_Maria)\
**Post date:** [May 1, 2023, 8:49am UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/1 "2023-05-01T08:49:30Z")

</div>

Dear all, I cannot import dataset from UNITE or NCBI…is there any tutorial about this issue?  
thanjs

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [May 1, 2023, 6:08pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/2 "2023-05-01T18:08:27Z")

</div>

Welcome, @Anna_Maria

These FAQs have some tips about loading data to Galaxy. [https://training.galaxyproject.org/training-material/faqs/galaxy/#data%20upload](https://training.galaxyproject.org/training-material/faqs/galaxy/#data%20upload)

And many tutorials have examples that include an Upload step. You can also navigate the training site by analysis domain. [https://training.galaxyproject.org/training-material/search?query=upload](https://training.galaxyproject.org/training-material/search?query=upload)

If you still need more help after reviewing, please share more details. [Troubleshooting errors](https://training.galaxyproject.org/training-material/faqs/galaxy/analysis_troubleshooting.html)

---

<div class="post-metadata">

**Author:** ![Anna\_Maria](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/anna_maria/32/4198_2.png) [@Anna\_Maria](https://help.galaxyproject.org/u/Anna_Maria)\
**Post date:** [May 2, 2023, 5:06pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/3 "2023-05-02T17:06:47Z")

</div>

Dearc jennifer tha nks for the support but I really do not know how to porceed. Could you send me a protocol for the analysis of the 18S (fungi)  
thanks  
anna Maria

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [May 2, 2023, 5:11pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/4 "2023-05-02T17:11:55Z")

</div>

> [@Anna\_Maria](#):
>
> Could you send me a protocol for the analysis of the 18S (fungi)

Please see [Analyses of metagenomics data - The global picture](https://training.galaxyproject.org/training-material/topics/metagenomics/tutorials/general-tutorial/tutorial.html)

---

<div class="post-metadata">

**Author:** ![Anna\_Maria](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/anna_maria/32/4198_2.png) [@Anna\_Maria](https://help.galaxyproject.org/u/Anna_Maria)\
**Post date:** [May 3, 2023, 4:09pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/5 "2023-05-03T16:09:09Z")

</div>

Dear Jennifer many thanks, the document refers to 16s analysis . I repeat all the steps but I do not know how to go on when I have to align my ITS sequences (18s) . what is the :

Select Reference Template  
“reference” to the reference file in the ncbi nrDNA database ? how can upload the file?

many thanks

Anna Maria

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [May 3, 2023, 4:20pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/6 "2023-05-03T16:20:13Z")

</div>

> [@Anna\_Maria](#):
>
> the document refers to 16s analysis

Hello,

Tutorials are examples. Going through them will help you to learn and understand what appropriate inputs and parameters are involved. None of this is exact, and is what you would need to do even if working outside of Galaxy.

In short, you’ll need to adapt methods for your own data. Suggestions:

1. find a few publications that do something similar to what you want to do
2. consider visiting general bioinformatics forums
3. tool author forums
4. public data repositories
5. sites hosted by scientific communities focused on your research domain
6. leveraging resources that are not currently using Galaxy is expected. GTN tutorials cover a small slice of available bioinformatics tools/methods.

Others are welcome to add more comments!

---

<div class="post-metadata">

**Author:** ![Anna\_Maria](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/anna_maria/32/4198_2.png) [@Anna\_Maria](https://help.galaxyproject.org/u/Anna_Maria)\
**Post date:** [May 9, 2023, 7:25pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/7 "2023-05-09T19:25:11Z")

</div>

dear Jennifer finally I got a results but it seems that something is wrong . If I copy that sequence obtained (fileterd…merged…ecc) they blast on NCBI from position 200nt…as only 1 of the paired sequence has been processed. I add here the steps I did

---

<div class="post-metadata">

**Author:** ![Anna\_Maria](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/anna_maria/32/4198_2.png) [@Anna\_Maria](https://help.galaxyproject.org/u/Anna_Maria)\
**Post date:** [May 9, 2023, 7:31pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/8 "2023-05-09T19:31:06Z")

</div>

Dear Jenniferfinally I got a results but it seems that something is wrong . If I copy that sequence obtained (fileterd…merged…ecc) they blast on NCBI from position 200nt…as only 1 of the paired sequence has been processed. I add here the steps I did and the files.The sections in yellow are more critical pointsù

Could you please …thank you!!!

[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)data](https://drive.google.com/file/d/1safARFskDYyfXT0Tm1YdNPxrThq6pTQc/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)  
[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)PS8\_1.fastq.gz](https://drive.google.com/file/d/1mcRpNOudG6abCJNT77tzlRqiMzVPxzL6/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)  
[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)PS8\_2.fastq.gz](https://drive.google.com/file/d/1UI4p-LkB1-8nGDOHYPtPQdCEfY9fcGVa/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)  
[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)PS8\_F\_filt.fastq.gz](https://drive.google.com/file/d/14yA-pkUkwB7AQnac78yCpsvinpmFmt4t/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)  
[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)PS8\_R\_filt.fastq.gz](https://drive.google.com/file/d/1OBfMKygWsxhVg7yLSNN2Gs7EVByyUCQu/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)  
[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)PS8count](https://drive.google.com/file/d/12Flx9enATr-yL3WnV5kA5rE4ZJ8YiO_E/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)  
[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)PS8dadaehisotry.Rhistory](https://drive.google.com/file/d/14bYtVBgy0CyfaMH3RGLQTF_x_tiAdJuD/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)  
[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)PS8taxa](https://drive.google.com/file/d/1jOGWtBM7yeSguNyuhhKnF9guYYaKxZ0f/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)  
[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)tabella](https://drive.google.com/file/d/1PCZydU746DY7ZULWH8AwoaA1BD2Wx1C_/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)  
[![](https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png)UNITE.fasta](https://drive.google.com/file/d/12GCGM74PBPmRAQ_oktIm0eksuEWGYG0i/view?usp=drive_web) ![](https://ssl.gstatic.com/ui/v1/icons/common/x_8px.png)

help me to understand what is wrong?

> fnFs ← sort(list.files(pattern=“PS8\_1.fastq”))

> fnRs ← sort(list.files(pattern=“PS8\_2.fastq”))

> sample.names ← sapply(strsplit(fnFs, “\_”), `[`, 1)

> fnFs ← file.path(fnFs)

> fnRs ← file.path(fnRs)

> plotQualityProfile(fnFs[1:2])

```auto
> filt_path <- file.path( "filtered")

```

```auto
> filtFs <- file.path(filt_path, paste0(sample.names, "_F_filt.fastq.gz"))

```

```auto
> filtRs <- file.path(filt_path, paste0(sample.names, "_R_filt.fastq.gz"))

```

```auto
> out <- filterAndTrim(fnFs, filtFs, fnRs, filtRs,

```

```auto
+ maxN=0, maxEE=c(2,2), truncQ=2, rm.phix=TRUE,

```

```auto
+ compress=TRUE, multithread=FALSE)

```

```auto
Creating output directory: filtered

```

```auto
> errF <- learnErrors(filtFs, multithread=TRUE)

```

```auto
14339212 total bases in 50672 reads from 1 samples will be used for learning the error rates.

```

```auto
> errR <- learnErrors(filtRs, multithread=TRUE)

```

```auto
11466811 total bases in 50672 reads from 1 samples will be used for learning the error rates.

```

```auto
> derepFs <- derepFastq(filtFs, verbose=TRUE)

```

```auto
Dereplicating sequence entries in Fastq file: filtered/PS8_F_filt.fastq.gz

```

```auto
Encountered 29001 unique sequences from 50672 total sequences read.

```

```auto
> derepRs <- derepFastq(filtRs, verbose=TRUE)

```

```auto
Dereplicating sequence entries in Fastq file: filtered/PS8_R_filt.fastq.gz

```

```auto
Encountered 36009 unique sequences from 50672 total sequences read.

```

```auto
> names(derepFs) <- sample.names

```

```auto
Warning message:

```

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [May 10, 2023, 2:09pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/9 "2023-05-10T14:09:00Z")

</div>

Hi @Anna_Maria

Are you still working in Galaxy?

Are you following/adapting a published protocol?

---

<div class="post-metadata">

**Author:** ![Anna\_Maria](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/anna_maria/32/4198_2.png) [@Anna\_Maria](https://help.galaxyproject.org/u/Anna_Maria)\
**Post date:** [May 10, 2023, 2:20pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/10 "2023-05-10T14:20:10Z")

</div>

dear Jennifer, I am following this protocol  
[https://training.galaxyproject.org/training-material/topics/metagenomics/tutorials/mothur-miseq-sop/tutorial.html](https://training.galaxyproject.org/training-material/topics/metagenomics/tutorials/mothur-miseq-sop/tutorial.html)

---

<div class="post-metadata">

**Author:** ![Anna\_Maria](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/anna_maria/32/4198_2.png) [@Anna\_Maria](https://help.galaxyproject.org/u/Anna_Maria)\
**Post date:** [May 11, 2023, 5:41pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/11 "2023-05-11T17:41:34Z")

</div>

Dear Jennifer, could you please help me?  
thanks  
Anna Maria

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [May 12, 2023, 7:32pm UTC](https://help.galaxyproject.org/t/import-dataset-ncbi/9989/12 "2023-05-12T19:32:29Z")

</div>

I’m not sure why you are having problems when mapping at NCBI. I can let you know that BLAST excepts fasta data as an input, not fastq.

The tutorial you are following [16S Microbial Analysis with mothur (extended)](https://training.galaxyproject.org/training-material/topics/metagenomics/tutorials/mothur-miseq-sop/tutorial.html) includes a workflow. Maybe you can adapt that to fit your analysis?
