gibbsR.Rd
This function creates performs motif search in peptides. It was developed to use gibbscluster on TCR CDR3 peptide sequences
gibbsR(
group = c("sudo", "docker"),
scratch.folder,
file,
resFolderCustom = "NULL",
jobName,
nCluster,
motifLength,
maxDelLength,
maxInsLength,
numbOfSeed,
penalityFactorIntCluster = 0.8,
backGroundAminoFreq = 2,
seqWeightType = 1
)
a character string. Two options: sudo or docker, depending to which group the user belongs
a character string indicating the path of the scratch folder
path to peptide file,
optional parameter. Default will store the results in fastqPath otherwise will store the results in resFolderCustom path.
identify of the sample
number of clusters to be generated
length of the motif to be searched
max length of deletions in the peptide search, expressed in number of aa
max length of insertion in the peptide search, expressed in number of aa
number of initial configurations to be used to detect the highest KLD sum
default 0.8,
two value 1 defined by uniprot and 2 defined by the dataset under analysis
sequence weighting type: default 1, faster but less precise, 2 slower but more precise, 3 none
an indexed genome compliant with 10XGenomics cellranger
if (FALSE) {
library(rCASC)
dir.create("scratch")
scratch.folder=paste(getwd(),"scratch",sep="/")
fastqPath=paste(getwd(),"fastq",sep="/")
resFolder=paste(getwd(),"resFolder",sep="/")
dir.create(resFolder)
gibbsR(group="docker",scratch.folder=scratch.folder,file=file,resFolderCustom=results,jobName="test",nCluster=8,motifLength=4,maxDelLength=4,maxInsLength=4,numbOfSeed=4,penalityFactorIntCluster=0.8,backGroundAminoFreq=2,seqWeightType=1)
newFolder=paste(results,"res",list.files(paste(results,"res",sep="/")),"cores",sep="/")
}