-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge back 'dev' on 'master' for 1.4.0 release
- Loading branch information
Showing
32 changed files
with
2,754 additions
and
136 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,6 @@ General | |
~~~~~~~ | ||
|
||
include::general_command_lines.adoc[] | ||
|
||
include::scripts.adoc[] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[[scripts]] | ||
Bash scripts | ||
^^^^^^^^^^^^ | ||
|
||
A set of bash scripts for common tasks using igor. | ||
We can use igor-compute_pgen to calculate the Pgen of | ||
a specific sequence. | ||
|
||
[source,shell] | ||
---- | ||
igor-compute_pgen <specie> <chain> <ntsequence> | ||
---- | ||
Example | ||
|
||
[source,shell] | ||
---- | ||
igor-compute_pgen human beta actcagctttgtatttctgtgccagcagcgtagattgggacagggggcctcctacgagcagtacgtcgggccg | ||
---- | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[cols="<,<",options="header",] | ||
|======================= | ||
|Species |Chains | ||
|human |alpha, beta, heavy | ||
|mouse |beta | ||
|human |TRA (or alpha), TRB (or beta), IGH (or heavy chain), IGL (or lambda light chain), IGK (or kappa light chain) | ||
|mouse |TRB (or beta) | ||
|======================= |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* | ||
* File: CDR3SeqData.cpp | ||
* | ||
* Author: Carlos Olivares | ||
* | ||
* This source code is distributed as part of the IGoR software. | ||
* IGoR (Inference and Generation of Repertoires) is a versatile software to analyze and model immune receptors | ||
* generation, selection, mutation and all other processes. | ||
* Copyright (C) 2017- Quentin Marcou, 2019 - Carlos Olivares | ||
* | ||
* This program 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. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
#include <string> | ||
|
||
#include "CDR3SeqData.h" | ||
|
||
CDR3SeqData::CDR3SeqData() { | ||
seq_index = -1; | ||
v_anchor = -1; | ||
j_anchor = -1; | ||
CDR3nt = ""; | ||
CDR3aa = ""; | ||
} | ||
|
||
//CDR3SeqData::CDR3SeqData(int seq_index, int v_anchor, int j_anchor ) { | ||
// seq_index = seq_index; | ||
// v_anchor = v_anchor; | ||
// j_anchor = j_anchor; | ||
// CDR3nt = ""; | ||
// CDR3aa = ""; | ||
//} | ||
|
||
CDR3SeqData::CDR3SeqData(const CDR3SeqData& orig) { | ||
} | ||
|
||
CDR3SeqData::~CDR3SeqData() { | ||
} | ||
|
||
|
||
std::string CDR3SeqData::strData(){ | ||
std::string delimiter = ";"; | ||
return std::to_string(seq_index) + delimiter + | ||
std::to_string(v_anchor ) + delimiter + | ||
std::to_string(j_anchor ) + delimiter + | ||
CDR3nt + delimiter + | ||
CDR3aa; | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
/** | ||
* \class CDR3SeqData CDR3SeqData.h | ||
* \brief Class to store CDR3 information of a sequence. | ||
* \author C. Olivares | ||
* | ||
*/ | ||
|
||
#ifndef CDR3SEQDATA_H | ||
#define CDR3SEQDATA_H | ||
|
||
class CDR3SeqData { | ||
public: | ||
CDR3SeqData(); | ||
CDR3SeqData(const CDR3SeqData& orig); | ||
virtual ~CDR3SeqData(); | ||
int seq_index; | ||
int v_anchor; | ||
int j_anchor; | ||
std::string CDR3nt; | ||
std::string CDR3aa; | ||
std::string strData(); | ||
|
||
private: | ||
|
||
}; | ||
|
||
#endif /* CDR3SEQDATA_H */ | ||
|
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
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
Oops, something went wrong.