Last active
July 14, 2017 15:51
-
-
Save allenday/57813d7b6998aae5520f6ff934542cda to your computer and use it in GitHub Desktop.
bwa-http-docker service usage and output
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
# create a fastq file | |
user@host:/home/user# echo "@id | |
AGCTTTTCTATAAAATTTAACTTACATTTTTGATATCTAATAATTGATCTACTCAAGTTA | |
+ | |
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE" > /tmp/my.fq | |
# POST that file to the webserver | |
user@host:/home/user# curl --form database=human.fasta --form fastq=@/tmp/my.fq http://10.142.0.2/cgi-bin/bwa.cgi | |
# response will look something like this | |
# [...] | |
@PG ID:bwa PN:bwa VN:0.7.10-r789 CL:bwa mem /data/human.fasta /tmp/Nc22LIRneb.fq | |
id 0 JSA_0_28 1 0 60M * 0 0 AGCTTTTCTATAAAATTTAACTTACATTTTTGATATCTAATAATTGATCTACTCAAGTTA EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE NM:i:0 MD:Z:60 AS:i:60 XS:i:60 | |
user@host:/home/user# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment