This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.ebi.ac.uk/efo/EFO_0003898 ankylosing spondylitis | |
http://www.ebi.ac.uk/efo/EFO_0000783 myositis | |
http://www.ebi.ac.uk/efo/EFO_1001806 macrophage activation syndrome | |
http://www.ebi.ac.uk/efo/EFO_1001807 malacoplakia | |
http://www.ebi.ac.uk/efo/EFO_1000719 juvenile dermatitis herpetiformis | |
http://www.orpha.net/ORDO/Orphanet_602 Distal myopathy, Nonaka type | |
http://www.orpha.net/ORDO/Orphanet_2841 Familial benign chronic pemphigus | |
http://www.ebi.ac.uk/efo/EFO_0005676 Autoimmune Hepatitis | |
http://www.ebi.ac.uk/efo/EFO_0009313 Linear IgA Dermatosis | |
http://www.ebi.ac.uk/efo/EFO_0000540 immune system disease |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params.directories="." | |
params.headsize=100000 | |
params.extensions="bam bai" | |
params.help=false | |
params.extrafind="" | |
params.lines = 1000 | |
params.publishDir="." | |
def helpMessage() { | |
log.info""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params.directories="." | |
params.help=false | |
params.references="" | |
params.prefix="" | |
params.publishDir="." | |
params.extrafind="" | |
references = file(params.references) | |
def helpMessage() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params.directories="." | |
params.help=false | |
params.center="Nantes" | |
params.reference="" | |
params.prefix="" | |
params.publishDir="." | |
def helpMessage() { | |
log.info""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params.prefix="output." | |
params.vcf="" | |
params.help=false | |
params.rohopts=" --rec-rate 100 --skip-indels " | |
params.pedigree = "NO_PED" | |
def helpMessage() { | |
log.info""" | |
========================================= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params.prefix="output." | |
params.bamlist="" | |
params.sites="https://github.com/brentp/somalier/files/3412453/sites.hg19.vcf.gz" | |
params.help=false | |
params.pedigree="NO_FILE" | |
def helpMessage() { | |
log.info""" | |
========================================= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gatk="/home/lindenb/packages/gatk/gatk-4.1.4.1/gatk" | |
String jvarkit(String tool) { | |
return "/home/lindenb/src/jvarkit-git/dist/"+tool+".jar"; | |
} | |
reference=file(params.reference) | |
process extractor { | |
tag "script extracting bounds" | |
cache 'lenient' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
merger() { | |
echo "merging \$1 and \$2" 1>&2 | |
ls -lah "\$1" "\$2" 1>&2 | |
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=jeter.pdf "\$1" "\$2" | |
mv jeter.pdf "\$1" | |
rm "\$2" | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding="UTF-8" ?> | |
<xsl:stylesheet | |
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' | |
version='1.0' | |
> | |
<xsl:output method="xml" encoding="UTF-8" indent="yes"/> | |
<xsl:template match="*|text()"> | |
<xsl:copy> | |
<xsl:apply-templates select="*|text()"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stream(). | |
flatMap(G->G.getTranscripts().stream()). | |
filter(T->T.getCodonStart().isPresent() && T.getCodonStop().isPresent() && T.hasStrand()). | |
forEach(T->{ | |
List<Integer> positions = new ArrayList<>(); | |
for(com.github.lindenb.jvarkit.util.bio.structure.Cds cds : T.getAllCds()) { | |
for(int x=cds.getStart();x<=cds.getEnd();++x) positions.add(x); | |
} | |
if(positions.size() <= 45) return; |