-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fixes and minor feature updates (#155)
* Added AminoAcidFrequencyDistribution report: plots a barplot of each amino acid in each position of all sequences in a dataset (any dataset type) * small fix in SequenceLengthDistribution (set output_written=False to ensure correct error message, since this report writes no data file) * Updated color palette * updated AminoAcidFrequencyDistribution to include splitting by label values * Updated docs * bugfix matches report: get subject ids * add top/bottom n and filtering to FeatureValueBarplot * Allow metrics to be computed during MLApplication if the same label is provided * small fix to make tests pass * fix: html was overwritten * bugfix: dont access _proba columns when not defined * bugfix: convert everything to string * add RepertoireClonotypeSummary report * add default params to RepertoireClonotypeSummary * add ReferenceSequenceAnnotator preprocessor * fix: make ClonesPerRepertoireFilter limits inclusive (as per docs) * imports: check explicitly if to import stop codon * imports: add log on removed seqs * add more logging for DatasetExportInstruction * support diff region type when calling CompAIRR * fix: DatasetExport result path * bugfix: make dataset from new repertoires in ClonesPerRepertoireFilter * fix: don't export field_list to metadata * add SequenceLengthFilter * fix filenames in AIRRExporter * add subject ids as a column to Matches output * add nicer feature names to MatchedSequencesEncoder * minor updates 'Report' class - allow different plot callables (useful for reports with multiple plots) - generic function for writing output tables, as this type of code is repeated in many reports * ParameterValidator: - add min_exclusive and max_exclusive (in addition to inclusive) - add assert_valid_tabular_file to check if a file exists and contains the expected columns * support seq len dist for sequence datasets * remove internal cv in outer assessment loop for sklearn * update ref seq annotator * explicitly order columns when exporting repertoires for CompAIRR * fix: receptor superclass call * fix: add missing params to CompAIRRParams in CompAIRRSequenceAbundanceEncoder * fix: column names for matching in CompAIRRSequenceAbundanceEncoder * fix: path for importing repertoire files * fix tests * fix tests and dependencies, update version * fix AIRRImport with region type --------- Co-authored-by: Lonneke Scheffer <lonsch96@live.nl> Co-authored-by: Theodor Bergersen <mtberger@uio.no>
- Loading branch information
1 parent
32a0fc5
commit 0991c63
Showing
90 changed files
with
1,537 additions
and
389 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
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
1 change: 1 addition & 0 deletions
1
immuneML/config/default_params/instructions/ml_application_params.yaml
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 +1,2 @@ | ||
number_of_processes: 4 | ||
metrics: null |
3 changes: 3 additions & 0 deletions
3
immuneML/config/default_params/preprocessing/sequence_length_filter_params.yaml
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,3 @@ | ||
min_len: 5 | ||
max_len: -1 | ||
sequence_type: amino_acid |
4 changes: 4 additions & 0 deletions
4
immuneML/config/default_params/reports/amino_acid_frequency_distribution_params.yaml
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,4 @@ | ||
imgt_positions: True | ||
relative_frequency: True | ||
split_by_label: False | ||
label: null |
1 change: 1 addition & 0 deletions
1
immuneML/config/default_params/reports/repertoire_clonotype_summary_params.yaml
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 @@ | ||
color_by_label: None |
1 change: 1 addition & 0 deletions
1
immuneML/config/default_params/reports/sequence_length_distribution_params.yaml
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 @@ | ||
sequence_type: amino_acid |
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
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
30 changes: 0 additions & 30 deletions
30
immuneML/data_model/receptor/receptor_sequence/ReceptorSequenceList.py
This file was deleted.
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
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.