Skip to content

Latest commit

 

History

History
108 lines (67 loc) · 3.53 KB

step3.rst

File metadata and controls

108 lines (67 loc) · 3.53 KB

|CyVerse_logo|_

|Home_Icon|_ Learning Center Home

Filter multi-mapping reads and add read groups

HAMR requires that reads map unambiguously to a reference sequence, in order to avoid false-positive mismatches. Workflow-extractUniqueReads, retains uniquely mapping reads and converts to the sorted BAM format. Next step resolving spliced alignments using GATK requires assigning reads in a file to a read-group. Picard AddorReplaceGroups DE app will be used for assignment of read-group.


Input Data:

Input Description Example
HISAT2 output file Alignment file in BAM format iplantcollaborative > example_data > HAMR_tutorial -> mapped_reads

RUN Workflow-extractUniqueReads

  1. Click on "Apps" tab in the Discovery Environment and search for "Workflow-extractUniqueReads".
  2. Click on the app icon and change the name of the analysis and output folder as desired.
  3. Under Step1- Samtools 1.11 BAM to SAM provide input BAM file from the data store. Example data for this step is provided at iplantcollaborative > example_data > HAMR_tutorial -> mapped_reads -> SRR7947123_1M_1.sorted.bam. In the next step, getuniquereads provide the output file name and click Launch Analysis.

RUN Picard AddorReplaceReadGroups

  1. Search for the app "Picard" in Apps search window.
  2. Click on the app icon 'Picard AddorReplaceReadGroups v2.5'.
  3. Under the Inputs section provide the output from the Workflow-extractUniqueReads. Example data is provided at iplantcollaborative > example_data > HAMR_tutorial -> unique_mapping_reads -> output_sorted.bam. Provide Read group ID, library, platform, platform unit and sample name.
  4. Under output section, provide the output file name and click Launch Analysis.

Output/Results

Output Description Example
Assigned read groups BAM file with assigned read groups iplantcollaborative > example_data > HAMR_tutorial -> unique_mapping_reads_assignRG -> output.RG.bam

Fix or improve this documentation


|Home_Icon|_ Learning Center Home