<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
</head>
<body>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hello adegenet-forum-members,<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt"><br>
I wanted to use your R package adegenet to convert a dataframe into genind-class. My dataframe contains ~9800 samples (in rows) and ~87600 markers (in columns). Genotypes are coded like "AG", "TT", and so on.<br>
Example (5x5 extract):<br>
<style>
<!--
td
        {padding-top:1px;
        padding-right:1px;
        padding-left:1px;
        color:black;
        font-size:11pt;
        font-weight:400;
        font-style:normal;
        text-decoration:none;
        font-family:Calibri,sans-serif;
        vertical-align:bottom;
        border:medium none;
        white-space:nowrap}
body
        {scrollbar-base-color:undefined;
        scrollbar-highlight-color:undefined;
        scrollbar-darkshadow-color:undefined;
        scrollbar-arrow-color:undefined}
body
        {direction:ltr;
        font-family:Tahoma;
        color:#000000;
        font-size:10pt}
-->
</style>
<table cellpadding="0" cellspacing="0" width="480" border="0" style="border-collapse:collapse; width:360pt">
<colgroup><col span="6" width="80" style="width:60pt"></colgroup>
<tbody>
<tr height="20" style="height:15.0pt">
<td height="20" width="80" style="height:15.0pt; width:60pt"><br>
</td>
<td width="80" style="width:60pt">marker1</td>
<td width="80" style="width:60pt">marker2</td>
<td width="80" style="width:60pt">marker3</td>
<td width="80" style="width:60pt">marker4</td>
<td width="80" style="width:60pt">marker4</td>
</tr>
<tr height="20" style="height:15.0pt">
<td height="20" style="height:15.0pt">Samp1</td>
<td>GA</td>
<td>GA</td>
<td>AA</td>
<td>TT</td>
<td>TT</td>
</tr>
<tr height="20" style="height:15.0pt">
<td height="20" style="height:15.0pt">Samp2</td>
<td>AA</td>
<td>AA</td>
<td>CA</td>
<td>CT</td>
<td>TT</td>
</tr>
<tr height="20" style="height:15.0pt">
<td height="20" style="height:15.0pt">Samp3</td>
<td>GA</td>
<td>GA</td>
<td>CA</td>
<td>TT</td>
<td>TT</td>
</tr>
<tr height="20" style="height:15.0pt">
<td height="20" style="height:15.0pt">Samp5</td>
<td>GA</td>
<td>AA</td>
<td>CA</td>
<td>TT</td>
<td>TT</td>
</tr>
<tr height="20" style="height:15.0pt">
<td height="20" style="height:15.0pt">Samp6</td>
<td>AA</td>
<td>AA</td>
<td>AA</td>
<td>TT</td>
<td>TT</td>
</tr>
</tbody>
</table>
<br>
I have been tryingt to run the df2genind for days now (df2genind(dataframe, ploidy=as.integer(2))), but it's not finishing or maybe not working. The question is now, can your function handle such big dataframes like this or could there be another problem? (It's
 running on a quit good server, so it shouldn't be due too little sever capacity/memory.)<br>
<br>
I also tried to convert parts of the dataframe (always 5000 marker, all ~9800 individuals) to genind and use afterwords your repool-command. But here we have the problem, that the genind-classes don't have the same length in the end.<br>
<br>
I could also use PED/MAP- or .raw-files from PLINK as input, but in the end I need a genind-object!<br>
<br>
Do you have any idea how to solve this problem? <br>
<br>
Best Regards,<br>
Julia Bischof<br>
</div>
</div>
</div>
</div>
<img src="http://www.uksh.de/skin/uksh/tpl/infoportal/img/uk-sh_logo.gif"> <basefont face="Arial">
<div class="WordSection1"><br>
<p class="MsoNormal" style="margin-right:-59.4pt"><b><span style="font-size:8.0pt; color:#003764">Universitätsklinikum Schleswig-Holstein</span></b></p>
<p class="MsoNormal" style="margin-right:-59.4pt"><span style="font-size:8.0pt; color:#003764">Rechtsfähige Anstalt des öffentlichen Rechts der Christian-Albrechts-Universität zu Kiel und der Universität zu Lübeck</span></p>
<p class="MsoNormal" style="margin-right:-59.4pt"><span style="font-size:8.0pt; color:#003764"> </span></p>
<p class="MsoNormal" style="margin-right:-59.4pt"><b><span style="font-size:8.0pt; color:#003764">Vorstandsmitglieder</span></b><span style="font-size:8.0pt; color:#003764">: Prof. Dr. Jens Scholz (Vorsitzender), Peter Pansegrau, Christa Meyer</span></p>
<p class="MsoNormal" style="margin-right:-59.4pt"><b><span style="font-size:8.0pt; color:#003764">Vorsitzender des Aufsichtsrates</span></b><span style="font-size:8.0pt; color:#003764">: Rolf Fischer</span></p>
<p class="MsoNormal" style="margin-right:-59.4pt"><b><span style="font-size:8.0pt; color:#003764">Bankverbindungen:</span></b><span style="font-size:8.0pt; color:#003764">
<br>
Förde Sparkasse BLZ 210 501 70 Kto.-Nr. 100 206, IBAN: DE14 2105 0170 0000 1002 06 SWIFT/BIC: NOLA DE 21 KIE
<br>
Commerzbank AG BLZ 230 800 40 Kto.-Nr. 300 041 200, IBAN: DE17 2308 0040 0300 0412 00 SWIFT/BIC: DRES DE FF 230</p>
<br>
<p class="MsoNormal" style="margin-right:-59.4pt"><span style="font-size:8.0pt; color:#003764">Diese E-Mail enthält vertrauliche Informationen und ist nur für die Personen bestimmt, an welche sie gerichtet ist.
<br>
Sollten Sie nicht der bestimmungsgemäße Empfänger sein, bitten wir Sie, uns hiervon unverzüglich zu unterrichten und die E-Mail zu vernichten.
</span></p>
<p class="MsoNormal" style="margin-right:-59.4pt"><span style="font-size:8.0pt; color:#003764">Wir weisen darauf hin, dass der Gebrauch und die Weiterleitung einer nicht bestimmungsgemäß empfangenen E-Mail und ihres Inhalts gesetzlich verboten sind und ggf.
 Schadensersatzansprüche auslösen können.</span></p>
</div>
</span>
</body>
</html>