Skip to content

Commit 1b77a74

Browse files
authored
Merge pull request #1511 from PavlidisLab/feature-10x-filter
Add a filter for unfiltered 10x MEX data
2 parents 8bbe115 + ee9b565 commit 1b77a74

31 files changed

Lines changed: 1396 additions & 191 deletions

gemma-cli/src/main/config/bash_completion.d/gemma-cli

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,16 +451,16 @@ function __gemma_cli_complete() {
451451
fi
452452
fi
453453
if [[ " $words " =~ ' ubic.gemma.apps.SingleCellDataLoaderCli ' ]]; then
454-
if ! [[ "$current_option" =~ (--anndata-cell-type-factor-name|--anndata-sample-factor-name|--anndata-unknown-cell-type-indicator|--batch-format|--batch-output-file|--batch-report-frequency|--cell-level-characteristics-file|--cell-level-characteristics-name|--cell-type-assignment-description|--cell-type-assignment-file|--cell-type-assignment-name|--cell-type-assignment-protocol|--data-path|--data-type|--eeListfile|--excludeEEFile|--experiment|--experiment-set|--expressionQuery|--fetch-size|--platform|--quantitation-type-name|--quantitation-type-new-name|--quantitation-type-new-scale-type|--quantitation-type-new-type|--quantitation-type-recomputed-from-raw-data|--renaming-file|--sequencing-metadata-file|--sequencing-read-length|--taxon|-a|-annDataCellTypeFactorName|-annDataSampleFactorName|-annDataUnknownCellTypeIndicator|-batchFormat|-batchOutputFile|-batchReportFrequency|-clcFile|-clcName|-ctaDescription|-ctaFile|-ctaName|-ctaProtocol|-dataType|-e|-eeset|-f|-fetchSize|-p|-q|-qtName|-qtNewName|-qtNewScaleType|-qtNewType|-qtRecomputedFromRawData|-renamingFile|-sequencingMetadataFile|-sequencingReadLength|-t|-x) ]]; then
455-
mapfile -t -O "${#COMPREPLY[@]}" COMPREPLY < <(compgen -W "--anndata-cell-type-factor-name --anndata-ignore-cell-type-factor --anndata-no-transpose --anndata-sample-factor-name --anndata-transpose --anndata-unknown-cell-type-indicator --anndata-use-raw-x --anndata-use-x --batch-format --batch-output-file --batch-report-frequency --cell-level-characteristics-file --cell-level-characteristics-name --cell-type-assignment-description --cell-type-assignment-file --cell-type-assignment-name --cell-type-assignment-protocol --data-path --data-type --eeListfile --excludeEEFile --experiment --experiment-set --expressionQuery --fetch-size --help --ignore-samples-lacking-data --ignore-unmatched-cell-ids --infer-samples-from-cell-ids-overlap --load-cell-level-characteristics --load-cell-type-assignment --load-sequencing-metadata --mex-allow-mapping-design-elements-to-gene-symbols --mex-use-double-precision --no-cursor-fetch --no-streaming --platform --prefer-single-precision --preferred-cell-type-assignment --preferred-quantitation-type --quantitation-type-name --quantitation-type-new-name --quantitation-type-new-scale-type --quantitation-type-new-type --quantitation-type-recomputed-from-raw-data --renaming-file --replace --replace-cell-level-characteristics --replace-cell-type-assignment --sequencing-is-paired --sequencing-is-single-end --sequencing-metadata-file --sequencing-read-length --taxon -a -all -annDataCellTypeFactorName -annDataIgnoreCellTypeFactor -annDataNoTranspose -annDataSampleFactorName -annDataTranspose -annDataUnknownCellTypeIndicator -annDataUseRawX -annDataUseX -batchFormat -batchOutputFile -batchReportFrequency -clcFile -clcName -ctaDescription -ctaFile -ctaName -ctaProtocol -dataType -e -eeset -f -fetchSize -h -ignoreSamplesLackingData -ignoreUnmatchedCellIds -inferSamplesFromCellIdsOverlap -loadClc -loadCta -loadSequencingMetadata -mexAllowMappingDesignElementsToGeneSymbols -mexUseDoublePrecision -noCursorFetch -noStreaming -p -preferSinglePrecision -preferredCta -preferredQt -q -qtName -qtNewName -qtNewScaleType -qtNewType -qtRecomputedFromRawData -renamingFile -replace -replaceClc -replaceCta -sequencingIsPaired -sequencingIsSingleEnd -sequencingMetadataFile -sequencingReadLength -t -x" -- "$2")
454+
if ! [[ "$current_option" =~ (--anndata-cell-type-factor-name|--anndata-sample-factor-name|--anndata-unknown-cell-type-indicator|--batch-format|--batch-output-file|--batch-report-frequency|--cell-level-characteristics-file|--cell-level-characteristics-name|--cell-type-assignment-description|--cell-type-assignment-file|--cell-type-assignment-name|--cell-type-assignment-protocol|--data-path|--data-type|--eeListfile|--excludeEEFile|--experiment|--experiment-set|--expressionQuery|--fetch-size|--mex-10x-chemistry|--platform|--quantitation-type-name|--quantitation-type-new-name|--quantitation-type-new-scale-type|--quantitation-type-new-type|--quantitation-type-recomputed-from-raw-data|--renaming-file|--sequencing-metadata-file|--sequencing-read-length|--taxon|-a|-annDataCellTypeFactorName|-annDataSampleFactorName|-annDataUnknownCellTypeIndicator|-batchFormat|-batchOutputFile|-batchReportFrequency|-clcFile|-clcName|-ctaDescription|-ctaFile|-ctaName|-ctaProtocol|-dataType|-e|-eeset|-f|-fetchSize|-mexChemistry|-p|-q|-qtName|-qtNewName|-qtNewScaleType|-qtNewType|-qtRecomputedFromRawData|-renamingFile|-sequencingMetadataFile|-sequencingReadLength|-t|-x) ]]; then
455+
mapfile -t -O "${#COMPREPLY[@]}" COMPREPLY < <(compgen -W "--anndata-cell-type-factor-name --anndata-ignore-cell-type-factor --anndata-no-transpose --anndata-sample-factor-name --anndata-transpose --anndata-unknown-cell-type-indicator --anndata-use-raw-x --anndata-use-x --batch-format --batch-output-file --batch-report-frequency --cell-level-characteristics-file --cell-level-characteristics-name --cell-type-assignment-description --cell-type-assignment-file --cell-type-assignment-name --cell-type-assignment-protocol --data-path --data-type --eeListfile --excludeEEFile --experiment --experiment-set --expressionQuery --fetch-size --help --ignore-samples-lacking-data --ignore-unmatched-cell-ids --infer-samples-from-cell-ids-overlap --load-cell-level-characteristics --load-cell-type-assignment --load-sequencing-metadata --mex-10x-chemistry --mex-10x-filter --mex-allow-mapping-design-elements-to-gene-symbols --mex-no-10x-filter --mex-use-double-precision --no-cursor-fetch --no-streaming --platform --prefer-single-precision --preferred-cell-type-assignment --preferred-quantitation-type --quantitation-type-name --quantitation-type-new-name --quantitation-type-new-scale-type --quantitation-type-new-type --quantitation-type-recomputed-from-raw-data --renaming-file --replace --replace-cell-level-characteristics --replace-cell-type-assignment --sequencing-is-paired --sequencing-is-single-end --sequencing-metadata-file --sequencing-read-length --taxon -a -all -annDataCellTypeFactorName -annDataIgnoreCellTypeFactor -annDataNoTranspose -annDataSampleFactorName -annDataTranspose -annDataUnknownCellTypeIndicator -annDataUseRawX -annDataUseX -batchFormat -batchOutputFile -batchReportFrequency -clcFile -clcName -ctaDescription -ctaFile -ctaName -ctaProtocol -dataType -e -eeset -f -fetchSize -h -ignoreSamplesLackingData -ignoreUnmatchedCellIds -inferSamplesFromCellIdsOverlap -loadClc -loadCta -loadSequencingMetadata -mex10xFilter -mexAllowMappingDesignElementsToGeneSymbols -mexChemistry -mexNo10xFilter -mexUseDoublePrecision -noCursorFetch -noStreaming -p -preferSinglePrecision -preferredCta -preferredQt -q -qtName -qtNewName -qtNewScaleType -qtNewType -qtRecomputedFromRawData -renamingFile -replace -replaceClc -replaceCta -sequencingIsPaired -sequencingIsSingleEnd -sequencingMetadataFile -sequencingReadLength -t -x" -- "$2")
456456
fi
457457
if [[ "$current_option" =~ (--batch-output-file|--cell-level-characteristics-file|--cell-type-assignment-file|--data-path|--eeListfile|--excludeEEFile|--renaming-file|--sequencing-metadata-file|-batchOutputFile|-clcFile|-ctaFile|-f|-p|-renamingFile|-sequencingMetadataFile|-x) ]]; then
458458
mapfile -t -O "${#COMPREPLY[@]}" COMPREPLY < <(compgen -f -- "$2")
459459
fi
460460
fi
461461
if [[ " $words " =~ ' loadSingleCellData ' ]]; then
462-
if ! [[ "$current_option" =~ (--anndata-cell-type-factor-name|--anndata-sample-factor-name|--anndata-unknown-cell-type-indicator|--batch-format|--batch-output-file|--batch-report-frequency|--cell-level-characteristics-file|--cell-level-characteristics-name|--cell-type-assignment-description|--cell-type-assignment-file|--cell-type-assignment-name|--cell-type-assignment-protocol|--data-path|--data-type|--eeListfile|--excludeEEFile|--experiment|--experiment-set|--expressionQuery|--fetch-size|--platform|--quantitation-type-name|--quantitation-type-new-name|--quantitation-type-new-scale-type|--quantitation-type-new-type|--quantitation-type-recomputed-from-raw-data|--renaming-file|--sequencing-metadata-file|--sequencing-read-length|--taxon|-a|-annDataCellTypeFactorName|-annDataSampleFactorName|-annDataUnknownCellTypeIndicator|-batchFormat|-batchOutputFile|-batchReportFrequency|-clcFile|-clcName|-ctaDescription|-ctaFile|-ctaName|-ctaProtocol|-dataType|-e|-eeset|-f|-fetchSize|-p|-q|-qtName|-qtNewName|-qtNewScaleType|-qtNewType|-qtRecomputedFromRawData|-renamingFile|-sequencingMetadataFile|-sequencingReadLength|-t|-x) ]]; then
463-
mapfile -t -O "${#COMPREPLY[@]}" COMPREPLY < <(compgen -W "--anndata-cell-type-factor-name --anndata-ignore-cell-type-factor --anndata-no-transpose --anndata-sample-factor-name --anndata-transpose --anndata-unknown-cell-type-indicator --anndata-use-raw-x --anndata-use-x --batch-format --batch-output-file --batch-report-frequency --cell-level-characteristics-file --cell-level-characteristics-name --cell-type-assignment-description --cell-type-assignment-file --cell-type-assignment-name --cell-type-assignment-protocol --data-path --data-type --eeListfile --excludeEEFile --experiment --experiment-set --expressionQuery --fetch-size --help --ignore-samples-lacking-data --ignore-unmatched-cell-ids --infer-samples-from-cell-ids-overlap --load-cell-level-characteristics --load-cell-type-assignment --load-sequencing-metadata --mex-allow-mapping-design-elements-to-gene-symbols --mex-use-double-precision --no-cursor-fetch --no-streaming --platform --prefer-single-precision --preferred-cell-type-assignment --preferred-quantitation-type --quantitation-type-name --quantitation-type-new-name --quantitation-type-new-scale-type --quantitation-type-new-type --quantitation-type-recomputed-from-raw-data --renaming-file --replace --replace-cell-level-characteristics --replace-cell-type-assignment --sequencing-is-paired --sequencing-is-single-end --sequencing-metadata-file --sequencing-read-length --taxon -a -all -annDataCellTypeFactorName -annDataIgnoreCellTypeFactor -annDataNoTranspose -annDataSampleFactorName -annDataTranspose -annDataUnknownCellTypeIndicator -annDataUseRawX -annDataUseX -batchFormat -batchOutputFile -batchReportFrequency -clcFile -clcName -ctaDescription -ctaFile -ctaName -ctaProtocol -dataType -e -eeset -f -fetchSize -h -ignoreSamplesLackingData -ignoreUnmatchedCellIds -inferSamplesFromCellIdsOverlap -loadClc -loadCta -loadSequencingMetadata -mexAllowMappingDesignElementsToGeneSymbols -mexUseDoublePrecision -noCursorFetch -noStreaming -p -preferSinglePrecision -preferredCta -preferredQt -q -qtName -qtNewName -qtNewScaleType -qtNewType -qtRecomputedFromRawData -renamingFile -replace -replaceClc -replaceCta -sequencingIsPaired -sequencingIsSingleEnd -sequencingMetadataFile -sequencingReadLength -t -x" -- "$2")
462+
if ! [[ "$current_option" =~ (--anndata-cell-type-factor-name|--anndata-sample-factor-name|--anndata-unknown-cell-type-indicator|--batch-format|--batch-output-file|--batch-report-frequency|--cell-level-characteristics-file|--cell-level-characteristics-name|--cell-type-assignment-description|--cell-type-assignment-file|--cell-type-assignment-name|--cell-type-assignment-protocol|--data-path|--data-type|--eeListfile|--excludeEEFile|--experiment|--experiment-set|--expressionQuery|--fetch-size|--mex-10x-chemistry|--platform|--quantitation-type-name|--quantitation-type-new-name|--quantitation-type-new-scale-type|--quantitation-type-new-type|--quantitation-type-recomputed-from-raw-data|--renaming-file|--sequencing-metadata-file|--sequencing-read-length|--taxon|-a|-annDataCellTypeFactorName|-annDataSampleFactorName|-annDataUnknownCellTypeIndicator|-batchFormat|-batchOutputFile|-batchReportFrequency|-clcFile|-clcName|-ctaDescription|-ctaFile|-ctaName|-ctaProtocol|-dataType|-e|-eeset|-f|-fetchSize|-mexChemistry|-p|-q|-qtName|-qtNewName|-qtNewScaleType|-qtNewType|-qtRecomputedFromRawData|-renamingFile|-sequencingMetadataFile|-sequencingReadLength|-t|-x) ]]; then
463+
mapfile -t -O "${#COMPREPLY[@]}" COMPREPLY < <(compgen -W "--anndata-cell-type-factor-name --anndata-ignore-cell-type-factor --anndata-no-transpose --anndata-sample-factor-name --anndata-transpose --anndata-unknown-cell-type-indicator --anndata-use-raw-x --anndata-use-x --batch-format --batch-output-file --batch-report-frequency --cell-level-characteristics-file --cell-level-characteristics-name --cell-type-assignment-description --cell-type-assignment-file --cell-type-assignment-name --cell-type-assignment-protocol --data-path --data-type --eeListfile --excludeEEFile --experiment --experiment-set --expressionQuery --fetch-size --help --ignore-samples-lacking-data --ignore-unmatched-cell-ids --infer-samples-from-cell-ids-overlap --load-cell-level-characteristics --load-cell-type-assignment --load-sequencing-metadata --mex-10x-chemistry --mex-10x-filter --mex-allow-mapping-design-elements-to-gene-symbols --mex-no-10x-filter --mex-use-double-precision --no-cursor-fetch --no-streaming --platform --prefer-single-precision --preferred-cell-type-assignment --preferred-quantitation-type --quantitation-type-name --quantitation-type-new-name --quantitation-type-new-scale-type --quantitation-type-new-type --quantitation-type-recomputed-from-raw-data --renaming-file --replace --replace-cell-level-characteristics --replace-cell-type-assignment --sequencing-is-paired --sequencing-is-single-end --sequencing-metadata-file --sequencing-read-length --taxon -a -all -annDataCellTypeFactorName -annDataIgnoreCellTypeFactor -annDataNoTranspose -annDataSampleFactorName -annDataTranspose -annDataUnknownCellTypeIndicator -annDataUseRawX -annDataUseX -batchFormat -batchOutputFile -batchReportFrequency -clcFile -clcName -ctaDescription -ctaFile -ctaName -ctaProtocol -dataType -e -eeset -f -fetchSize -h -ignoreSamplesLackingData -ignoreUnmatchedCellIds -inferSamplesFromCellIdsOverlap -loadClc -loadCta -loadSequencingMetadata -mex10xFilter -mexAllowMappingDesignElementsToGeneSymbols -mexChemistry -mexNo10xFilter -mexUseDoublePrecision -noCursorFetch -noStreaming -p -preferSinglePrecision -preferredCta -preferredQt -q -qtName -qtNewName -qtNewScaleType -qtNewType -qtRecomputedFromRawData -renamingFile -replace -replaceClc -replaceCta -sequencingIsPaired -sequencingIsSingleEnd -sequencingMetadataFile -sequencingReadLength -t -x" -- "$2")
464464
fi
465465
if [[ "$current_option" =~ (--batch-output-file|--cell-level-characteristics-file|--cell-type-assignment-file|--data-path|--eeListfile|--excludeEEFile|--renaming-file|--sequencing-metadata-file|-batchOutputFile|-clcFile|-ctaFile|-f|-p|-renamingFile|-sequencingMetadataFile|-x) ]]; then
466466
mapfile -t -O "${#COMPREPLY[@]}" COMPREPLY < <(compgen -f -- "$2")

0 commit comments

Comments
 (0)