annotate crossmap_bam.xml @ 0:9bcfe0aabf5d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
author iuc
date Sat, 01 Jul 2017 17:45:57 -0400
parents
children 6463cf32d733
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
1 <tool id="crossmap_bam" name="CrossMap BAM" version="@WRAPPER_VERSION@-0">
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
2 <description>Convert genome coordinates or annotation files between genome assemblies</description>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
3 <macros>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
4 <import>macros.xml</import>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
5 </macros>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
9 <command><![CDATA[
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
10 #if $input_file.extension == "bam":
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
11 #set $input_file = "input.sam"
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
12 samtools view -h '${seq_source.input}' > '${input_file}' &&
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
13 #else:
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
14 #set $input_file = "input.bam"
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
15 ln -s '${seq_source.input}' '${input_file}'
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
16 #end if
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
17
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
18 CrossMap.py
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
19 bam
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
20
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
21 "$chain_source.input_chain"
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
22 $optional_tags
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
23
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
24 -m $insert_size
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
25 -s $insert_size_stdev
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
26 -t $insert_size_fold
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
27
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
28 '${input_file}'
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
29 '${output}'
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
30
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
31 && samtools sort "${output}.sam" > '${output}'
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
32 && samtools sort "${output}.unmap.sam" > '${output_unmapped}'
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
33 ]]></command>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
34
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
35 <inputs>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
36 <conditional name="seq_source">
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
37 <expand macro="source" />
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
38 <when value="cached">
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
39 <param type="data" format="bam" name="input" label="BAM file">
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
40 <validator type="unspecified_build"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
41 <!-- Gives error in tests
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
42 <validator type="dataset_metadata_in_file" filename="liftOver.loc" metadata_name="dbkey" metadata_column="0" message="LiftOver mapping (chain file) is not available for the specified build."/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
43 -->
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
44 </param>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
45 <param name="input_chain" type="select" label="Lift Over To">
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
46 <options from_file="liftOver.loc">
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
47 <column name="name" index="1"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
48 <column name="value" index="2"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
49 <column name="dbkey" index="0"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
50 <filter type="data_meta" ref="input" key="dbkey" column="0"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
51 </options>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
52 </param>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
53 </when>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
54 <when value="history">
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
55 <param type="data" format="bam" name="input" label="BAM/SAM file"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
56 <param type="data" format="csv" name="input_chain" label="LiftOver chain file"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
57 </when>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
58 </conditional>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
59 <expand macro="chain" />
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
60 <param name="optional_tags" type="boolean" truevalue="-a" falsevalue="" label="Add optional BAM/SAM Headers" argument="-a"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
61
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
62 <param name="insert_size" type="float" value="200.0" label="Insert size" argument="-m" help="Average insert size of pair-end sequencing (bp) [default=200.0]"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
63 <param name="insert_size_stdev" type="float" value="30.0" label="Insert size std. dev" argument="-s" help="Stanadard deviation of insert size. [default=30.0]"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
64 <param name="insert_size_fold" type="float" value="3.0" label="Insert size std. dev foldchange" argument="-t" help="A mapped pair is considered as 'proper pair' if both ends mapped to different strand and the distance between them is less then '-t' * stdev from the mean. [default=3.0]"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
65 </inputs>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
66
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
67 <outputs>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
68 <data format="bam" name="output" label="${tool.name} on ${on_string}" />
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
69 <data format="bam" name="output_unmapped" label="${tool.name} (unmapped) on ${on_string}" />
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
70 </outputs>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
71
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
72 <tests>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
73 <!-- BAM/SAM -->
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
74 <test>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
75 <param name="index_source" value="history"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
76 <param name="input" value="test_bam_01_input_a.bam" ftype="bam"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
77 <param name="input_chain" value="aToB.over.chain" ftype="csv"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
78 <param name="include_fails" value="False"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
79
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
80 <output name="output" file="test_bam_01_output_a.bam" compare="diff" lines_diff="8"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
81 <output name="output_unmapped" file="test_bam_01_output_a.unmap.bam" compare="diff" lines_diff="8"/>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
82 </test>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
83 </tests>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
84 <help><![CDATA[
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
85 @HELP_GENERAL@
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
86
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
87 SAM / BAM
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
88 ---------
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
89
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
90 CrossMap updates chromosomes, genome coordinates, header sections, and all
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
91 SAM flags accordingly. The program version (of CrossMap) is inserted into the
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
92 header section, along with the names of the original BAM file and the chain
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
93 file. For pair-end sequencing, insert size is also recalculated.
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
94
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
95
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
96 **Optional tags**
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
97
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
98 Q
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
99 QC. QC failed.
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
100
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
101 N
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
102 Unmapped. Originally unmapped or originally mapped but failed to liftover to new assembly.
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
103
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
104 M
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
105 Multiple mapped. Alignment can be liftover to multiple places.
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
106
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
107 U
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
108 Unique mapped. Alignment can be liftover to only 1 place.
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
109
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
110 **Tags for pair-end sequencing include:**
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
111
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
112 QF = QC failed
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
113 NN = both read1 and read2 unmapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
114 NU = read1 unmapped, read2 unique mapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
115 NM = read1 unmapped, multiple mapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
116 UN = read1 uniquely mapped, read2 unmap
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
117 UU = both read1 and read2 uniquely mapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
118 UM = read1 uniquely mapped, read2 multiple mapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
119 MN = read1 multiple mapped, read2 unmapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
120 MU = read1 multiple mapped, read2 unique mapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
121 MM = both read1 and read2 multiple mapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
122
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
123 **Tags for single-end sequencing include**
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
124
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
125 QF = QC failed
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
126 SN = unmaped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
127 SM = multiple mapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
128 SU = uniquely mapped
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
129
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
130 See `the manual <http://crossmap.sourceforge.net/#convert-bam-sam-format-files>`__ for more details
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
131 ]]></help>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
132
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
133 <citations>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
134 <citation type="doi">10.1093/bioinformatics/btt730</citation>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
135 </citations>
9bcfe0aabf5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/crossmap commit 8564863eaad7bb9f9c8c273d471511979a2c96aa
iuc
parents:
diff changeset
136 </tool>