Mercurial > repos > iuc > preseq_lc_extrap
comparison preseq_lc_extrap.xml @ 0:079f2ee9bd64 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/preseq commit 730a243f12a30a36277b58fb0d92891c81af4c6f
| author | iuc |
|---|---|
| date | Wed, 11 Mar 2026 19:19:04 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:079f2ee9bd64 |
|---|---|
| 1 <tool id="preseq_lc_extrap" name="Preseq lc_extrap" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
| 2 <description>Yield Extrapolation</description> | |
| 3 | |
| 4 <macros> | |
| 5 <import>macros.xml</import> | |
| 6 </macros> | |
| 7 <expand macro="requirements"/> | |
| 8 | |
| 9 <command detect_errors="exit_code"><![CDATA[ | |
| 10 ## 1. File Preparation: Symlink the input BAM to a standard name | |
| 11 ln -s '$input_bam' input.bam && | |
| 12 | |
| 13 ## 2. lc_extrap Analysis Execute | |
| 14 preseq lc_extrap | |
| 15 -B input.bam | |
| 16 $verbose | |
| 17 -e $extrap_limit | |
| 18 -s $step_size | |
| 19 -o '$output_tsv' | |
| 20 ]]></command> | |
| 21 | |
| 22 <inputs> | |
| 23 <expand macro="macro_input_bam" /> | |
| 24 <param argument="-e" name="extrap_limit" type="integer" value="10000000" label="Extrapolation Limit" help="Total number of reads to extrapolate to."/> | |
| 25 <param argument="-s" name="step_size" type="integer" value="100000" label="Step Size" help="Step size for extrapolation."/> | |
| 26 <expand macro="macro_verbose" /> | |
| 27 </inputs> | |
| 28 | |
| 29 <outputs> | |
| 30 <data name="output_tsv" format="tsv"/> | |
| 31 </outputs> | |
| 32 | |
| 33 <tests> | |
| 34 <test expect_num_outputs="1"> | |
| 35 <param name="input_bam" value="test.bam" ftype="bam"/> | |
| 36 <param name="extrap_limit" value="100000"/> | |
| 37 <param name="step_size" value="10000"/> | |
| 38 <output name="output_tsv" file="test_lc_extrap.tsv" ftype="tsv" lines_diff="4"/> | |
| 39 </test> | |
| 40 </tests> | |
| 41 | |
| 42 <help><![CDATA[ | |
| 43 **Preseq: lc_extrap** | |
| 44 | |
| 45 The `lc_extrap` tool from the Preseq package predicts the expected yield of distinct reads for future sequencing efforts. By analyzing the current complexity of a genomic library, it calculates an extrapolation curve. This helps answer the question: "If I sequence this library deeper, how many new, unique reads will I discover?" | |
| 46 | |
| 47 **Input** | |
| 48 | |
| 49 - A **coordinate-sorted** BAM file containing aligned reads. | |
| 50 | |
| 51 **Output** | |
| 52 | |
| 53 - A tabular (TSV) file containing the extrapolated yield curve. This file is suitable for plotting and can be integrated into MultiQC reports. | |
| 54 ]]></help> | |
| 55 | |
| 56 <expand macro="citations"/> | |
| 57 | |
| 58 </tool> |
