awk -f linearizefasta.awk < input.fa
or
awk '/^>/ {printf("%s%s\t",(N>0?"\n":""),$0);N++;next;} {printf("%s",$0);} END {printf("\n");}' < input.fa
#!/bin/bash | |
# Script to run Proteowizard `msconvert` installed through Docker on Linux/MacOS systems. | |
# Parses standard command line arguments for `msconvert`. e.g. | |
# `docker-msconvert data.RAW --zlib --filter "zeroSamples removeExtra" --mz5` | |
# Requires `msconvert` Docker-container installed as on https://hub.docker.com/r/chambm/pwiz-skyline-i-agree-to-the-vendor-licenses | |
# Assumes `msconvert` is installed in an environment named 'default', replace this with the appropriate environment name. | |
# 2019 Jedd Bellamy-Carter | |
# Modify path strings for docker environment |
_________ _____ _______________ _____
\_ ___ \\ \\___________ \____ / ____\ ~/.bash/cliref.md
/ \ \/| | | || _/ __ \ __\ copy/paste from whatisdb
\ \___|__ |_|_ || | \ __/|_ | http://pastebin.com/yGmGiDQX
\________ /_____ \_||____|_ /____ /_| yunga.palatino@gmail.com
20160515 \/ 1527 \/ \/ \/
alias CLIRef.txt='curl -s "http://pastebin.com/raw/yGmGiDQX" | less -i'
# backup.sh | |
# The contents of this file are released under the GNU General Public License. Feel free to reuse the contents of this work, as long as the resultant works give proper attribution and are made publicly available under the GNU General Public License. | |
# By Arun Sori <arunsori94@gmail.com> | |
#For taking backup of the desired directory and store it at a remote place | |
#timestamp | |
time_stamp=`date` | |
#backup file name |
/* | |
* script to export data in all sheets in the current spreadsheet as individual csv files | |
* files will be named according to the name of the sheet | |
* author: Michael Derazon | |
*/ | |
function onOpen() { | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var csvMenuEntries = [{name: "export as csv files", functionName: "saveAsCSV"}]; | |
ss.addMenu("csv", csvMenuEntries); |
Now located at https://github.com/JeffPaine/beautiful_idiomatic_python.
Github gists don't support Pull Requests or any notifications, which made it impossible for me to maintain this (surprisingly popular) gist with fixes, respond to comments and so on. In the interest of maintaining the quality of this resource for others, I've moved it to a proper repo. Cheers!