Mercurial > repos > morinlab > ensembl_vep
changeset 4:276b9ad6081f draft
Uploaded
| author | morinlab | 
|---|---|
| date | Fri, 27 Jan 2017 16:41:04 -0500 | 
| parents | 7d471de72765 | 
| children | 067726ba7a04 | 
| files | download_genome.xml | 
| diffstat | 1 files changed, 36 insertions(+), 0 deletions(-) [+] | 
line wrap: on
 line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/download_genome.xml Fri Jan 27 16:41:04 2017 -0500 @@ -0,0 +1,36 @@ +<tool id="download_genome" name="Get Genome" version="1.0.0"> + <description> + Download and Index Genomes using Ensemble VEP + </description> + <requirements> + <requirement type="package" version="84">ensembl_vep</requirement> + </requirements> + <command> + perl \$ENSEMBL_VEP_84_INSTALL_DIR/INSTALL.pl + --AUTO cf + --SPECIES \$(echo $species_select.value | sed 's/-/\t/g' | cut -f1) + --CACHEDIR \$ENSEMBL_VEP_84_INSTALL_DIR/cache + #if "-" in $species_select.value + --ASSEMBLY \$(echo $species_select.value | sed 's/-/\t/g' | cut -f2) + #end if + ; + + gzip -d \$ENSEMBL_VEP_84_INSTALL_DIR/cache/\$(echo $species_select.value | sed 's/-/\t/g' | cut -f1 | sed 's/\ /_/g')/*\$(echo $species_select.value | sed 's/-/\t/g' | cut -f2)/*.fa.gz; + samtools faidx \$ENSEMBL_VEP_84_INSTALL_DIR/cache/\$(echo $species_select.value | sed 's/-/\t/g' | cut -f1 | sed 's/\ /_/g')/*\$(echo $species_select.value | sed 's/-/\t/g' | cut -f2)/*.fa; + + env > $output; + </command> + <inputs> + <expand macro="genome_list" /> + </inputs> + <outputs> + <data format="txt" name="output"/> + </outputs> + <stdio> + <exit_code range="1:" level="fatal" description="Failure" /> + </stdio> + <macros> + <import>ensembl_vep_macros.xml</import> + </macros> + +</tool>
