Category: Code
Software Developed for our Analysis
BHEXDNA.bas – Code for DNA Forensics
fastq.sh – DNA extractor from fastq files
#!/bin/bash awk ‘NR%4==2’ $1 > 90.a awk ‘NR%4==0’ $1 > 90.q cat 90.q | grep -n [\”\’\^\$\#\@\!\%\&\*\(\)\+\] > 90.v awk ‘NR%2==0′ $1 > 90.p cat 90.q | grep -nv [\”\’\^\$\#\@\!\%\&\*\(\)\+\] > 90.n cat 90.n | cut -d’:’ -f1 > 90.m cat 90.v | cut -d’:’ -f1 > 90.w awk ‘FNR == NR { h[$1]; next …
Read the full post →“fastq.sh – DNA extractor from fastq files”
Gify.sh – Animate Graphs
#!/bin/bash convert -delay 15 $1.png -loop 0 results.gif
Graph.sh – w/GNUPlot
#!/bin/bash mv _dall3.dat.csv $1.csv gnuplot -persist <<-EOFMarker set xrange [0:10] set yrange [0:45] datafile = “$1.csv” set output “$1.png” set xlabel “Digit” set ylabel “Percent” set terminal png size 600,400 set datafile separator ‘,’ set title ‘BenfordBench.org Analysis of Election Log Time-Stamps in Delta Total Seconds’ font “,10” textcolor rgbcolor “black” set pointsize 3 plot …
BxE – Benford Analysis for Election Data > Delta 100 seconds
‘ This program for Benford Analysis was created to cater towards Election Machine Ward log files ‘ This program can run from any batch program designed to process all files ‘ by the batch specifing bxe [filename] ‘ This version of bxe does not batch by itself. Only accepts one file at a time. ‘ …
Read the full post →“BxE – Benford Analysis for Election Data > Delta 100 seconds”
Methods.sh – Election Log Data Parser
#!/bin/bash echo Benford Bench: Delta Time Stamps of Election Logs Board of Elections echo For rendering with bxe [benfordbenchXe] echo press a key to continue or ctrl+”C” to escape read a echo Processing Steps Commence: echo 1. Combine all precinct files to one Ward file in proper order. #cat < ls | grep .txt > …
BenfordBenchXc – Command Line Flag Analysis
‘This file is part of bxc/benford. ‘bxc/benford aka Benford Bench is free software: you can redistribute ‘it and/or modify it under the terms of the GNU General Public License ‘as published by the Free Software Foundation, either version 3 of the ‘License, or (at your option) any later version. ‘bxc/benford is distributed in the hope …
Read the full post →“BenfordBenchXc – Command Line Flag Analysis”