I need this command for my task but it is giving an error because of sort position. Can I use this command -sortPositions?
Memory Settings: -Xms512m -Xmx1536m
Tassel Pipeline Arguments: -importGuess all_samples_imputed_for_hapmap.plk.ped -export all_samples_imputed_for_hapmap.plk -exportType Hapmap
[main] INFO net.maizegenetics.tassel.TasselLogging - Tassel Version: 5.2.72 Date: April 8, 2021
[main] INFO net.maizegenetics.tassel.TasselLogging - Max Available Memory Reported by JVM: 1536 MB
[main] INFO net.maizegenetics.tassel.TasselLogging - Java Version: 11.0.10
[main] INFO net.maizegenetics.tassel.TasselLogging - OS: Linux
[main] INFO net.maizegenetics.tassel.TasselLogging - Number of Processors: 64
[main] INFO net.maizegenetics.pipeline.TasselPipeline - Tassel Pipeline Arguments: [-fork1, -importGuess, all_samples_imputed_for_hapmap.plk.ped, -export, all_samples_imputed_for_hapmap.plk, -exportType, Hapmap, -runfork1]
net.maizegenetics.analysis.data.FileLoadPlugin
net.maizegenetics.analysis.data.ExportMultiplePlugin
[pool-1-thread-1] INFO net.maizegenetics.plugindef.AbstractPlugin - Starting net.maizegenetics.analysis.data.FileLoadPlugin: time: Aug 25, 2021 22:53:31
[pool-1-thread-1] INFO net.maizegenetics.plugindef.AbstractPlugin -
FileLoadPlugin Parameters
format: Make Best Guess
sortPositions: false
keepDepth: true
[pool-1-thread-1] INFO net.maizegenetics.analysis.data.FileLoadPlugin - Start Loading File: all_samples_imputed_for_hapmap.plk.ped time: Aug 25, 2021 22:53:31
[pool-1-thread-1] INFO net.maizegenetics.analysis.data.FileLoadPlugin - guessAtUnknowns: type: Plink
[pool-1-thread-1] INFO net.maizegenetics.dna.snp.io.BuilderFromPLINK - Reading: all_samples_imputed_for_hapmap.plk.ped and all_samples_imputed_for_hapmap.plk.map
[pool-1-thread-1] ERROR net.maizegenetics.util.Utils - getBufferedReader: Error getting reader for: all_samples_imputed_for_hapmap.plk.map
[pool-1-thread-1] INFO net.maizegenetics.plugindef.AbstractPlugin -
Usage:
FileLoadPlugin <options>
-format <Format> : Import file format [SqrMatrix, Sequence, Unknown, Fasta, Hapmap, HapmapLIX, Plink, Phenotype, ProjectionAlignment, ProjectPCsandRunModelSelection, Phylip_Seq, Phylip_Inter, Table, Serial, HapmapDiploid, Newick, VCF, HDF5, TOPM, HDF5Schema, Filter, NumericGenotype, TaxaList, PositionList, SqrMatrixRaw, SqrMatrixBin, GOBII, Depth, ReferenceProbability, Report, PlinkPhenotype, SqrMatrixDARwinDIS, Avro, Flapjack] (Default: Make Best Guess)
-sortPositions <true | false> : Whether to sort genotype positions if that's possible. (Default: false)
-keepDepth <true | false> : Whether to keep depth if that's possible. (Default: true)
Without .plk option, it can parse the command but without header in the hapmap file. So only map file is causing the issue.