Skip to content

Commit

Permalink
added workflow fetch_sra_to_bam_bam_only
Browse files Browse the repository at this point in the history
  • Loading branch information
lakras committed Jul 14, 2024
1 parent 5f409b4 commit 4407ba1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pipes/WDL/workflows/fetch_sra_to_bam.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,28 @@ workflow fetch_sra_to_bam {
File sra_metadata = Fetch_SRA_to_BAM.sra_metadata
}
}

workflow fetch_sra_to_bam_bam_only {
meta {
description: "Retrieve reads from the NCBI Short Read Archive in unaligned BAM format."
author: "Broad Viral Genomics"
email: "viral-ngs@broadinstitute.org"
allowNestedInputs: true
}

call terra.check_terra_env

#if(check_terra_env.is_running_on_terra) {
call ncbi_tools.Fetch_SRA_to_BAM_BAM_only {
input:
email_address = select_first([check_terra_env.user_email, ""])
}
#}
#if(!check_terra_env.is_running_on_terra) {
# call ncbi_tools.Fetch_SRA_to_BAM
#}

output {
File reads_ubam = Fetch_SRA_to_BAM_BAM_only.reads_ubam
}
}

0 comments on commit 4407ba1

Please sign in to comment.