$ wget -q -O - "https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE19826&targ=self&form=xml&view=quick" |\
xsltproc biostar460606.xsl - | bash
GSM495051 !Sample_source_name_ch1 = noncancer tissue
GSM495052 !Sample_source_name_ch1 = gastric cancer tissue
GSM495053 !Sample_source_name_ch1 = noncancer tissue
GSM495054 !Sample_source_name_ch1 = gastric cancer tissue
GSM495055 !Sample_source_name_ch1 = noncancer tissue
GSM495056 !Sample_source_name_ch1 = gastric cancer tissue
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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()"/> |