# HG changeset patch # User yhoogstrate # Date 1439475559 14400 # Node ID 263581d4dd90ace74cfde95234cd45bfb6ecca5a # Parent 22a09104afcc60ac8aa584437f322157cf38aeec planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/crossmap_galaxy_wrapper commit 74570ff45544cfe08ef65d0b712f8d44da6f545c diff -r 22a09104afcc -r 263581d4dd90 crossmap.xml --- a/crossmap.xml Thu Aug 13 07:52:11 2015 -0400 +++ b/crossmap.xml Thu Aug 13 10:19:19 2015 -0400 @@ -2,16 +2,17 @@ Convert genome coordinates or annotation files between genome assemblies + ucsc_tools crossmap - CrossMap.py 2>&1 | head -n 1 | grep -E --only-matching 'CrossMap.*' - - + + CrossMap.py 2>&1 | head -n 1 | grep -E --only-matching 'CrossMap.*' + CrossMap.py ${multiple.input_format.replace("sam","bam")} @@ -47,6 +48,9 @@ #else if $multiple.input_format in ["vcf"] ; mv "${output}" "$output" ; mv "${output}.unmap" "$output_unmapped" + #else if $multiple.input_format in ["wig", "bigwig"] + ; mv "${output}.bw" "$output" + ; mv "${output}.sorted.bgr" "$output2" #end if @@ -178,6 +182,8 @@ + + @@ -290,6 +296,8 @@ + + @@ -303,7 +311,7 @@ - + @@ -311,11 +319,13 @@ input_format in ["bam" , "vcf"] - - - - + + + + input_format in ["wig"] + + @@ -371,15 +381,24 @@ - - + - + @@ -388,7 +407,7 @@ - + @@ -405,10 +424,19 @@ - - - + + + + + + + + + + + + CrossMap is versatile tool to convert genome coordinates or annotation files between genome assemblies. It supports mostly commonly used file types, including BAM, BED,BigWig, GFF, diff -r 22a09104afcc -r 263581d4dd90 test-data/test_bam_01_output_a.sam --- a/test-data/test_bam_01_output_a.sam Thu Aug 13 07:52:11 2015 -0400 +++ b/test-data/test_bam_01_output_a.sam Thu Aug 13 10:19:19 2015 -0400 @@ -5,7 +5,7 @@ @SQ SN:chr3 LN:199501827 @SQ SN:chr4 LN:191273063 @PG ID:- VN:1.0.0 CL:cmatrix -@PG ID:CrossMap VN:0.1.10 +@PG ID:CrossMap VN:0.2 @CO Test data for CrossMap bam @CO Liftover from original BAM/SAM file: @CO Liftover is based on the chain file: diff -r 22a09104afcc -r 263581d4dd90 test-data/test_bigwig_01_input_a.bw Binary file test-data/test_bigwig_01_input_a.bw has changed diff -r 22a09104afcc -r 263581d4dd90 test-data/test_bigwig_01_output_a.bw Binary file test-data/test_bigwig_01_output_a.bw has changed diff -r 22a09104afcc -r 263581d4dd90 test-data/test_bigwig_01_output_a.sorted.bgr --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test_bigwig_01_output_a.sorted.bgr Thu Aug 13 10:19:19 2015 -0400 @@ -0,0 +1,3 @@ +chr1 889863 989862 110.0 +chr2 890000 989999 220.0 +chr3 875000 974999 330.0 diff -r 22a09104afcc -r 263581d4dd90 test-data/test_wig_01_input_a.wig --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test_wig_01_input_a.wig Thu Aug 13 10:19:19 2015 -0400 @@ -0,0 +1,10 @@ +variableStep chrom=chr1 span=900000 +100000 110 +variableStep chrom=chr2 span=900000 +100000 220 +variableStep chrom=chr3 span=900000 +100000 330 +variableStep chrom=chr4 span=50000 +9200000 400 +variableStep chrom=chr4 span=60000 +8940000 450 diff -r 22a09104afcc -r 263581d4dd90 test-data/test_wig_01_output_a.bw Binary file test-data/test_wig_01_output_a.bw has changed diff -r 22a09104afcc -r 263581d4dd90 test-data/test_wig_01_output_a.sorted.bgr --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test_wig_01_output_a.sorted.bgr Thu Aug 13 10:19:19 2015 -0400 @@ -0,0 +1,2 @@ +chr2 89999 989999 220.0 +chr3 74999 974999 330.0 diff -r 22a09104afcc -r 263581d4dd90 tool_dependencies.xml --- a/tool_dependencies.xml Thu Aug 13 07:52:11 2015 -0400 +++ b/tool_dependencies.xml Thu Aug 13 10:19:19 2015 -0400 @@ -1,5 +1,8 @@ + + +