Skip to content

Instantly share code, notes, and snippets.

@spock
spock / .gitignore
Last active March 9, 2020 15:03 — forked from admackin/meshparse.py
Parse the 'desc' XML from MeSH (Medical Subject Headings) into Python objects
*.pyc
@spock
spock / prinseq-lite.pl.patch
Created February 24, 2016 10:56
quick and dirty prinseq-lite.pl (versions 0.20.3/0.20.4) patch to enable mkfifo named pipes as input files; beware, this patch disables input file format checking
diff --git a/prinseq-lite.pl b/prinseq-lite.pl
index cad531a..de1eff3 100755
--- a/prinseq-lite.pl
+++ b/prinseq-lite.pl
@@ -583,7 +583,7 @@ if(exists $params{fasta} && exists $params{fastq}) {
}
} elsif(-e $params{fasta}) {
#check for file format
- my $format = &checkFileFormat($file1);
+ my $format = &checkFileFormat($file1, 'fasta');