Histories for Use Cases 2-1, 2-2

Now that you get more familiar with manipulations in Galaxy with the Use Cases 1-1 to 1-4 described in details in the previous chapters, we will describe the other Use Case analyses more concisely. If you experience lack of skills in basic Galaxy operations (tool usage, copy of datasets, etc), do not hesitate to go back and examine the previous chapters step by step.

Input data for Use Cases 2-1 and 2-2

As for the previous Use Case 1, the first step is to collect all input data in an history that we will name Input data for Use Cases 2-1 and 2-2

  1. Create a new history
  2. Rename this history Input data for Use Cases 2-1 and 2-2
  3. For the small RNA sequence datasets (ERP012577) in this study, we are going to use another tool to upload to the Galaxy Metavisitor server: the EBI SRA ENA SRAtool which in the "Get data" section of the left tool bar.
    • click on this tool and enter ERP012577 in the search field that shows up in the European Nucleotide Archive web page, and search. Click on the ERP012577 link. In the column "Submitted files (galaxy)" of the table, click on the first "fastq file 1". This action should send you back to your Galaxy page automatically and you see the fastq dataset loading (yellow dataset in the history bar).
    • repeat the exact same operation, for the three other "fastq file 1".
    • at final you should upload four fastq datasets corresponding to the sequencing runs "post_infected_rep1.fastq", "post_infected_rep2.fastq", "post_non-infected_rep1.fastq" and "post_non-infected_rep2.fastq"
    • Once the 4 uploads are completed (may takes minutes, depending on your network speed connection), click on the pencil icon of the 4 datasets, click on the datatype tab and get it to fastqsanger.
  4. Create a dataset collection as previously explained and name it Small RNA reads ERP012577
  5. For the RNA sequence datasets (ERS977505) that will be used in Use Case 2-2, use again the EBI SRA ENA SRAtool which in the "Get data" section of the left tool bar.
    • click on this tool and enter ERS977505 in the search field that shows up in the European Nucleotide Archive web page, and search. Click on the ERS977505 link (Sample 1 result found). In the column "Submitted files (galaxy)" of the table, click on the first "fastq file 1". This action should send you back to your Galaxy page automatically and you see the fastq dataset loading (yellow dataset in the history bar).
    • repeat the exact same operation for the other "fastq file 1" and the two other "fastq file 2"
    • at final you should upload four additional fastq datasets corresponding to the sequencing runs "IP-isoT-1_AGTCAA_L001_R_1.fastq", "IP-isoT-1_AGTCAA_L001_R_2.fastq", "IP-isoT-2_ATGTCA_L002_R_1.fastq" and "IP-isoT-2_ATGTCA_L002_R_2.fastq"
  6. Create a dataset collection as explained in the previous chapter and name it long read RNAseq datasets
  7. Using the "Upload file tool" as explained before, upload the Plasmodium berghei genome by pasting this URL in the Paste/Fetch Data tab of the tools:
ftp://ftp.ensemblgenomes.org/pub/release-28/protists/fasta/plasmodium_berghei/dna/Plasmodium_berghei.May_2010.28.dna_sm.genome.fa.gz
  1. Use the Retrieve FASTA from NCBI, paste phix174[title] in the "Query to NCBI in entrez format" field and select nucleotide for the NCBI database. This will upload 174 fasta sequences from phix174.
  2. Use the wheel icon at the top of the history bar to copy nucleotide vir1 blast database and protein vir1 blast database from the history References to the current history Input data for Use Cases 2-1 and 2-2. If you don't remember well how to copy datasets between histories, you may read again the explanation here (step 4.)

Your are now ready for generating Uses Cases 2-1 and 2-2

History for Use Case 2-1

  1. Stay in the current history Input data for Use Cases 2-1 and 2-2 !
  2. In the Workflow menu, select the workflow Metavisitor: Workflow for Use Case 2-1 and directly select Run (you may also look at the workflow using the edit option)
  3. Be careful at selecting Small RNA reads ERP012577 for the step 1 (Input Dataset Collection)
  4. For the step 2, the option protein vir1 blast database is forced, because the workflow is expecting of protein blast database for this step and only one dataset with this datatype is available in the history
  5. Be careful at selecting
