|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <!--
|
|
|
4 <package name="htslib" version="1.9"/>
|
|
|
5 <package name="libbigwig" version="0.4.2"/>
|
|
|
6 -->
|
|
1
|
7 <package name="bamcount" version="0.4.0">
|
|
0
|
8 <install version="1.0">
|
|
|
9 <actions_group>
|
|
|
10 <actions architecture="x86_64" os="linux">
|
|
4
|
11 <action type="download_by_url">https://github.com/ChristopherWilks/bamcount/releases/download/0.4.0/bamcount-0.4.0_static.zip</action>
|
|
0
|
12 <action type="move_directory_files">
|
|
|
13 <source_directory>.</source_directory>
|
|
|
14 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
|
15 </action>
|
|
|
16 </actions>
|
|
|
17 <action type="set_environment">
|
|
|
18 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
|
|
|
19 </action>
|
|
|
20 </actions_group>
|
|
|
21 </install>
|
|
|
22 <readme><![CDATA[
|
|
1
|
23 bamcount 0.4.0
|
|
0
|
24
|
|
|
25 BAM and BigWig utility.
|
|
|
26
|
|
|
27 Usage:
|
|
|
28 bamcount <bam> [options]
|
|
|
29
|
|
|
30 Options:
|
|
|
31 -h --help Show this screen.
|
|
|
32 --version Show version.
|
|
|
33 --threads # of threads to do BAM decompression
|
|
|
34
|
|
1
|
35 Extract basic junction information from the BAM, including co-occurrence
|
|
|
36 --junctions <prefix> Extract jx coordinates, strand, and anchor length, per read
|
|
|
37 Writes to a TSV file <prefix>.jxs.tsv
|
|
|
38
|
|
|
39 Extract reads from BAM into FASTQ (exclusive of all other modes):
|
|
|
40 --bam2fastq <prefix> Extract all reads from the passed in BAM and output as FASTQs
|
|
|
41 Uses prefix to name the fastq(s)
|
|
|
42 --filter-out SAM bit flags to filter out
|
|
|
43 --filter-in SAM bit flags to filter in
|
|
|
44 --re-reverse If read is reversed in alignment, re-reverse it in output
|
|
|
45 --one-file If you know file is not paired or just want all reads in one file
|
|
|
46
|
|
0
|
47 Non-reference summaries:
|
|
1
|
48 --alts <prefix> Print differing from ref per-base coverages
|
|
|
49 Writes to a CSV file <prefix>.alts.tsv
|
|
|
50 --include-softclip <prefix> Print a record to the alts CSV for soft-clipped bases
|
|
|
51 Writes total counts to a separate TSV file <prefix>.softclip.tsv
|
|
|
52 --only-polya If --include-softclip, only print softclips which are mostly A's or T's
|
|
|
53 --include-n Print mismatch records when mismatched read base is N
|
|
|
54 --print-qual Print quality values for mismatched bases
|
|
|
55 --delta Print POS field as +/- delta from previous
|
|
|
56 --require-mdz Quit with error unless MD:Z field exists everywhere it's
|
|
|
57 expected
|
|
|
58 --no-head Don't print sequence names and lengths in header
|
|
0
|
59
|
|
|
60 Coverage and quantification:
|
|
|
61 --coverage Print per-base coverage (slow but totally worth it)
|
|
|
62 --auc <prefix> Print per-base area-under-coverage, will generate it for the genome
|
|
|
63 and for the annotation if --annotation is also passed in
|
|
|
64 Writes to a TSV file <prefix>.auc.tsv
|
|
|
65 --bigwig <prefix> Output coverage as BigWig file(s). Writes to <prefix>.all.bw
|
|
|
66 (also <prefix>.unique.bw when --min-unique-qual is specified).
|
|
|
67 Requires libBigWig.
|
|
|
68 --annotation <bed> <prefix>
|
|
|
69 Path to BED file containing list of regions to sum coverage over
|
|
|
70 (tab-delimited: chrm,start,end)
|
|
1
|
71 --keep-bam-order Output annotation coverage in the order chromosomes appear in the BAM file.
|
|
|
72 The default is to output annotation coverage in the order chromosomes appear in the BED file.
|
|
0
|
73 --min-unique-qual <int>
|
|
|
74 Output second bigWig consisting built only from alignments
|
|
|
75 with at least this mapping quality. --bigwig must be specified.
|
|
|
76 Also produces second set of annotation sums based on this coverage
|
|
|
77 if --annotation is enabled
|
|
|
78 --double-count Allow overlapping ends of PE read to count twice toward
|
|
|
79 coverage
|
|
|
80 --num-bases Report total sum of bases in alignments processed (that pass filters)
|
|
|
81
|
|
|
82 Other outputs:
|
|
|
83 --read-ends Print counts of read starts/ends, if --min-unique-qual is set
|
|
|
84 then only the alignments that pass that filter will be counted here
|
|
|
85 Writes to 2 TSV files: <prefix>.starts.tsv, <prefix>.ends.tsv
|
|
|
86 --frag-dist <prefix> Print fragment length distribution across the genome
|
|
|
87 Writes to a TSV file <prefix>.frags.tsv
|
|
|
88 --echo-sam Print a SAM record for each aligned read
|
|
|
89 --ends Report end coordinate for each read (useful for debugging)
|
|
1
|
90 --test-polya Lower Poly-A filter minimums for testing (only useful for debugging/testing)
|
|
|
91 ]]></readme>
|
|
0
|
92 </package>
|
|
|
93 </tool_dependency>
|