
Explore balanced translocations between two chromosomes using discordant paired-end reads.
Usage: java -jar dist/samtransloc.jar [options] Files
Usage: samtransloc [options] Files
Options:
-B, --bed
Optional BED file. SV should overlap this bed.
--chrom-regex
Only consider the chromosomes matching the following regular expression.
Default: (chr)?[0-9XY]+
--control, --controls
BAM/CRAM file that can be used as a control. I discordand reads are
found in any control, the candidate transloc is rejected. A file with
the '.list' suffix is interpreted as a file containing the path to the
bam files.
-d, --distance
Max distance between two read to test if they both end at the same ~
position. A distance specified as a positive integer.Commas are removed.
The following suffixes are interpreted : b,bp,k,kb,m,mb,g,gb
Default: 150
--exclude-bed, --exclude
skip reads pverlapping that bed file
-h, --help
print help and exit
--helpFormat
What kind of help. One of [usage,markdown,xml].
--mapq
min mapping quality.
Default: 30
-o, --output
Output file. Optional . Default: stdout
-R, --reference
For reading/writing CRAM files. Indexed fasta Reference file. This file
must be indexed with samtools faidx and with picard/gatk
CreateSequenceDictionary or samtools dict
Default: []
--version
print version and exit
${PATH}. Setting JAVA_HOME is not enough : (e.g: https://github.com/lindenb/jvarkit/issues/23 )$ git clone --recurse-submodules "https://github.com/lindenb/jvarkit.git"
$ cd jvarkit
$ ./gradlew samtransloc
The java jar file will be installed in the dist directory.
20171130
The project is licensed under the MIT license.
Should you cite samtransloc ? https://github.com/mr-c/shouldacite/blob/master/should-I-cite-this-software.md
The current reference is:
http://dx.doi.org/10.6084/m9.figshare.1425030
Lindenbaum, Pierre (2015): JVarkit: java-based utilities for Bioinformatics. figshare. http://dx.doi.org/10.6084/m9.figshare.1425030
input is a set of bam files or one file with the suffix ‘.list’ containing the path to the bams.
$ java -jar dist/jvarkit.jar samtransloc src/test/resources/HG02260.transloc.chr9.14.bam > out.json