From bf1e83d7cd287299a0ed9f7bac0c38dbe7868614 Mon Sep 17 00:00:00 2001 From: Leonid Rozenberg Date: Fri, 26 Jan 2018 10:00:36 -0500 Subject: [PATCH 1/3] Does github need a space --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b49c705..3726596 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ one can calculate: b. Make sure that the opam packages are up to date: - $ opam update + $ opam update c. Make sure that you're on the relevant compiler: From 4c56e9ca22672f47b0a56ca22b9183cf186d94f5 Mon Sep 17 00:00:00 2001 From: Leonid Rozenberg Date: Fri, 26 Jan 2018 10:01:46 -0500 Subject: [PATCH 2/3] Github needs an extra indentation --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 3726596..6d6bf1e 100644 --- a/README.md +++ b/README.md @@ -53,21 +53,21 @@ one can calculate: c. Make sure that you're on the relevant compiler: - $ opam switch 4.05.0 - $ eval `opam config env` + $ opam switch 4.05.0 + $ eval `opam config env` d. Get source: - $ git clone https://github.com/hammerlab/prohlatype.git prohlatype - $ cd prohlatype + $ git clone https://github.com/hammerlab/prohlatype.git prohlatype + $ cd prohlatype e. Install the dependent packages: - $ make setup + $ make setup f. Build the programs (afterwards they'll be in `_build/default/src/apps`): - $ make + $ make ### Make sure that you have [IMGT/HLA](https://github.com/ANHIG/IMGTHLA) available: @@ -81,15 +81,15 @@ one can calculate: we normally do **not** have sequence information will still align (in the next filtering step), albeit poorly: - $ align2fasta path-to-imgthla/alignments -o imputed_hla_class_I.fasta + $ align2fasta path-to-imgthla/alignments -o imputed_hla_class_I.fasta This step needs to be performed only once, per each IMGT version. Run `$align2fasta --help` for further information. 2. Filter your data against the reference, by first aligning. Ex: - $ bwa mem imputed_hla_class_I.fasta ${SAMPLE}.fastq | \ - samtools view -F 4 -bT imputed_hla_class_I.fasta -o ${SAMPLE}.bam + $ bwa mem imputed_hla_class_I.fasta ${SAMPLE}.fastq | \ + samtools view -F 4 -bT imputed_hla_class_I.fasta -o ${SAMPLE}.bam While fundamentally, the algorithms here are *alignment* based. They're too slow to run for all sequences. Sequences that do not originate from @@ -97,10 +97,10 @@ one can calculate: 3. and then convert aligned reads back to FASTQ: - $ samtools fastq ${SAMPLE}.bam > ${SAMPLE}_filtered.fastq + $ samtools fastq ${SAMPLE}.bam > ${SAMPLE}_filtered.fastq 4. Infer types: - $ multi_par path-to-imgthla/aignments ${SAMPLE}_filtered.fast -o ${SAMPLE}_output.tsv + $ multi_par path-to-imgthla/aignments ${SAMPLE}_filtered.fast -o ${SAMPLE}_output.tsv See `$ multi_par --help` for further detail and optimizations. From 049569870f502596396625532cc1b571ddd17ea7 Mon Sep 17 00:00:00 2001 From: Leonid Rozenberg Date: Fri, 26 Jan 2018 10:03:48 -0500 Subject: [PATCH 3/3] Touch-up --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6d6bf1e..abb1485 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,8 @@ one can calculate: $ samtools fastq ${SAMPLE}.bam > ${SAMPLE}_filtered.fastq - 4. Infer types: + 4. Infer types (see `$ multi_par --help` for further details): - $ multi_par path-to-imgthla/aignments ${SAMPLE}_filtered.fast -o ${SAMPLE}_output.tsv + $ multi_par path-to-imgthla/aignments ${SAMPLE}_filtered.fastq -o ${SAMPLE}_output.tsv - See `$ multi_par --help` for further detail and optimizations. +