ftp://ftp.ensemblgenomes.org/pub/release-28/protists/fasta/plasmodium_berghei/dna/Plasmodium_berghei.May_2010.28.dna_sm.genome.fa.gz

for step 10 (sRbowtie) 6. Be careful at selecting

Retrieve FASTA from NCBI (Nucleotide) with queryString 'phix174[title]'

for step 11 (sRbowtie). 7. Click the Send results to a new history checkbox and rename the history to "History for Use Case 2-1". 8. Run Workflow !

You may follow the link to the new history when the workflow is started.

History for Use Case 2-2

  1. If you are not already in, go back to the history Input data for Use Cases 2-1 and 2-2
  2. In the Workflow menu, select the workflow Metavisitor: Workflow for Use Case 2-2 and directly select Run (you may also look at the workflow using the edit option)
  3. Be careful at selecting long read RNAseq datasets for the step 1 (Input Dataset Collection)
  4. For the step 2, the option protein vir1 blast database is forced, because the workflow is expecting of protein blast database for this step and only one dataset with this datatype is available in the history
  5. Click the Send results to a new history checkbox and rename the history to "History for Use Case 2-1".
  6. Run Workflow.

Re-mapping of the small RNA reads (ERP012577) to the AnCV genome (KU169878).

The previous workflow allowed to assemble a large contig of 8919 nt which significantly matched structural and non-structural polyproteins of Drosophila C Virus and Cricket Paralysis Virus in blastx alignments (see the dataset blast analysis, by subjects of the history). This large contig corresponds to the genome of a new Anopheles C Virus deposited to the NCBI nucleotide database under accession number KU169878 (see the companion Metavisitor article and Carissimo et al).

Here, we are going to perform manually a few steps, before using another workflow in the history 2-2 to remap the ERP012577 small RNA reads to the AnCV genome.

  1. Look at the blast analysis, by subjects dataset and copy the name of the 8919 nt contig that aligned to DCV and CrPV sequences. It is noteworthy that this name may vary from one Oase run to another because the Oases algorithm is not totally deterministic. In the companion Metavisitor article, this name was Locus_69_Transcript_1/1_Confidence_0.000_Length_8919.
    • Copy this name, find the tool Pick Fasta sequences with header satisfying a query string in the Galaxy tool bar, and paste this name in the field Select sequences with this string in their header of the tool form. Select the dataset Oases_optimiser on data 20: Denovo assembled transcripts as a source file, and run the tool.
  2. Now, we are going to change the header of the previously extracted fasta sequence using the tool Regex Find And Replace.

    • Select the previous dataset Pick Fasta sequences on data 21 including 'Locus_69_Transcript_1/1_Confidence_0.000_Length_8919' in header as input dataset for this tool. Click on + Insert Check. Use Locus_69_Transcript_1/1_Confidence_0.000_Length_8919 as Find Regex and Anopheles_C_Virus|KU169878 as Replacement. Execute the tool. Look at the resulting dataset.
  3. Copy the dataset collection Small RNA reads ERP012577 from the history Input data for Use Cases 2-1 and 2-2 into the current history Use Case 2-2. You may have the refresh the history bar to see this collection and the attached datasets popping up.

We are now ready to run the workflow.


  1. In the workflow menu, pick up the workflow Metavisitor: Workflow for remapping in Use Cases 2-1,2 and select the run option.
  2. In the workflow form, ensure that Small RNA reads ERP012577 are selected for the Step 1 and Regex Find And Replace on data 28 is selected for the step 2 (this should be the case if you followed the instructions).
  3. This time, do not check the box Send results to a new history and directly click the Run workflowbutton.

This workflow will provide you with a graphical view of ERP012577 small RNA mapping to the AnCV genome.