Mercurial > repos > devteam > sam_pileup
diff sam_pileup.xml @ 1:efd77ef84903 draft
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
| author | devteam |
|---|---|
| date | Tue, 13 Oct 2015 12:30:34 -0400 |
| parents | cb3966035753 |
| children | 37df866ccf1a |
line wrap: on
line diff
--- a/sam_pileup.xml Tue Aug 20 11:58:50 2013 -0400 +++ b/sam_pileup.xml Tue Oct 13 12:30:34 2015 -0400 @@ -1,4 +1,4 @@ -<tool id="sam_pileup" name="Generate pileup" version="1.1.1"> +<tool id="sam_pileup" name="Generate pileup" version="1.1.2"> <description>from BAM dataset</description> <requirements> <requirement type="package" version="0.1.16">samtools</requirement> @@ -11,10 +11,8 @@ #if $refOrHistory.reference == "history": --ownFile=$refOrHistory.ownFile #else: - --ownFile="None" + --index=${refOrHistory.index.fields.path} #end if - --dbkey=${input1.metadata.dbkey} - --indexDir=${GALAXY_DATA_INDEX_DIR} --bamIndex=${input1.metadata.bam_index} --lastCol=$lastCol --indels=$indels @@ -41,7 +39,14 @@ <when value="indexed"> <param name="input1" type="data" format="bam" label="Select the BAM file to generate the pileup file for"> <validator type="unspecified_build" /> - <validator type="dataset_metadata_in_file" filename="sam_fa_indices.loc" metadata_name="dbkey" metadata_column="1" message="Sequences are not currently available for the specified build." line_startswith="index" /> + <validator type="dataset_metadata_in_data_table" table_name="fasta_indexes" metadata_name="dbkey" metadata_column="1" message="Sequences are not currently available for the specified build." /> + + </param> + <param name="index" type="select" label="Using reference genome"> + <options from_data_table="fasta_indexes"> + <filter type="data_meta" ref="input1" key="dbkey" column="1" /> + <validator type="no_options" message="No reference genome is available for the build associated with the selected input dataset" /> + </options> </param> </when> <when value="history"> @@ -100,6 +105,7 @@ --> <param name="reference" value="indexed" /> <param name="input1" value="sam_pileup_in1.bam" ftype="bam" dbkey="equCab2" /> + <param name="index" value="chr_m" /> <param name="lastCol" value="no" /> <param name="indels" value="no" /> <param name="mapCap" value="60" />
